using video youtube as a source
-
I use the pro version with Elementor Pro, how can I use YouTube as a source? If I use ‘custom url’ it does not work
-
Hey @formitoni !
In order to use a YouTube video, your custom url should look like this:https://www.youtube.com/embed/youtube_video_IDThank you for trying to help me, but unfortunately this format does not work, do you have any other suggestions? Can you please create an example url for this specific video?
https://youtu.be/paEtPqFGz3k
It should be:
https://www.youtube.com/embed/paEtPqFGz3k
but although the url works in the browser, it does not work in your plugin and so the frame remains emptyHere’s an example from the demo site settings:
https://prnt.sc/eeUtHVqlSXikMake sure you select
iFramefor Media Type.-
This reply was modified 1 year, 12 months ago by
Bogdan Bendziukov.
OK, I was using ‘video’ instead of ‘iframe’. However, this way I cannot activate the autoplay and hide the YouTube commands or even use the loop. Is there a way to have a YouTube video with autoplay, hidden controls and loop?
Just put
?autoplay=1&loop=1&controls=0in the url the video will be autoplayed, looped and without controls.So your url would be:
https://www.youtube.com/embed/JW5meKfy3fY?autoplay=1&loop=1&controls=0.OK, thank you. This works for hiding commands, but it does not work for autoplay and looping. That is, if you use the url format as in the example: https://www.youtube.com/embed/paEtPqFGz3k?autoplay=1&loop=1&controls=0 It works perfectly in a browser, in the address bar, but it does not work in the site page.
Can you provide a link to the page where you’re trying to add the youtube video?
https://puzzleproject.net/en/portfolio_page/alberto-bianchi-partners/
As you can see, on this page, your url https://www.youtube.com/embed/paEtPqFGz3k?autoplay=1&loop=1&controls=0 works as far as hiding the commands is concerned, but neither autoplay nor loop works.-
This reply was modified 1 year, 12 months ago by
SimoTono.
Try to add
&mute=1as well.OK, maybe this is it. Everything seems to be going well now.
I will test with various browsers and other pages and then close the ticket. Thank you for what you have done so far. Sorry, maybe you should modify the plugin and insert some automatic command that does all this that you have dictated to me nowHmm, try to add
&playlist=YOUTUBE_VIDEO_ID, hope that will help 🙂Glad to hear 🙂
Thanks for help
-
This reply was modified 1 year, 12 months ago by
The topic ‘using video youtube as a source’ is closed to new replies.