jwplayer 二次开发

我目前用的是jw player 5.9,网上有很多讲关于怎么去掉logo的。不过没有详细讲如果在flash builder中进行二次开发。因为熟悉flash builder的人可能并不多。我这边详细讲下我一个门外汉用flash builder编译jw player的经过。
一、 去官网下载源码:http://www.longtailvideo.com/。我用的是svn直接下载:
svn地址(将X换成你要的版本):http://developer.longtailvideo.com/svn/tags/mediaplayer-5.X

二、 下载下来后的根目录,README.txt有教你怎么进行二次开发的部署,我用的flash builder进行二次开发。所以
按照以下规则:
Alternately, if you're using Flex Builder or Flash Builder, you may use the following method to build the player:

1. Create a new ActionScript project (you can give it any name except "Player").
2. Under "Project Contents", select the checkout tree (the folder where this README file lives).
3. If using Flex Builder 3, click the "Next" button, then type "src" into the "Main Source Folder" field.
4. Click the "Finish" button
5. Right-click on your new project, and select "Properties"
6. Under the "ActionScript Compiler" tab, click the radio button that reads "Use a specific version", and make sure it reads "10.0.0".
7. Under the "ActionScript Build Path" tab, click the "Library Path" tab and then the "Add SWC Folder" button.  Type in "libs" then press the "OK" button.
8. Click the "OK" button.
9. Alter your main application class to inherit from com.longtailvideo.jwplayer.player.Player (i.e. public class MyPlayer extends com.longtailvideo.jwplayer.player.Player { ... )
10. Under the "Project" menu, choose "Export Release Build".
11. The player will be compiled as bin-release/{Your Project Name}.swf.

翻译如下(时间紧张,就直接用google翻译了,大家对照英文看把。)
另外,如果你使用Flex Builder或Flash Builder,你可以使用下面的方法来建立球员:

1。创建一个新的ActionScript项目(你可以给它的任何除“玩家”的名称)。
2。根据“项目内容”,选择结帐树(文件夹在此README文件生命)。
3。如果使用Flex Builder3,点击“下一步”按钮,然后进入“主源文件夹”字段中键入“SRC”。
4。点击“完成”按钮
5。右键单击您的新项目,并选择“属性”
6。根据“ActionScript编译器”选项卡,单击“单选按钮,上面写着”使用特定版本“,并确保写着”10.0.0“。
7。下的“ActionScript构建路径”标签,单击“库路径”选项卡,然后“添加SWC文件夹”按钮。在“库”的类型,然后按“确定”按钮。
8。点击“确定”按钮。
9。改变你的主应用程序类继承com.longtailvideo.jwplayer.player.Player(即公共类MyPlayer延伸com.longtailvideo.jwplayer.player.Player的{...)
10。在“项目”菜单,选择“导出发行构建”。
11。球员将被编译成彬释放。SWF/ {您的项目名称}。

三、去掉logo,这个网上都有,我介绍这篇文章
http://www.cnblogs.com/tv151579/archive/2012/05/21/2511065.html

转:http://blog.csdn.net/leidengyan/article/details/7724916

原文地址:https://www.cnblogs.com/shuaixf/p/2643682.html