开发者

Play local video from web browser [closed]

开发者_运维知识库 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

How can I play a video that is on a user's local hard drive when they go to my website? Also I want to sync the video with controls on the website.


This would be a massive security hole on the part of the browser, so you'd need to use Flash or Java to request permissions and let the user select the file... I know Java can, but I'm not sure Flash can.

If you have control over their browser, you can perhaps pass in a command-line flag to ignore all security checks... but one person is going to forget to re-enable the security when they visit other sites.


I'm afraid you'd either have to get them to upload it, or use a java applet. I don't think even the mighty Flash can do what you're looking for.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜