Autoplay video not working on mobile
Show
Autoplaying videos is quite a complicated issue, as many browsers are fighting against it, because it can be used to create a bad user experience. In this documentation you can see reasons and our actions towards them. Older mobile devices and tablets have a limitation, that you can't autoplay videos on them, because of the common usage of mobile internet, and the memory available on them. On these devices only a user's action can start a video, so touching the play button on the video. Some of the newer devices have the previously written limitation too, but the standard rather became, that a video can autoplay if the video is muted. But all browsers on these devices have options to disable video autoplaying and then your video won't autoplay, not even muted. Chrome with its latest versions also limited down videos, that they can only autoplay if the video is muted. This is just one of their limitations. The other one is, that a video can only start if the user had interaction with your website, meaning he clicked anywhere on it. Because of this we modified our code too, to start the video, if the user clicks anywhere on your page, as this is the best we could do and there are no workarounds. See the official announcement. Firefox automatically blocks any video which plays with sound, even on YouTube's site. Currently there's no workaround for this, so if you want your video to play automatically, it must be muted. Lightboxes don't have muting options, so they need to be started manually by the user. When your phone is in " Low Power Mode" then no video autoplay can be started without user interaction, even if the videos are muted. YouTube had limited down its videos and they won't allow to autoplay them on iOS phones and tablets anymore. Also, the volume control might be missing completely regardless of your settings. (This part is coming directly from YouTube so we have zero control over it.) Xiaomi's built in MIUI browser opens up all videos inside a popup video player, as you see for example in this video to let users do anything else on their phones while watching the given video. This behavior cannot be changed within the video's code. All browsers have options to turn off video autoplaying, so to not allow any videos to automatically play at any circumstances. If you don't think you should have a browser/device given limitation, then it will be a setting within your browser (or within the device's settings). ☝️ Note: Browser limitations can also apply when you have a cover image on the video. In this case, it's not the actual video the user has interacted with, but an image element. The video itself is started by JavaScript codes, exactly like it would without using the cover image. Browsers currently can't always tell the difference, so the user might need to start the video. The same goes for lightboxes. The video inside the lightbox is started using JavaScript, and the user has not interacted with the video directly yet, so the browser might prevent the autoplay. What can you do to avoid having a not playing video on your slider?1If you are using layers, then always leave the Controls option on, so the user could start the video if he wants to. Also change their Volume to muted if you want them to autoplay where they can. 2Pick a background image too. The way our system works is, that the background image will be on top and the image will disappear, if the video can start playing. Autoplay testAutoplaying videos has a ton of limitations and in a lot of browsers your video just won't autoplay, because the browser or device does not allows it. Here you can find:
example, which have autoplay codes. If a video (or all of them) here doesn't play for you, it means your have one of the listed limitations! How to debug why videos aren't autoplaying for you?
Video slider and Slider autoplayWhen you create a video slider where your videos play automatically and even the slider has the autoplay enabled, you might end up with a few questions on the setup or behavior. 1This problem can happen, when at the slider autoplay the Stop on media option is turned on, and you enabled the Loop at the video layer. You should either disable the loop, or turn off the Stop on media. 2 If the Stop on media and Resume on media is turned on at the slider autoplay the Slider autoplay pauses while the video plays. The image below can help understanding it better: SolutionYou can solve this problem in two ways:
Video doesn't look the way it should beThere are codes, which are modifying how videos can look like on websites. If you right click on your website, choose "View page source", search for the word "mejs". If you see that, you have mediaelement js in your website, and that is causing your problem. This can be added by a lot of things, but here are two common ones:
Can't swipe over video, YouTube or Vimeo layerWe can either take control over the screen on the slides or not. When you put down a video, youtube or vimeo layer, it has actions on it, like pausing, playing the video either just touching the video, or it's controls, also at the controls there is the volume and other parts. To let you touch these, we have to let the video, youtube or vimeo layer to be in control, so every touching action happening over them is handled by them. If you rather want swipe, and don't care about touching the video or just parts of it, then put down a transparent area layer over your video, and that can be swiped. Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later. No results found © Nextendweb 2022. Powered by Help Scout AutoPlay may not work on YouTube due to corrupt cache/data of the browser or corrupt installation of the YouTube mobile application. Moreover, an outdated browser or misconfiguration of your browser like DRM settings, etc. may also cause the error under discussion. YouTube Auto-PlayThe user encounters the issue when he tries to play a video/playlist and YouTube stops (or starts repeating the first two videos of the playlist) after playing one or two videos. For some users, the issue is that they cannot stop the AutoPlay of the videos while some encountered the issue only with playlists (not with the individual videos). This behavior is reported to occur on nearly all the operating systems and all the web browsers. Additionally, TV apps are also affected by the AutoPlay not working issue. Before moving on with the solutions to solve AutoPlay issues, restart your devices (phone, computers, routers, etc.) to check if the issue is a temporary glitch. Moreover, when accessing YouTube, search it through a search engine (not through the bookmark/shortcut). Additionally, keep in mind that AutoPlay will work for 30 minutes on a mobile network and for 4 hours on a Wi-Fi to prevent long AutoPlay sessions that a user might have forgotten. For YouTube Web:These solutions are for YouTube accessed through desktop browsers. Solution 1: Toggle On/Off AutoPlay And Logout of the YouTube AccountYou may encounter the error at hand if the AutoPlay setting for the video is not enabled at the backend of your account even though you might have enabled it in your application. In this context, enabling (or disabling) AutoPlay in the video settings may solve the problem.
Solution 2: Clear the Cache and Data of Your BrowserLike many other applications, web browsers use a cache to improve the user experience and speed up things. AutoPlay might fail to work if the cache/data of your browser is corrupt or has bad configurations. In this context, clearing the browser’s cache/data completely may solve the problem. For elucidation, we will go through the process for the Chrome browser. You may check if the issue occurs in the private/ incognito mode.
Solution 3: Update the Browser to the Latest BuildBrowsers are updated regularly to cater to new technological advancements and patch the known bugs. You may encounter the issue under discussion if you are using an outdated version of the browser. In this context, updating the browser to the latest build may solve the problem. For elucidation, we will go through the process for the Google Chrome browser.
Solution 4: Disable Adblocking Extensions/AddonsExtensions/ addons are used to add extra functionality to the browser. However, they also might have adverse effects and you may encounter the error at hand if an extension/addon is interfering in the normal operation of YouTube. In this context, disabling extensions/add-ons (especially adblocking extensions/addons) may solve the problem. For illustration, we will discuss the process for the Chrome browser.
Solution 5: Disable DRM Settings of Your BrowserBrowsers use DRM settings to protect the copyrights of digital media. AutoPlay may fail to work if the DRM settings of your browser are interfering in the routine operation of YouTube. In this scenario, disabling the DRM settings of your browser may solve the problem. For elucidation, we will go through the process for the Firefox browser.
Solution 6: Remove Videos from Your PlaylistAutoPlay might also not work if you a very big playlist with a lot of videos. In this context, removing some videos from your playlist may solve the AutoPlay problem.
Solution 7: Disable AutoPlay Blocking Features of the BrowserWeb browsers keep on implementing different security features to safeguard its users from online threats. One such feature implemented by Firefox is blocking websites from automatically playing audio. We will discuss the process to disable the said Firefox feature. You may have to dig deeper to find out if any of the browser’s option is causing the AutoPlay issue.
For YouTube Smartphone Applications:These are valid for both iOS and Android. Solution 1: Disable Muted Playback FeatureGoogle keeps on adding new features to the YouTube application to enhance user experience. One of such features is Muted Playback. If this option is enabled, the AutoPlay sometimes doesn’t work as expected. In this context, disabling the muted playback feature may solve the problem.
Solution 2: Uninstall Updates of the YouTube ApplicationGoogle keeps on adding new features to the YouTube application through application updates. However, buggy updates are a common issue in the application development/enhancement process and the same could be the reason for the current AutoPlay issue. In this regard, uninstalling updates of the YouTube application may solve the problem. This method may not be available for all users. For elucidation, we will discuss the process for an Android phone.
Solution 3: Reinstall the YouTube ApplicationYou may encounter the issue at hand if the installation of the YouTube application itself is corrupt. In this context, reinstalling the YouTube application may solve the AutoPlay problem. This method may not apply to all users. For illustration, we will go through the process of the uninstallation of the YouTube application on an Android phone.
If nothing has worked for you then try if the AutoPlay issue persists on another network or another device. If the issue is still there, then try to use a YouTube extension like Stop YouTube AutoPlay or Enhancer for YouTube. |