博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
jwplayer 6.10.0编译
阅读量:2238 次
发布时间:2019-05-09

本文共 1770 字,大约阅读时间需要 5 分钟。

https://github.com/jwplayer/jwplayer#jw-player
接口手册
http://support.jwplayer.com/customer/portal/topics/564475-javascript-api/articles

JW Player is a the world's most popular embeddable media player.

  • Cross browser: Play your video and audio files easily on all major browsers and mobile devices. Full details .
  • Media formats: Play MP4, WebM, FLV, HLS, YouTube videos, .
  • Open Source: JW Player is free for non-commercial use. For commercial uses, users must .

For documentation and support, please visit the .

Examples

We have several articles and examples on the .

The example below will find the element with an id of myVideoId and render a video player into it. We will then create an event handler to watch for when someone changes the volume.

jwplayer('myVideoId').setup({
file: '/uploads/example.mp4', }); jwplayer('myVideoId').onVolume(function(event) {
console.log('The volume has changed', event); });

Note that we could also use functions getVolumesetVolume and others which can be found .

Contributing

Style Guide

For our javascript code, we follow the 

Before submitting a change be sure to verify it follows our guide by using

grunt jshint

Build Instructions

To build the JW Player, you will need the following software:

  • Flex SDK 4.1: 
  • Ant 1.7.0: 

To compile with Flex and Ant, you'll first need to modify the build.properties file found in the buildfolder:

  1. Set flexsdk to the install location of the Flex SDK (e.g. /usr/local/bin/flex/)
  2. Set execextension to .exe if you're using Windows; otherwise leave it blank.

You can now compile the player using Ant:

ant -buildfile build\build.xml

If the build is successful, the new player assets (jwplayer.js, jwplayer.html5.js, jwplayer.flash.swf) will appear in the bin-release folder.

转载地址:http://rpabb.baihongyu.com/

你可能感兴趣的文章
object类的基本方法
查看>>
回答阿里社招面试如何准备,顺便谈谈对于Java程序猿学习当中各个阶段的建议
查看>>
Dubbo分布式服务框架入门(附工程)
查看>>
两年Java开发工作经验面试总结
查看>>
作为Java面试官--谈谈一年来的面试总结
查看>>
两年Java程序员面试经
查看>>
面试心得与总结---BAT、网易、蘑菇街
查看>>
如何面试有2年java工作经验的应聘人员
查看>>
Java实现简单的递归操作
查看>>
面试Java程序员需具备的11个技能
查看>>
HashMap 和 HashTable 到底哪不同 ?
查看>>
Java实现简单的递归操作
查看>>
Struts2工作原理和执行流程图
查看>>
在线预览Word,Excel~
查看>>
hibernate延迟加载(get和load的区别)
查看>>
关于文件拷贝效率问题
查看>>
MyBatis分页插件PageHelper的使用
查看>>
【MyBatis学习01】宏观上把握MyBatis框架
查看>>
【MyBatis学习02】走进MyBatis的世界
查看>>
【MyBatis学习03】原始dao开发方法及其弊端
查看>>