There need to be additional parameters in the HTML for allowing fullscreen. I have included a diff. to include the fullscreen button. Mayhaps this could be a parameter.

- '#\[youtube\]([0-9a-zA-Z_\-]+)\[/youtube\]#si' => '

',
+ '#\[youtube\]([0-9a-zA-Z_\-]+)\[/youtube\]#si' => '

',

Comments

Andymeows’s picture

looks like that didn't work like I thought it would.

-    '#\[youtube\]([0-9a-zA-Z_\-]+)\[/youtube\]#si'                 => '<object width="425" height="366"><param name="movie" value="http://www.youtube.com/v/\\1"></param><embed src="http://www.youtube.com/v/\\1" type="application/x-shockwave-flash" width="425" height="366"></embed></object>',
+    '#\[youtube\]([0-9a-zA-Z_\-]+)\[/youtube\]#si'                 => '<object width="425" height="366"><param name="movie" value="http://www.youtube.com/v/\\1?fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/\\1?fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="366"></embed></object>',
naudefj’s picture

Status: Patch (to be ported) » Needs work

Were you able to get this to work? If not, please close this ticket.

jordanmagnuson’s picture

Status: Needs work » Closed (duplicate)