Today I found that my youtube videos embeded in iframe does not autoplay
for example.
http://www.youtube.com/embed/U3NVhtUhMbM?autoplay=1
is the autplay deprecated?
plus previously when pressing share button on youtube, it had autoplay parameter, now it's gone
There is a known issue with YouTube API.
Star this issue to get updates on it.
Related
On my webpage there is only a video. It is playing well on Edge but not on Mobile Device and Chrome.
the video is .mp4
autoplay is disabled
I am using OceanWP theme but I tried also Astra theme without any success
I am using Elementor to edit the page
There are many questions on this topic but none of them has a solution that fixes my problem.
EDIT
From the official Apple WebKit documentation (iOS):
Starting in iOS 10, WebKit relaxes its inline and autoplay policies to
make these presentations possible, but still keeps in mind sites’
bandwidth and users’ batteries.
By default, WebKit will have the following policies:
video elements will be allowed to autoplay without a user gesture if their source media contains no audio tracks.
video muted elements will also be allowed to autoplay without a user gesture. If a element gains an audio track or becomes un-muted without a user gesture, playback will pause.
https://webkit.org/blog/6784/new-video-policies-for-ios/
As for Mobile Chrome (Android):
Muted autoplay for video is supported by Chrome for Android as of
version 53. Playback will start automatically for a video element once
it comes into view if both autoplay and muted are set, and playback of
muted videos can be initiated progamatically with play(). Previously,
playback on mobile had to be initiated by a user gesture, regardless
of the muted state.
https://developers.google.com/web/updates/2016/07/autoplay
Example:
<video id="myVideo"muted defaultMuted autoplay playsinline controls>
<source src="myVideo.mp4" type="video/mp4">
</video>
Your video preview shows the video file is not working. You should see a thumbnail of the video file such as this:
I'm not sure why, but it could be that the file on the server was moved/renamed/deleted since you added the video to this page. One explanation it is working on Edge but not mobile is perhaps the image was cached previously on the Edge browser.
If you remove the image and try to re-add it through Elementor, can you reproduce the problem?
Another idea is you may have a slightly corrupted video file. Try editing it in any video-editing program (several free online ones) and see if exported file works in your page.
I am using fvplayer plugin for video display in my wordpress site. I have uploaded a video but it is displaying in "MUTE" condition. And i want it to be played "UNMUTE", What should I do? Please share some solution. Below is the screenshot of my fvplayer setting.
You may try to unmute via JS.
i think its muted by default in Wordpress.
This link might help you.
a link
Even Though it is for Youtube Videos.
I contacted their support team and they told me that "Google chrome has restricted autoplay video sound, so google chrome itself mute it." So I removed autoplay in the video and it is perfectly playing when played manually.
there is the problem with the browser that if you unmute the video them it can autoplay but if it is not muted it does not start automatically.
Try to change the chrome to firefox. I think their Spyder Monkey can support autoplay instead of V8 from Google
Very strange. I uploaded the video in all three formats: .mp4, .ogv & .webm. It just won't play in chrome. In Safari and Firefox, it works just fine. The strange part is: it used to work fine until yesterday and it still works fine if you click on another link on my site and then go back.
I'm using the Salient theme on WordPress.
Link to the site
Does anyone have an idea why?
It's due to Chrome's new autoplay policy - it will not autoplay videos on first load unless the video is muted. Can you add 'muted' to the video attributes?
Source: https://developers.google.com/web/updates/2017/09/autoplay-policy-changes
Edit: there should be a 'Mute Video' option in the Video Background settings of your row.
It seems like YouTube Embed API doesn't autoplay anymore on mobile devices. I had used in a webpage in which was working fine but since ends of July it broken. I tested the API Reference Example and the same happens.
Could you help me?
Thanks in advance,
this is how to fix it. The only reason why it doesn't work is because google developers shut it off, so change the default off in google autoplay policy.
I've done several hours of troubleshooting, and a couple more searching for an answer, couldn't find any, although found some other people with the same problem.
The problem is that when I try and load the page ( http://reinbeerclub.com/ ) on a mobile device (tried android and iphone) the play button goes to the left upper corner and it stops working. so when pressed it doesn't play the video.
i am using the yootheme digit theme wich is based on uikit on a wordpress site, and the MediaElement.js built in.
the code I am using to display the video is:
<video poster="/wp-content/uploads/video.gif" controls class="uk-responsive-width">
<source type="video/youtube" src="http://www.youtube.com/watch?v=tQE919Uc0E0" />
</video>
(basic HTML5) but I can't get it to work on mobile devices.. can anyone help?
Here is a screenshot