I have a video tag like this, it’s always play when I visited my page, but it’s not playing for now
How can autoplay the video when I visit with the link’s Google shared from my Google drive with my example video
tag like this
<video id="video" poster="https://drive.google.com/file/d/1znNGRm03rDypls31NUBpjvRscpFoJc0h" autoplay="autoplay" loop="loop" muted="muted" controls="controls" playsinline width="100%" height="686">
<source src="https://drive.google.com/file/d/1QEJnvR6B9tVgKyQJVWE8sHDVU_MqYLxB" type="video/mp4" />
</video>
3
Answers
If you want to play a video from Google Drive, use the iframe tag, (Google Drive Embed option). Below is an example for your video:
Additionally, you can use parameters in the url to transfer properties from the video tag to the iframe, e.g. autoplay.
Best regards!
To embed a video from Google Drive for autoplay, you’ll need to get the shareable link that allows the video to play directly.
your video address in not valid.
you can use this: