There is plenty of information on this and the fix of setting autoplay or autostart to false seems simple.
Only it doesn't work for me at all, have tried every combination can think of.
I am embedding video in layer slider slide in wordpress and the video playing is stopping slide from transition to the next one.
Any help would be appreciated.
Below are some examples of various ways I've tried to make it work. It is the same issue on chrome as on safari, and mobile
<iframe width="560" height="315" src="https://www.youtube.com/embed/PhCLPGg2WOM?autoplay=0” frameborder="0" allowfullscreen=“></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/PhCLPGg2WOM?autoplay=false" type="audio/mpeg" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/tUJJv0EZSuI" frameborder="0" allowfullscreen autoplay="0" autostart="0" type="audio/mpeg"></iframe>
Go to slider settings, and turn off the autoplay mode under "Video" section. since it is not working on the code it self. Check the link given below, will be useful.
https://wordpress.org/support/topic/stopping-autoplay-on-iframe-videos/
I have done some research on your problem, however I don't personally have a WordPress premium account of which I can test. So, what I do know is that your disable auto-play code does work on Chrome in a normal HTML setting. I found this link that might help:
https://www.youtube.com/watch?v=26QOdyxeYfY
However, it looks like you might have already tried that solution. I have also found another link (http://www.kriesi.at/support/topic/layerslider-youtube-video-autoplay-issue/) that says that the LayerSlider plugin has its own auto play settings under Slider Settings>video.
I hope this helps!
The Layer Slider plugin has its own slider settings for each slider. Go to the Slider Settings > videos, and under videos tab turn off the Automatically play videos options.
Edit the slider then go to Global Settings. Go to Slideshow panel and turn off “Automatically play videos” option.
Remove autoplay=0 and try it out in your embed url at the end there is autoplay=0 or other numbers remove it and try it out
Related
I am very ignorant in this area. I wanted to embed a video in my website. I just went on w3schools and copy-pasted the example code.
<iframe width="420" height="315"
src="http://www.youtube.com/embed/XGSy3_Czz8k?autoplay=1">
</iframe>
Why does the video than not show in the website? I am using Google Chrome.
EDIT:
The problem was that I was using the real youtube address instead the URL for embedding.
it's actually works perfectly, checkout the other code, may be the iframe is hidden by any other controls
I used the default YouTube iFrame for my website. My users have said that upon entering the web app, it redirects them to youtube. I find this annoying for me and for my users.
Is there any way I can stop this from happening?
Here is the code that is causing the YouTube app to open:
<iframe width="560" height="315" src="https://www.youtube.com/embed/wCtedSNYBLc?rel=0&controls=0&showinfo=0" frameborder="0" allowfullscreen></iframe>
The site this is on can be found here.
You can use "playsinline" parameter to play the video inline instead.
<center>
<iframe width="420" height="315" src="//www.youtube.com/embed/BrI7VRfqgo4" frameborder="0" allowfullscreen></iframe>
I know its been posted around, but nothing's been working for me at the moment. I have HTML website and trying to put the html video youtube embed code, but its not working for me.
My site is online, very simple html.. And it has http in the video embed code as well..
I tried a lot, but cant get it working in any way.
Regards
You have to enable embedding first before the embed code will work from other websites.
Log in to https://www.youtube.com/my_videos?o=U
Click Edit on the video you want to embed
Click on Advanced Settings in the tab below
Click Allow Embedding to enable it under the Distribution options section.
Click Save Changes to save the new configuration.
Now your embed link is ready to be embedded on other websites!
<p align="left">
<object height="385" width="640">
<embed src="http://www.youtube.com/v/LsEU_93SC4c&rel=0?fs=1&hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="385" width="640">
</object>
</p>
Change the third line to your video number/name.
I don'tknow it it can be of any help.
I needed just the audio, so I changed height to "0" and width to"0" and it works on IE and Firefox.
It doesn't work with Chrome and Opera.
Here the simple link.
Just insert it as it is. I inserted it at the bottom of the page before
or go to my age and see if how it works:
https://www.carniaexpress.com/friuli-per-gruppi/raduno-alpini-triveneto-tolmezzo
If you wish to see the video just change height and width...
I need to embed a video in my project and I need to have a code for that so that it do not display any suggested videos at the end, and I need it it to be autoplayed when the page launches.
This is the URL of the video
Can I get help in this please?
just uncheck the box that has "suggested videos" and then copy and paste the code and it should work fine. Have a Blessed day.
Try this
<iframe width="560" height="315" src="http://www.youtube.com/embed/1WCxuHDfyUo?rel=0&autoplay=1" frameborder="0" allowfullscreen></iframe>
i've been working on a toolbar at the top of my sample website:
http://theplagueround.com/dev/
but it gets hidden behind any youtube video content. i've seen a post or two about adding parameters to the tag, but youtube is also using iframes now so that doesn't apply.
You may want to try my plugin for Youtube (4000+ downloads so far): Youtube shortcode
No design issues have been reported.
To have a Youtube video appear behind your toolbar, you should add the parameter wmode=transparent to the end of the URL.
So change this:
<iframe width="425" height="349"
src="http://www.youtube.com/embed/H1Opn4DS88k"
frameborder="0" allowfullscreen></iframe>
to this:
<iframe width="425" height="349"
src="http://www.youtube.com/embed/H1Opn4DS88k?wmode=transparent"
frameborder="0" allowfullscreen></iframe>
More here:
http://www.brandondawson.org/web-design/new-youtube-iframe-embed-code-wmodetransparent
If you don't want to hardcode the HTML into your posts, you should use a plugin like the one provided by #Tubal Martin. This has the advantage that if Youtube update their embed code in the future, you should only need to upgrade the plugin to the latest version.