mirror of
https://github.com/videojs/video.js.git
synced 2025-01-02 06:32:07 +02:00
74530d8b3a
If the videojs embed code (a video element) is wrapped in a div with the 'data-vjs-player' attribute on it, that element will be used for the player div and a new one will not be created. In addition, on browsers like iOS that don't support moving the media element inside the DOM, we will not need to clone the element and we could continue to re-use the same video element give to us in the embed code. This could also be extended in the future to change our embed code to a div-only approach if we so choose. |
||
---|---|---|
.. | ||
api | ||
require | ||
unit | ||
globals-shim.js | ||
index.html | ||
karma.conf.js |