问题描述
我刚刚在sourceforge(此处)上下载了OSMF 2.0 zip,并且有文件夹中没有StrobeMediaPlayback.swf?
I just download the OSMF 2.0 zip on sourceforge (here) and there is no StrobeMediaPlayback.swf in the folder?
我很困惑.有人可以启发我吗?
I'm confused. Somebody can enlight me?
谢谢
推荐答案
您将找不到它,必须使用Flex构建器或Flex的mxmlc应用程序命令行编译器自己构建它.
You won't find it, you will have to build it yourself using Flex builder or the mxmlc application command line compiler for flex.
首先按照此处所述安装mxmlc: https://github.com/johansyd/flex-installer
First install mxmlc as described here: https://github.com/johansyd/flex-installer
StrobeMediaPlayback源位于:./OSMF/player/StrobeMediaPlayback
The StrobeMediaPlayback source is found in: ./OSMF/player/StrobeMediaPlayback
cd OSMF/player/StrobeMediaPlayback
下载OSMF.swc并将其放置在:OSMF/player/StrobeMediaPlayback/libs
download the OSMF.swc and place it in: OSMF/player/StrobeMediaPlayback/libs
然后做:
mxmlc src/StrobeMediaPlayback.as -library-path+=libs -library-path+=assets -sp="src/" -static-link-runtime-shared-libraries=true -o bin-debug/StrobeMediaPlayback.swf -swf-version=11 -debug=false -default-script-limits 1000 60 -define CONFIG::LOGGING false -define CONFIG::FLASH_10_1 true
然后您应该具有可以使用的StrobeMediaPlayback.swf.
You should then have a StrobeMediaPlayback.swf you can use.
这篇关于OSMF 2.0中的StrobeMediaPlayback.swf在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!