1
0
mirror of https://github.com/videojs/video.js.git synced 2024-11-28 08:58:46 +02:00

@misteroneill restore Html5.Events. closes #2421

This commit is contained in:
Pat O'Neill 2015-08-03 15:36:25 -04:00 committed by David LaPalomento
parent f97e84a41e
commit abca8913e1
2 changed files with 32 additions and 0 deletions

View File

@ -86,6 +86,7 @@ CHANGELOG
* @sirlancelot change "video" to "media" in error messages ([view](https://github.com/videojs/video.js/pull/2409))
* @nickygerritsen use the default seekable when a source handler is unset ([view](https://github.com/videojs/video.js/pull/2401))
* @gkatsev always use emulated TextTrackLists so tracks survive tech switches ([view](https://github.com/videojs/video.js/pull/2425))
* @misteroneill restore Html5.Events ([view](https://github.com/videojs/video.js/pull/2421))
--------------------

View File

@ -893,6 +893,37 @@ Html5.supportsNativeTextTracks = function() {
return supportsTextTracks;
};
/**
* An array of events available on the Html5 tech.
*
* @private
* @type {Array}
*/
Html5.Events = [
'loadstart',
'suspend',
'abort',
'error',
'emptied',
'stalled',
'loadedmetadata',
'loadeddata',
'canplay',
'canplaythrough',
'playing',
'waiting',
'seeking',
'seeked',
'ended',
'durationchange',
'timeupdate',
'progress',
'play',
'pause',
'ratechange',
'volumechange'
];
/*
* Set the tech's volume control support status
*