875fc2ff32
When poster() is called with a URL, fire a `posterchange` event to update the PosterImage source and update the video element attribute. Trigger posterchange after updating the tech Wait until the tech has updated its poster image before alerting components so they don't see the intermediate state in event handlers. Remove unused variable from PosterImage.createEl. Don't create new img elements each time the poster is set on ie8 Create the img fallback for the poster during PosterImage initialization on ie8 so we can avoid having to check and possibly create it each time the src is set. Add a test to ensure that new elements are not appended to the poster component when the img fallback is in use and the src attribute is modified. fixing a broken IE8 test, and adding a negative test, for poster switching. modified the poster-switching test to accomodate IE8 added a negative test for an undefined poster fixed the assertion message in the 'undefined' image case fixed test breakage in Firefox and IE10 (quotes were not being handled properly in the test data) testing: ran the tests at the command line, and in Chrome, Firefox, IE8, IE10, Firefox and Safari all passed |
||
---|---|---|
build | ||
docs | ||
sandbox | ||
src | ||
test | ||
.bunyipconfig.js.example | ||
.editorconfig | ||
.gitignore | ||
.jshintrc | ||
.travis.yml | ||
browsers.json | ||
CHANGELOG.md | ||
contrib.json | ||
CONTRIBUTING.md | ||
Gruntfile.js | ||
LICENSE | ||
package.json | ||
README.md |
Video.js - HTML5 Video Player
Video.js is a web video player built from the ground up for an HTML5 world. It supports HTML5 and Flash video, as well as YouTube and Vimeo (through plugins). It supports video playback on desktops and mobile devices. This project was started mid 2010, and the player is now used on over 50,000 websites.
Visit videojs.com for an overview, download options, and instructions on how to use the player on your site.
Contributing
Video.js is a free and open source library, and we appreciate any help you're willing to give. Check out the contributing guide.
Building your own Video.js from source
To build your own custom version read the section on contributing code and "Building your own copy" in the contributing guide.
License
Video.js is licensed under the Apache License, Version 2.0. View the license file
Copyright 2013 Brightcove, Inc.