Make your video play at a specific time
With a little extra know-how, you can set your videos to a play at a specific time. This is especially helpful if you want to share a video and have it to jump to the relevant moment without your viewer needing to skip or seek manually.
Using a special set of URL arguments called "query strings", you can tell the video at what second to begin playing as well as whether it should autoplay when the page loads.
A query parameter can be added to either the video sharing page link or the embed code.
When sharing a video with a link
Select a video from your library and copy the sharing link.
Add ?autoplay=1
to the end of the sharing page link. This URL argument will make the video play automatically when the page loads.
If you want the video to start playing at a specific time, also add second=15
to the end of the URL. You can adjust the number of seconds to an integer that falls within the duration of the video.
If you choose to use both autoplay
and second
together, join them with an ampersand (&).
https://share.vidyard.com/watch/kaaU3HYRXhnKZQj?autoplay=1&second=15
When embedding a video on a webpage
Select a video from your library and copy the embed code.
Paste the embed code into the source of your webpage.
Add the parameter data-autoplay="1"
inside the <img>
tag.
If you want the video to start playing at a specific time, also add data-second=15
. Adjust the seconds value as needed.
<script type="text/javascript" async src="https://play.vidyard.com/embed/v4.js"></script>
<img
style="width: 100%; margin: auto; display: block;"
class="vidyard-player-embed"
src="https://play.vidyard.com/xWNKxsDk52Zcx.jpg"
data-uuid="xWNKxsDk52Zcx"
data-v="4"
data-type="inline"
data-autoplay="1"
data-second="15"
/>