phaidon / LuMicuLa

A lightweight markup language editor for Zikula
5 stars 1 forks source link

YouTube player display #15

Closed damon18 closed 12 years ago

damon18 commented 12 years ago

When I enabled the YouTube BBCode button the video appeared and played correctly, but the player messed up the html code on the post so that the edit-quote-mod buttons don't appear, so the post can't be edited or replied to with quote.

phaidon commented 12 years ago

I can reproduce it. I will fix it.

damon18 commented 12 years ago

Thanks for the fix, works for me on Dizkus 3.2 and Zikula 1.3.2

I modified the YouTube array to prevent the video from showing relatedm videos at the end and instead loops back to the beginning.

'youtube' => array( 'begin' => '<embed src="http://www.youtube.com/v/', 'end' => '?version=3&autoplay=1&rel=0" type="application/x-shockwave-flash" allownetworking="internal wmode="transparent" width="640" height="390">' )

It would be good if the Iframe method could work since that give the ability for the videos to be viewed on mobile devices. http://brianwong.com/blog/2012-youtube-embed-code-autoplay-on-and-all-other-parameters/