Re: [libreoffice-website] Fullscreen mode for embedded videos on LO site, New Features page?

2016-03-05 Thread Christian Lohmaier
Hi Mike, *,

On Wed, Mar 2, 2016 at 4:04 PM, Mike Saunders
 wrote:
> Hi there,
>
> Thanks to whoever embedded my 5.1 New Features videos on here:
> http://www.libreoffice.org/discover/new-features/
>
> We were just talking on the German list about the full-screen button
> (bottom-right) being disabled for the videos. Was this done deliberately for
> a specific reason?

No, the HTML-editor used by silverstripe uses a whitelist of allowed
tags and attributes, and allowfullscreen was not listed, so it was
stripped before being saved to the database.

I updated the configuration so tinyMCE (the editor) now doesn't strip
the allowfullscreen attribute anymore, and updated the new-features
site mentioned above accordingly.

ciao
Christian

-- 
To unsubscribe e-mail to: website+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/website/
All messages sent to this list will be publicly archived and cannot be deleted


[libreoffice-website] Fullscreen mode for embedded videos on LO site, New Features page?

2016-03-02 Thread Mike Saunders

Hi there,

Thanks to whoever embedded my 5.1 New Features videos on here: 
http://www.libreoffice.org/discover/new-features/


We were just talking on the German list about the full-screen button 
(bottom-right) being disabled for the videos. Was this done deliberately 
for a specific reason?


It may help if viewers can switch the vids to full-screen without having 
to go via YouTube, and enabling this is a simple case of adding 
"allowfullscreen" to the "iframe" tag like this:


src="https://www.youtube.com/embed/g2_ySAlHqPo?list=PL0pdzjvYW9RHSwdRnZfaxAWICrkBrQl7k; 
width="560" height="315" frameborder="0">


Thanks!

--
Mike Saunders, Marketing Assistant
The Document Foundation

--
To unsubscribe e-mail to: website+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/website/
All messages sent to this list will be publicly archived and cannot be deleted