我正在尝试编译 jw 播放器但无法获得它。我刚刚添加了安全令牌,这就是我所做的全部更改。我正在使用 ant 编译并拥有 flex sdk 3。
root@server1 [/home/hold/compile/trunk/fl5]# ant -buildfile build/build.xml build-lib Buildfile: build/build.xml
构建库:
clean-dir: [mkdir] 创建目录: /home/hold/compile/trunk/fl5/bin-release/sdk [exec] 加载配置文件 /home/hold/compile/flex_sdk_3/frameworks/flex-config.xml [exec ] /home/hold/compile/trunk/fl5/src/com/longtailvideo/jwplayer/media/HTTPMediaProvider.as:错误:无法明确解析多名称引用。视频(来自 /home/hold/compile/trunk/fl5/src/Video.as)和 flash.media:Video(来自 /home/hold/compile/flex_sdk_3/frameworks/libs/player/10/playerglobal.swc(flash /媒体/视频))可用。
[exec] /home/hold/compile/trunk/fl5/src/com/longtailvideo/jwplayer/media/VideoMediaProvider.as: Error: Can not resolve a multiname reference unambiguously. Video (from /home/hold/compile/trunk/fl5/src/Video.as) and flash.media:Video (from /home/hold/compile/flex_sdk_3/frameworks/libs/player/10/playerglobal.swc(flash/media/Video)) are available.
[exec] /home/hold/compile/trunk/fl5/src/com/longtailvideo/jwplayer/media/RTMPMediaProvider.as: Error: Can not resolve a multiname reference unambiguously. Video (from /home/hold/compile/trunk/fl5/src/Video.as) and flash.media:Video (from /home/hold/compile/flex_sdk_3/frameworks/libs/player/10/playerglobal.swc(flash/media/Video)) are available.
[exec] /home/hold/compile/trunk/fl5/src/com/longtailvideo/jwplayer/media/HTTPMediaProvider.as: Error: Can not resolve a multiname reference unambiguously. Video (from /home/hold/compile/trunk/fl5/src/Video.as) and flash.media:Video (from /home/hold/compile/flex_sdk_3/frameworks/libs/player/10/playerglobal.swc(flash/media/Video)) are available.
[exec] /home/hold/compile/trunk/fl5/src/com/longtailvideo/jwplayer/media/VideoMediaProvider.as: Error: Can not resolve a multiname reference unambiguously. Video (from /home/hold/compile/trunk/fl5/src/Video.as) and flash.media:Video (from /home/hold/compile/flex_sdk_3/frameworks/libs/player/10/playerglobal.swc(flash/media/Video)) are available.
[exec] /home/hold/compile/trunk/fl5/src/com/longtailvideo/jwplayer/media/RTMPMediaProvider.as: Error: Can not resolve a multiname reference unambiguously. Video (from /home/hold/compile/trunk/fl5/src/Video.as) and flash.media:Video (from /home/hold/compile/flex_sdk_3/frameworks/libs/player/10/playerglobal.swc(flash/media/Video)) are available.
[exec] /home/hold/compile/trunk/fl5/src/com/longtailvideo/jwplayer/media/HTTPMediaProvider.as(26): col: 24 Error: Type was not found or was not a compile-time constant: Video.
[exec] protected var _video:Video;
[exec] ^
[exec] /home/hold/compile/trunk/fl5/src/com/longtailvideo/jwplayer/media/HTTPMediaProvider.as(85): col: 17 Error: Call to a possibly undefined method Video.
[exec] _video = new Video(320, 240);
[exec] ^
[exec] /home/hold/compile/trunk/fl5/src/com/longtailvideo/jwplayer/media/VideoMediaProvider.as(21): col: 24 Error: Type was not found or was not a compile-time constant: Video.
[exec] protected var _video:Video;
[exec] ^
[exec] /home/hold/compile/trunk/fl5/src/com/longtailvideo/jwplayer/media/VideoMediaProvider.as(60): col: 17 Error: Call to a possibly undefined method Video.
[exec] _video = new Video(320, 240);
[exec] ^
[exec] /home/hold/compile/trunk/fl5/src/com/longtailvideo/jwplayer/media/RTMPMediaProvider.as(59): col: 28 Error: Type was not found or was not a compile-time constant: Video.
[exec] private var _video:Video;
[exec] ^
[exec] /home/hold/compile/trunk/fl5/src/com/longtailvideo/jwplayer/media/RTMPMediaProvider.as(94): col: 26 Error: Call to a possibly undefined method Video.
[exec] _video = new Video(320, 240);
[exec] ^
[exec] Result: 12