Jump to:

5537 Posts in 1737 Topics by 1223 members

Customising the CMS

SilverStripe Forums » Customising the CMS » YouTube / Vimeo etc: no fullscreen for embedded player

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

Page: 1
Go to End
Author Topic: 3401 Views
  • Anatol
    126 Posts

    YouTube / Vimeo etc: no fullscreen for embedded player Link to this post


    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">

    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">

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


Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.