Skip to content

Commit

Permalink
[pukiwiki.ini] add "rel=0" into youtube IFRAME
Browse files Browse the repository at this point in the history
  • Loading branch information
nao-pon committed Apr 3, 2013
1 parent 5458e07 commit 651e10e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xoops_trust_path/modules/xpwiki/ini/pukiwiki.ini.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
$const['PLUGIN_REF_NETVIDEOS']['youtube'] = array(
'regex' => '#^https?://(?:www\.youtube\.com/watch\?.*?v=|youtu.be\/)([0-9a-z_-]+)#i',
'type' => 'html',
'src' => '<iframe class="youtube-player" type="text/html"$size src="http://www.youtube.com/embed/$1?wmode=transparent&amp;autohide=1" frameborder="0"><noiframe>$link</noiframe></iframe>',
'src' => '<iframe class="youtube-player" type="text/html"$size src="http://www.youtube.com/embed/$1?wmode=transparent&amp;autohide=1&amp;rel=0" frameborder="0"><noiframe>$link</noiframe></iframe>',
'src_keitai'=> '$link',
'width' => 480,
'height' => 270,
Expand Down

0 comments on commit 651e10e

Please sign in to comment.