Reputation: 3
So far, I know that a Google drive video can be embedded in an iframe using the technique below:
<iframe src="https://drive.google.com/file/d/<File ID>/preview" width="640" height="480"></iframe>
But once the file is embedded, is there a way to detect the progress of the video, or when the video finishes?
Youtube videos can be manipulated like this using the Youtube player API; is a similar option available for Google Drive videos?
Upvotes: 0
Views: 460
Reputation: 37798
There is currently no similar option for the Google Drive API. If the YouTube Player API already has what you're looking for, why not proceed with using it instead?
With that, I think Google tends to separate the roles of their services. Drive focusing on storage and YouTube for video streaming and anything related to it.
Upvotes: 1