无法编译JW播放器

时间:2012-11-09 03:22:50

标签: flash flex flex3 flash-builder jwplayer

我正在尝试编译jw播放器并且无法获得它。我刚刚添加了安全令牌,这就是我改变的全部内容。我正在使用ant编译并使用flex sdk 3.

root @ server1 [/ home / hold / compile / trunk / fl5] #ant -buildfile build / build.xml build-lib Buildfile:build / build.xml

构建-lib的:

清洁-DIR:     [mkdir]创建了dir:/ 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) / media / Video))可用。

 [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

1 个答案:

答案 0 :(得分:0)

您需要Flex SDK 4.1来编译Jw Player。

相关问题