Plays everywhere, every time.
JW Player is -the- solution for making video playback seamless across browsers and file types. It empowers the developer to interact with video programmatically to create unique and awesome user experiences.
Developer API Examples and Demos
The example below will find the element with an id of my_video and render a video player into it.
// Create a jwplayer instance
jwplayer('my_video').setup({
file: '/uploads/example.mp4',
});
// Add a custom callback for when user pauses playback
jwplayer('my_video').on('pause', function(event) {
alert('Why did my user pause their video instead of watching it?');
});
Other callbacks that we provide include
You also have the power to programatically set any configuration within the player.
function bumpIt() {
var vol = player.getVolume();
player.setVolume(vol + 10 );
}
{AIRSDK_Compiler}/frameworks/libs/player/11.2/playerglobal.swc
# First time set up
npm install -g grunt
npm install
# Build using
grunt
After build, the assets will be available in the bin-release
folder.
The use of this library is governed by a Creative Commons license. You can use, modify, copy, and distribute this edition as long as it’s for non-commercial use, you provide attribution, and share under a similar license. http://www.jwplayer.com/license/
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。