1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-25 11:13:52 +02:00
Gary Katsevman 53ea60cd06 fixes #1512, fixes #1507
On ended, pause player if not paused or looping
IE11 (and maybe other browsers as well) only fire 'ended' event when the
video ends and doesn't fire pause. This makes IE11 not reset it's state
into a paused state that allows a user to replay immediately. However, a
two clicks on the play/pause button will allow you to replay.
In Chrome, we get first a pause event and then an ended event. When
'loop' is set, neither the last pause nor ended fire.
In the flash tech, the pause and ended events fire like in chrome in all
browsers.

Add tests for onEnded change

Appease jshint.
2014-09-16 14:53:46 -07:00
2014-09-05 14:58:12 -07:00
2014-09-05 14:58:12 -07:00
2014-08-31 21:56:27 +02:00
2014-09-16 14:53:46 -07:00
2014-09-16 14:53:46 -07:00
2014-09-05 14:58:12 -07:00
2014-09-05 14:58:12 -07:00
2014-09-05 14:58:12 -07:00
2014-09-02 10:39:33 -07:00
2014-09-05 14:58:12 -07:00

Video.js - HTML5 Video Player Build Status

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 2014 Brightcove, Inc.

Description
Languages
JavaScript 96.6%
SCSS 3%
CSS 0.3%
HTML 0.1%