forked from leftypol/leftypol
Fix embed url
This commit is contained in:
parent
b3c881231f
commit
635537fd74
1 changed files with 2 additions and 2 deletions
|
@ -373,7 +373,7 @@ $config['youtube_js_html']
|
||||||
. '</a></div>';
|
. '</a></div>';
|
||||||
|
|
||||||
$config['ogg_embed_html']
|
$config['ogg_embed_html']
|
||||||
= '<figure><audio controls src="$2">'
|
= '<figure><audio controls src="$1">'
|
||||||
. 'Your browser does not support the'
|
. 'Your browser does not support the'
|
||||||
. '<code>audio</code> element.</audio></figure>';
|
. '<code>audio</code> element.</audio></figure>';
|
||||||
|
|
||||||
|
@ -386,7 +386,7 @@ $config['embedding'][0] =
|
||||||
);
|
);
|
||||||
$config['embedding'][1] =
|
$config['embedding'][1] =
|
||||||
array(
|
array(
|
||||||
'/^https?:\/\/.*\.ogg$/i',
|
'/^(https?:\/\/.*\.ogg)$/i',
|
||||||
$config['ogg_embed_html']
|
$config['ogg_embed_html']
|
||||||
);
|
);
|
||||||
$config['additional_javascript'][] = 'js/youtube.js';
|
$config['additional_javascript'][] = 'js/youtube.js';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue