1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-02 09:11:54 +02:00
Video.js - open source HTML5 video player
Go to file
2013-01-12 22:23:22 -08:00
build Update grunt build script. 2013-01-12 22:23:22 -08:00
docs Updated closure compiler advanced mode branch 2013-01-10 13:06:12 -08:00
sandbox Reorgnizing src files. 2013-01-11 23:02:20 -08:00
src Update grunt build script. 2013-01-12 22:23:22 -08:00
test Update grunt build script. 2013-01-12 22:23:22 -08:00
.editorconfig Added .editorconfig and travis CI badge 2012-12-11 14:33:42 -08:00
.gitignore Reorgnizing src files. 2013-01-11 23:02:20 -08:00
.jshintrc Reorgnizing src files. 2013-01-11 23:02:20 -08:00
.travis.yml Added Travis CI config, and also supporting package.json. 2012-12-10 18:51:48 -08:00
.zenflow Set up zenflow workflow management config. 2012-01-12 12:59:53 -08:00
CHANGELOG.md Adding line to CHANGELOG: Added automated test suite and support for Travis CI. 2012-12-10 18:54:48 -08:00
Gruntfile.js Update grunt build script. 2013-01-12 22:23:22 -08:00
LGPLv3-LICENSE.txt Optimized slider controls. 2011-12-05 11:28:18 -08:00
package.json Update grunt build script. 2013-01-12 22:23:22 -08:00
Rakefile Updated closure compiler advanced mode branch 2013-01-10 13:06:12 -08:00
README.md Updated closure compiler advanced mode branch 2013-01-10 13:06:12 -08:00
VERSION.yml Bumping version to 3.2.3. 2012-11-12 17:28:53 -08:00

Video.js - HTML5 and Flash Video Player Build Status

Visit the main site at videojs.com for download options and instructions.

Video.js was built to provide a fast and easy way to embed and work with video in a web page. It was built from the ground up with the assumption that HTML5 is the future of web video, however it supports Flash equally well for older browsers and for advanced features not yet supported in HTML5.

Some of the focuses of Video.js are:

  • Universal browser and device support
  • Easily skinned (themed/chromed) using just CSS
  • A JavaScript API for controlling the video that works consistently across video platforms (HTML5, Flash, and others) as well as devices
  • A common skin and API between HTML5, Flash, and potentially other players like YouTube

To build video-js from the latest version of the source, clone the source repository and run: sh build.sh in the video-js directory using the commnand-line/terminal of a unix-based system.

Contributing

If you'd like to help out on VideoJS, you are awesome. Updates should be made to the source files and then make a pull request.

When working on VideoJS code, you can use dev.html as your test page. It doesn't exist in the repo and changes to it won't be tracked. To get your own copy simply clone the repo and copy dev.html.example. cp dev.html.example dev.html

You can use dev.html to test new code. It's simple HTML doc that includes all the source files. Send a pull request for any updates.


BETA NOTES Version 3 is almost a complete rewrite of the previous versions of VideoJS. New features includes:

  • HTML/CSS Controls and API now work for both the HTML5 and Flash versions.
  • Custom Super-lightweight Flash Fallback
  • Embed Code is much simpler.
    • No more "vjs-box" div required, just use the video tag.
    • No more embedding of Flash fallback within the video tag HTML.

TESTING FLASH LOCALLY IN CHROME

Chrome 21+ (as of 2013/01/01) doens't run Flash files that are local and loaded into a locally accessed page (file:///). To get around this you need to disable the version of Flash included with Chrome and enable a system-wide version of Flash.