Skip to content

Commit 4cc89f9

Browse files
committed
Update demo youtube URL
1 parent 4475788 commit 4cc89f9

21 files changed

Lines changed: 10 additions & 24 deletions

File tree

event/main_listener.php

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
*/
2626
class main_listener implements EventSubscriberInterface
2727
{
28+
/** @var string A link to a rich content media site for demo purposes */
29+
public const MEDIA_DEMO_URL ='https://youtu.be/Ne18ZQ7LLI0';
30+
2831
/** @var auth */
2932
protected $auth;
3033

@@ -193,14 +196,14 @@ public function media_embed_help($event)
193196
]);
194197

195198
$uid = $bitfield = $flags = '';
196-
$demo_text = $demo_text_parsed = $this->language->lang('HELP_EMBEDDING_MEDIA_DEMO');
197-
generate_text_for_storage($demo_text_parsed, $uid, $bitfield, $flags, true, true);
198-
$demo_display = generate_text_for_display($demo_text_parsed, $uid, $bitfield, $flags);
199+
$demo_text = self::MEDIA_DEMO_URL;
200+
generate_text_for_storage($demo_text, $uid, $bitfield, $flags, true, true);
201+
$demo_display = generate_text_for_display($demo_text, $uid, $bitfield, $flags);
199202
$list_sites = implode(', ', $this->get_siteIds());
200203

201204
$this->template->assign_block_vars('faq_block.faq_row', [
202205
'FAQ_QUESTION' => $this->language->lang('HELP_EMBEDDING_MEDIA_QUESTION'),
203-
'FAQ_ANSWER' => $this->language->lang('HELP_EMBEDDING_MEDIA_ANSWER', $demo_text, $demo_display, $list_sites),
206+
'FAQ_ANSWER' => $this->language->lang('HELP_EMBEDDING_MEDIA_ANSWER', self::MEDIA_DEMO_URL, $demo_display, $list_sites),
204207
]);
205208
}
206209
}

language/ar/help.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,4 @@
5252
<br /><br />للمزيد من المعلومات والأمثلة للمواقع المدعومة,
5353
انقر على هذا الرابط <a href="https://s9etextformatter.readthedocs.io/Plugins/MediaEmbed/Sites/">
5454
معلومات إدراج مُحتوى الوسائط</a>.',
55-
'HELP_EMBEDDING_MEDIA_DEMO' => 'https://youtu.be/QH2-TGUlwu4',
5655
]);

language/cs/help.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,4 @@
4848
<br /><br />Tyto stránky jsou podporovány:<br /><samp>%3$s.</samp>
4949
<br /><br />Pro kompletní dokumentaci podporovaných tránek a příklady URL navštivte <a href="https://s9etextformatter.readthedocs.io/Plugins/MediaEmbed/Sites/">
5050
MediaEmbed Plugin dokumentace</a>.',
51-
'HELP_EMBEDDING_MEDIA_DEMO' => 'https://youtu.be/QH2-TGUlwu4',
5251
]);

language/da/help.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,4 @@
5151
<br /><br />Besøg <a href="https://s9etextformatter.readthedocs.io/Plugins/MediaEmbed/Sites/">
5252
dokumentationen til MediaEmbed Plugin</a> for fuld dokumentation på understøttede steder og
5353
URL\'er med eksempler.',
54-
'HELP_EMBEDDING_MEDIA_DEMO' => 'https://youtu.be/QH2-TGUlwu4',
5554
]);

language/de/help.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,4 @@
5151
<br /><br />Für eine komplette Dokumentation der unterstützen Seiten und Beispiel URLs,
5252
besuche die <a href="https://s9etextformatter.readthedocs.io/Plugins/MediaEmbed/Sites/">
5353
MediaEmbed Plugin Documentation</a>.',
54-
'HELP_EMBEDDING_MEDIA_DEMO' => 'https://youtu.be/QH2-TGUlwu4',
5554
]);

language/en/help.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,4 @@
5151
<br /><br />For complete documentation on supported sites and example URLs,
5252
visit the <a href="https://s9etextformatter.readthedocs.io/Plugins/MediaEmbed/Sites/">
5353
MediaEmbed Plugin Documentation</a>.',
54-
'HELP_EMBEDDING_MEDIA_DEMO' => 'https://youtu.be/QH2-TGUlwu4',
5554
]);

language/es/help.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,4 @@
5151
<br /><br />Para obtener una documentación completa sobre los sitios admitidos, y las URL de ejemplo,
5252
visite la <a href="https://s9etextformatter.readthedocs.io/Plugins/MediaEmbed/Sites/">
5353
Documentación del PlugIn MediaEmbed</a>.',
54-
'HELP_EMBEDDING_MEDIA_DEMO' => 'https://youtu.be/QH2-TGUlwu4',
5554
]);

language/es_x_tu/help.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,4 @@
5151
<br /><br />Para obtener una documentación completa sobre los sitios admitidos, y las URL de ejemplo,
5252
visite la <a href="https://s9etextformatter.readthedocs.io/Plugins/MediaEmbed/Sites/">
5353
Documentación del PlugIn MediaEmbed</a>.',
54-
'HELP_EMBEDDING_MEDIA_DEMO' => 'https://youtu.be/QH2-TGUlwu4',
5554
]);

language/et/help.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,4 @@
5050
<br /><br />Toetatud on järgmised veebilehed:<br /><samp>%3$s.</samp>
5151
<br /><br />Et näha täielikku dokumentatsiooni toeatatutest lehekülgedest, ning näidis aadressidest, palun külasta <a href="https://s9etextformatter.readthedocs.io/Plugins/MediaEmbed/Sites/">
5252
lehekülge</a>.',
53-
'HELP_EMBEDDING_MEDIA_DEMO' => 'https://youtu.be/QH2-TGUlwu4',
5453
]);

language/fr/help.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,4 @@
5252
<br /><br />Une documentation complète à propos des services et des exemples d’adresses URL pris en charge,
5353
est disponible depuis la page : <a href="https://s9etextformatter.readthedocs.io/Plugins/MediaEmbed/Sites/">
5454
Sites pris en charges par le plugin MediaEmbed</a>.',
55-
'HELP_EMBEDDING_MEDIA_DEMO' => 'https://youtu.be/QH2-TGUlwu4',
5655
]);

0 commit comments

Comments
 (0)