Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

YouTube / Vimeo etc: no fullscreen for embedded player


Go to End


4474 Views

Avatar
Anatol

126 Posts

22 December 2008 at 3:25pm

Hi,

I embedded YouTube and Vimeo videos on my site. I just noticed that the fullscreen feature of both players is stripped out by TinyMCE. I usually did adjustments in [blue]/cms/javascript/tinymce.template.js[/blue] to fix these things but this time I can't find a proper way to allow the fullscreen parameter. Here is an example:

Original code (Vimeo):

<object width="424" height="320">
	<param name="allowfullscreen" value="true" />
	<param name="allowscriptaccess" value="always" />
	<param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2595275&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" />
	
	<embed src="http://vimeo.com/moogaloop.swf?clip_id=2595275&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="424" height="320">
	</embed>
</object>

after saving this in TinyMCE:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="424" height="320">
	<param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2595275&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" />
	<param name="quality" value="high" />
	<param name="menu" value="false" />
	<param name="wmode" value="transparent" />
	
	<embed src="http://vimeo.com/moogaloop.swf?clip_id=2595275&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" wmode="transparent" quality="high" menu="false" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="424" height="320">
	</embed>
</object>

If anyone knows how to fix this it would be great if you could post how to.

Cheers!
Anatol