1

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>
1

It looks like they are attempting to support ?autoplay=1 but are failing at that:

0

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.

  • Have you actually tried this? start parameter appears to have no effect – Steven Penny May 23 '17 at 1:46
  • If Google removed that functionality, the answer to the question is likely to be "it can't be done". – Stephen Ostermiller May 24 '17 at 9:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.