Google云端硬盘视频播放器开始时间 [英] Google Drive Video Player Start Time
问题描述
我已将Google云端硬盘视频文件嵌入到我的网站中,并且希望为视频设置开始时间。
就像嵌入YouTube视频一样,您可以在网址末尾添加信息来设置开始时间吗?
我可以使用javascript或google api来做到这一点吗?
它应该像youtube视频一样工作。 / p>
开始时间html参数:t = {TIME}
{TIME}可以是几个版本。
您可以用总秒数替换它。例如,如果您想要开始10分51秒,则可以将 https://drive.google.com/file/d/videoid/view?t=651s 自(10 * 60)+ 51 = 651
它还支持小时,分钟,秒格式。
https://drive.google.com/file/d/videoid/view?t=10m51s
< a href =https://drive.google.com/file/d/videoid/view?t=2h10m51s =noreferrer> https://drive.google.com/file/d/videoid/view? t = 2h10m51s
I have embedded a Google Drive video file into my website and I want to set a start time for the video. Like embedding YouTube videos, is there a way of adding information at the end of the URL to set a start time? Can I do this with javascript or google api some how?
It should work just like youtube videos.
The start time html parameter: t={TIME}
{TIME} can be a couple of versions.
You can replace it with number of total seconds. For example if you wanted to start a 10 minutes and 51 seconds, you would put https://drive.google.com/file/d/videoid/view?t=651s since (10 * 60) + 51 = 651
It also support hours,minutes,seconds format as well
https://drive.google.com/file/d/videoid/view?t=10m51s
https://drive.google.com/file/d/videoid/view?t=2h10m51s
这篇关于Google云端硬盘视频播放器开始时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!