GithubHelp home page GithubHelp logo

bennylangston / videojs-shaka-player Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hyurtseven81/videojs-shaka-player

0.0 1.0 0.0 1.93 MB

Shaka Player playback technology for Video.js

License: Other

JavaScript 90.70% Shell 2.10% HTML 7.20%

videojs-shaka-player's Introduction

Shaka Player Playback Technology for Video.js

Shaka Player Playback Technology allows Video.js users to utilize Shaka-Player to playback MPEG DASH videos. This project is still under development, more features and enhancements will be available later.

If you want VideoJS 5 support, check out the vjs5 branch of this project.

Dependencies

Build

Build script requires npm, bower and grunt.

If you don't have bower or grunt, run:

sudo npm install grunt
sudo npm install grunt-cli
sudo npm install bower
sudo npm install grunt-contrib-connect

Finally, run ./build.sh

Usage

  • Include shaka-player.compiled.js and video.shaka.dev.js file in the html page.
  • Specify "shaka" in the techOrder array as needed.
  • Look at the included example for guidance.

Example

An example is provided under the /example directory. Run the build script before using this example.

Screenshot

Below is a screenshot of videojs-shaka-player playing an MPEG DASH (VP9/Vorbis) VoD playlist. By default, the video is played back adaptively. The quality menu (gear) is automatically populated based on the size and bitrates of the video streams listed in the playlist. You can manually select a video quality to override auto (adaptive) mode, and switch back to auto mode at any time.

Screenshot

Screenshot

Icon

The provided example is using the cog icon from videojs/font. You are free to use any other icon font to replace the existing one with the help of extra css rules.

Special Thanks

Thanks to the Shaka Player team who wrote an amazing tool to support DASH playback.

Thanks to Giles Thompson for porting this to VideoJS 5.

Support

This work is sponsored by MetaCDN, creators of StreamShark

videojs-shaka-player's People

Contributors

jbroberg avatar featheast avatar hyurtseven81 avatar

Watchers

James Cloos 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.