mirror of
https://github.com/videojs/video.js.git
synced 2024-12-10 11:10:19 +02:00
df96a74f6b
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. |
||
---|---|---|
.. | ||
api | ||
require | ||
unit | ||
globals-shim.js | ||
index.html | ||
karma.conf.js |