我已在我的网站中嵌入了一个 Google Drive 视频文件,我想设置视频的开始时间.就像嵌入 YouTube 视频一样,有没有办法在 URL 末尾添加信息来设置开始时间?我可以用 javascript 或 google api 来做这件事吗?
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?
它应该像 youtube 视频一样工作.
It should work just like youtube videos.
开始时间html参数:t={TIME}
The start time html parameter: t={TIME}
{TIME} 可以是几个版本.
{TIME} can be a couple of versions.
您可以将其替换为总秒数.例如,如果您想开始 10 分 51 秒,您可以输入 https://drive.google.com/file/d/videoid/view?t=651s 因为 (10 * 60) + 51 = 651
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
还支持时分秒格式
https://drive.google.com/file/d/videoid/view?t=10m51s
https://drive.google.com/file/d/videoid/view?t=2h10m51s
这篇关于Google Drive 视频播放器开始时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
discord.js v12:我如何等待 DM 频道中的消息?discord.js v12: How do I await for messages in a DM channel?(discord.js v12:我如何等待 DM 频道中的消息?)
如何让我的机器人提及发出该机器人命令的人how to make my bot mention the person who gave that bot command(如何让我的机器人提及发出该机器人命令的人)
如何修复必须使用导入来加载 ES 模块 discord.jsHow to fix Must use import to load ES Module discord.js(如何修复必须使用导入来加载 ES 模块 discord.js)
如何列出来自特定服务器的所有成员?How to list all members from a specific server?(如何列出来自特定服务器的所有成员?)
Discord bot:修复“找不到 FFMPEG"Discord bot: Fix ‘FFMPEG not found’(Discord bot:修复“找不到 FFMPEG)
使用 discord.js 加入 discord 服务器时的欢迎消息Welcome message when joining discord Server using discord.js(使用 discord.js 加入 discord 服务器时的欢迎消息)