There are several methods if you’d like your embedded video to autoplay or loop. This article outlines how to autoplay and loop embedded videos from the video's page on vimeo.com or by directly editing the embed code.
Your most recently uploaded Public videos (or videos most recently set to Public) will autoplay first. Note that there are several restrictions outlined in this article that may prevent autoplay from functioning as expected.
In this article:
- How to add loop or autoplay parameters to an embed code
- Autoplay restrictions
- Workarounds for autoplay restrictions
- Autoplay issues in Chrome
How to add loop or autoplay parameters to an embed code
💡Tip: You may choose to set up an end screen instead of following the steps below to edit the embed code.
You can manually add the following parameters into your embed code to set your embedded videos to autoplay and/or loop:
loop=1
autoplay=1
If you have more than one video autoplaying on a particular page, you will also need to include this parameter:
autopause=0
So, for example, if you were embedding two autoplay, looping, videos on a page, the embed code for each would look like this:
Custom dimensions embed code:
<iframe src="https://player.vimeo.com/video/76979871?autoplay=1&loop=1&autopause=0" width="640" height="360" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe>
Responsive embed code:
<div style="padding:56.25% 0 0 0;position:relative;"><iframe src="https://player.vimeo.com/video/76979871?autoplay=1&loop=1&autopause=0?badge=0&autopause=0&player_id=0&app_id=58479" frameborder="0" allow="autoplay; fullscreen; picture-in-picture; clipboard-write" style="position:absolute;top:0;left:0;width:100%;height:100%;" title="Help Center Video"></iframe></div><script src="https://player.vimeo.com/api/player.js"></script>
Important: If your video is set to the Unlisted privacy setting, additional parameters must be added after the privacy hash parameter. This will appear directly after the video ID in the URL and looks similar to ?h=913062c8ff
. Every parameter after the hash can be added using & rather than ?.
Autoplay restrictions
If the autoplay parameter is present, the Vimeo player will attempt to begin playback automatically. However, please note that some browsers specifically block autoplay. In these cases, your video will revert back to the original thumbnail and controls, requiring viewers to select play to start playback.
⚠️Note: It is not currently possible to autoplay or loop non-embedded onsite videos.
Autoplay is currently restricted in the following environments:
Safari version 11+ (Desktop)
- Autoplaying videos must be muted.
- Viewers can choose to block or allow unmuted autoplay for specific domains on their setup.
- Learn more information from Apple at 'Stop autoplay videos in Safari on Mac'
- Documentation: https://webkit.org/blog/7734/auto-play-policy-changes-for-macos/
Chrome version 66+ (Desktop/Mobile)
- Autoplaying videos must be muted.
- Videos that are frequently visited by the viewer are permitted to autoplay with sound (based on Google’s scoring system)
- Documentation: https://developers.google.com/web/updates/2017/09/autoplay-policy-changes
iOS (Safari, other mobile browsers, apps)
- Autoplaying videos must be muted.
- Autoplay is disabled when the iPhone or iPad is in Low Power Mode.
- Documentation: https://webkit.org/blog/6784/new-video-policies-for-ios/
Firefox 66+ (Desktop/Mobile)
- Firefox blocks videos with sound from playing automatically.
- Viewers can choose to block or allow unmuted autoplay for specific domains on their setup.
- Documentation: https://support.mozilla.org/en-US/kb/block-autoplay
Workarounds for autoplay restrictions
There is no way to stop these autoplay restrictions; however, you can mute your video to ensure the autoplay is always honored. Just add one of the following parameters to the end of the player URL in your embed code:
?background=1
: This parameter automatically disables all elements in the player (play bar, buttons, etc), autoplay, loops, and mutes your video on load. Please note: the background parameter is only supported for videos hosted by paid members. Learn more at 'Embed background and chromeless videos'.
?muted=1
This parameter will automatically mute your video on load. Once your video plays, viewers can manually unmute it by clicking on the volume bar within the player.
⚠️Note: Both of these parameters will force your video to load as muted in all browsers. Videos without audio tracks (or audio tracks without sound) will not be considered muted by browsers. In order to bypass autoplay restrictions, you must use one of the embed parameters above.
Autoplay issues in Chrome
<iframe src="
https://player.vimeo.com/
If you are experiencing an issue, or have any questions, please contact Vimeo Support.