Mobile app version of vmapp.org
Login or Join
Pope3001725

: How to configure videos from Google Drive embedded on Google Sites to auto-start and loop? I have studied the methods to embed a video file into a Google site using the Embed Gadget. There

@Pope3001725

Posted in: #Embed #Google #GoogleSites #Html #Video

I have studied the methods to embed a video file into a Google site using the Embed Gadget. There is documentation about the case when the video is from YouTube. In this case, in the iframe clause we can add ?autoplay=1&loop=1. This causes an auto start and when the end of the video is reached, it starts over again.

The problem however is that the loop instruction is ignored when the video is not from YouTube but from our own Google Drive. The reason I want the video to be loaded from the Google Drive is video quality. The conversion to YouTube results in an object which is much less sharp and clear.

So, why does the loop parameter not work when the source is different? Do I have to use a different syntax? (I also tried several approaches by modifying the resulting html code but I never was successful.)

Here the code I use today:

<iframe
src="https://drive.google.com/file/d/0B9P-4EpF1HhMbHV3U3phZlVSdTQ/preview?loop=1&autoplay=1" width="1100" height="278">
</iframe>

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Pope3001725

1 Comments

Sorted by latest first Latest Oldest Best

 

@Heady270

Somebody asked this question on the Google product forums. It looks like Google Drive uses a different parameter for auto play: start=1 So to get auto play to work you would change your code to:

<iframe
src="https://drive.google.com/file/d/0B9P-4EpF1HhMbHV3U3phZlVSdTQ/preview?start=1" width="1100" height="278">
</iframe>


I was unable to find any parameter for looping with Google drive hosted video.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme