1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-04 10:34:51 +02:00
video.js/test/unit
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
..
api.js Added back missing deprecated fullscreen functions, and fixed a warning from using a deprecated method internally. 2014-09-05 14:33:27 -07:00
button.js Modified language json structure to not include the code. 2014-08-05 17:48:00 -07:00
component.js NaN & null should be treated as 0 in dimension() 2014-09-02 14:37:42 -04:00
control-bar.js Close GH-672: Control bar updates. Fixes #556, Fixes #500, Fixes #374, Fixes #403, Fixes #441, Fixes #193, Fixes #602, Fixes #561, Fixes #281 2013-08-09 14:29:22 -07:00
controls.js Changed to feature prefix over suffix to make it read more as a boolean 2014-09-02 16:22:43 -07:00
core-object.js Close GH-425: Backing out goog.inherits and adding back the previous inheritance API. fixes #415. 2013-04-09 13:43:35 -07:00
core.js add fix for localization of not supported message 2014-08-20 15:04:30 -07:00
events.js added timeout fix and tests. 2014-09-02 12:39:08 -07:00
flash.js Move manual events into tech controller 2014-08-14 15:08:37 -07:00
lib.js Fixed console log tests that were breaking in IE8 2014-08-14 16:15:13 -07:00
media.html5.js Make sure the error property is set before proxying through the tech. 2014-09-05 13:36:50 -07:00
media.js Changed to feature prefix over suffix to make it read more as a boolean 2014-09-02 16:22:43 -07:00
mediafaker.js Fixes #1481 2014-09-05 13:32:15 -07:00
menu.js Adjusting menu to use title given in options 2014-04-03 23:35:15 -07:00
player.js fixes #1512, fixes #1507 2014-09-16 14:53:46 -07:00
plugins.js Updated grunt and grunt-contrib versions to fix PhantomJS bug 2013-04-09 10:42:41 -07:00
poster.js Added a test for the posterImage source getter 2013-12-02 08:11:22 -08:00
setup.js update test/unit/{media.html5,setup}.js to adhere to jshint 2013-02-08 17:27:04 -05:00
test-helpers.js added timeout fix and tests. 2014-09-02 12:39:08 -07:00
tracks.js Added tests for cue times with flags 2014-06-13 13:41:23 -07:00
util.js add fix for localization of not supported message 2014-08-20 15:04:30 -07:00