Coder Social home page Coder Social logo

hetian9288 / jwplayer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jwplayer/jwplayer

0.0 2.0 0.0 77.33 MB

JW Player is the world's most popular embeddable media player. For documentation and support, please visit the JW Player Support Site:

Home Page: http://support.jwplayer.com

License: Other

JavaScript 64.77% CSS 9.17% ActionScript 21.17% HTML 4.89%

jwplayer's Introduction

JW Player Logo

Join the chat at https://gitter.im/jwplayer/jwplayer

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.

Code Examples

Documentation and Support

Example

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

  • play / complete
  • seek / pause
  • volume / mute
  • and more

You also have the power to programatically set any configuration within the player.

    function bumpIt() {
    	var vol = player.getVolume();
        player.setVolume(vol + 10 );
    }

Contributing

Build Instructions

  1. Install Node.js
  2. Install Adobe AIR SDK
  3. Install Java
  4. Download player.swc 11.2
  5. Rename and move the .swc file to {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.

Software License

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/

jwplayer's People

Contributors

donato avatar robwalch avatar pablos1 avatar alkupe avatar jw-kaurand avatar pajong avatar egreaves avatar jeroenwijering avatar emaxsaun avatar chazmatazz avatar foolip avatar isaacschemm avatar chrisdeely avatar paulmandal avatar benefrati avatar jlowcs avatar mattcoz avatar phdm avatar gitter-badger avatar dannyfinks avatar idvl avatar earlyster avatar kasrinat avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.