简体   繁体   English

如何播放用户在浏览器中选择的本地XviD(.avi)文件?

[英]How to play local XviD (.avi) files that are chosen by the user in the browser?

So I'm building a web application, and in part of the application the user should choose an XviD (.avi) video file from his machine, to be played in the browser (without uploading it). 因此,我正在构建一个Web应用程序,在该应用程序的一部分中,用户应从其计算机中选择一个XviD(.avi)视频文件,以便在浏览器中播放(而不上传)。 I decided to use Flash for this. 我决定为此使用Flash。

Now I have two questions about this: 现在我对此有两个问题:

  • Which Flash video player is free to use and capable of doing this? 哪个Flash视频播放器可以免费使用并能够执行此操作?
  • How should I let the user choose a video file, and how can I link the Flash video player to the file? 我应该如何让用户选择视频文件,以及如何将Flash视频播放器链接到该文件?

I think you can't. 我想你做不到 The Flash plugin don't have enough privileges to access the user's local file system. Flash插件没有足够的权限来访问用户的本地文件系统。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM