Developer forum

Forum » CMS - Standard features » Youtube video full screen

Youtube video full screen

Manon Wekking
Reply

Hi, 

We added a youtube video via a paragraph with the iFram function. We want to add the fullscreen function so we added: 

<iframe width="780" height=428" src="//www.youtube.com/embed/oR-6N1Dc_zc" frameborder="0" allowfullscreen><i/frame> 

The url is just an example. We also tried is with allowfullscreen="true". If we save the page and and then edit it again, the allowfunscreen code is gone and and the widht moved to the end. 

See also my attachments. Do you have any idea why it is gone after saving and is there a way to let the video show on fullscreen?

Hope to hear from you. 

BR,

Manon Wekking

Brondocde_changed_after_saving.png IFrame_youtube_video.png

Replies

 
Morten Bengtson Dynamicweb Employee
Morten Bengtson
Reply

Hi Manon,

I believe this has something to do with limitations of the text editor (CKEditor).
Instead you can create an item type with a link field and then implement a template which contains the markup for the iframe.

Best regards,
Morten 

 

You must be logged in to post in the forum