将嵌入的视频转发到某个位置
那里。我知道可以在浏览器中使用 flash 播放器或 html5 打开视频文件,但是是否可以在特定位置(假设从开始起 60 秒)打开它或在之后自动快进开放?任何代码示例将不胜感激。
there. I know that there is a possibility to open a video file either using a flash player or html5 in a browser, but is there a possibility to open it at the certain place (lets say 60 seconds from the beginning) or automatically fast forward it after opening? Any code examples would be appreaciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,我必须自己找到答案。类似的问题在 如何仅播放网页中视频的特定部分?
(但没有给出具体例子)。
我发现对于 flv 类型,您可以使用 flowplayer:
http://flowplayer.org/documentation/scripting。 html
我的最小工作示例:
对于 QuickTime 电影类型,您可以使用 QuickTime 插件并设置启动或自动播放参数以在指定位置启动视频剪辑,如下所示:
或
更多说明: http://developer.apple.com/library/mac/#documentation/QuickTime /Conceptual/QTScripting_HTML/QTScripting_HTML_Document/ScriptingHTML.html
这是我的代码示例,适用于我的 FF3.6 和 IE8(将其放在 HTML 的正文区域中):
希望这能让某人走上正轨。
Ok, I had to find the answer myself. A similar question was addressed at How do I play just a specific section of a video in a web page?
(but without giving specific examples).
I found out that for flv types you can use flowplayer:
http://flowplayer.org/documentation/scripting.html
My minimal working example:
For quicktime movie types you can use quicktime plugin and set start or autoplay parameters to start a video clip at specified place like that:
or
more explanations at: http://developer.apple.com/library/mac/#documentation/QuickTime/Conceptual/QTScripting_HTML/QTScripting_HTML_Document/ScriptingHTML.html
Here is my code example that works in my FF3.6 and IE8 (put it in your HTML's body area):
Hope this will put someone on track.