可以chrome扩展emmbed本地swf,加载文件? [英] can chrome extension emmbed local swf , to load files?
本文介绍了可以chrome扩展emmbed本地swf,加载文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有swf mp3播放器,我喜欢将mp3文件从本地目录加载到chrome扩展。
我的问题是:
1.can chrome扩展嵌入swf文件附带扩展名。
2.从本地驱动器中扫描chrome扩展加载文件。像FF扩展。
i have swf mp3 player that i like to load mp3 files from local directory to the chrome extension.
my questions is :
1.can chrome extension embed swf file that comes with the extension.
2.can chrome extension load files from local drives . like FF extension.
推荐答案
- 是。
- href =http://www.w3.org/TR/FileAPI/ =nofollow> File API 。请注意,用户需要自行手动选择文件或文件夹。如果您想要完整的文件系统访问权限,您需要创建一个本地插件并为您希望支持的所有平台进行编译(例如:.dll for Windows,.so for Linux)。
- Yes.
- Check out the File API. Note that users will need to manually select the files or folders themselves. If you want full filesystem access, you need to create a native plugin and compile it for all the platforms you want to support (e.g. .dll for Windows, .so for Linux).
这篇关于可以chrome扩展emmbed本地swf,加载文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文