fonini / ckeditor-youtube-plugin

CKEditor Plugin to embed Youtube videos.
https://fonini.github.io/youtube-plugin-for-ckeditor-4.html
Do What The F*ck You Want To Public License
51 stars 61 forks source link

How to make it autoplay? #101

Open pcintav opened 2 years ago

pcintav commented 2 years ago

I tried to embed the youtube video and hopefully the video autoplay, like: https://www.youtube.com/embed/xxxxxxxxxxxxx (the video showed up but not autoplay) https://www.youtube.com/embed/xxxxxxxxxxxxx?autoplay=1 (the video not showed up/blank/black because the URL converted automatically to https://www.youtube.com/embed/ without the video ID) https://www.youtube.com/watch?v=xxxxxxxxxxx?autoplay=1 (the video not showed up/blank/black because the URL also converted to https://www.youtube.com/embed/ without the video ID) https://www.youtube.com/watch?v=xxxxxxxxxx&autoplay=1 (the video showed up and the URL also converted to https://www.youtube.com/embed/xxxxxxxxx BUT STILL NOT autoplay)

any idea how to make it autoplay? hanks

timinformatica commented 2 years ago

Not related specifically to this plugin, but for what I know the autoplay start only if you set "muted". Something like this: autoplay=1&mute=1

pcintav commented 2 years ago

@timinformatica so this plugin just for embedding with no autoplay feature or other youtube supported feature?