1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-10 11:10:19 +02:00
video.js/test
Brandon Casey df96a74f6b feat: sourceset event (#4660)
Trigger a sourceset event whenever the source is set in the Html5 tech, including initial source. We override the video element's src and setAttribute methods so that we can trigger the sourceset event when people change the src with both the video element and our API methods.
The event object for sourceset will contain the src string that was provided at the time the sourceset was triggered. This is mostly important if a source is being set while a tech is changing.
A Tech has a featuresSourceset option that it can set to for sourceset handling. It can then call the helper triggerSourceset(src) to trigger the sourceset.
2018-03-07 14:28:37 -05:00
..
api feat: playerresize event in all cases (#4864) 2018-01-30 13:26:21 -05:00
require @gkatsev added tests for webpack and browserify bundling and node.js requiring. closes #3558 2016-08-24 16:32:05 -04:00
unit feat: sourceset event (#4660) 2018-03-07 14:28:37 -05:00
globals-shim.js test: fix tests (#3953) 2017-01-19 11:17:46 -05:00
index.html test: fix tests (#3953) 2017-01-19 11:17:46 -05:00
karma.conf.js chore(package): update dependencies (#4908) 2018-01-30 11:18:04 -05:00