Commit Graph

10 Commits

Author SHA1 Message Date
Marina Glancy ce1500a8fa MDL-59274 media_videojs: upgrade video.js library and plugins 2017-10-10 12:11:06 +08:00
Damyon Wiese 4a0a23e98f MDL-58472 videojs: Force manual initialise
If we let videojs auto-init the video/audio tags present in the page - we cannot guarantee that the
youtube library will be loaded by the time video.js is processing the tag.

Video.js uses the presence of a data-setup attibute to signal that it should auto-init this tag, so
we have to rename our config attribute to something else.
2017-06-13 09:11:20 +08:00
Marina Glancy 4aaaabb0da MDL-58530 media_videojs: upgrade videojs to 5.18.4 2017-04-07 16:03:15 +08:00
Dan Poltawski da06c81947 MDL-57608 media_videojs: lazily load videojs on demand
The videojs javascript is over 1MB of javascript which we don't need to
load on every page, now that we only require it demand, the js can be
lazily loaded when its needed, which keeps the first.js smaller and more
likely to stay in browser cache.
2017-01-12 10:55:18 +08:00
Marina Glancy 357e9654ba MDL-57608 media_videojs: load youtube module only when requested 2017-01-12 10:55:11 +08:00
Andrew Nicols d8326d8364 MDL-57101 media_videojs: Load legacy events before use 2016-12-02 08:58:19 +08:00
Frederic Massart b52c562a8c MDL-57101 media_videojs: Dynamic loader works on self-matching nodes 2016-12-01 14:51:40 +08:00
Frederic Massart a174f2474f MDL-57101 media_videojs: Set-up player on dynamically loaded content 2016-11-29 12:36:26 +08:00
Marina Glancy d76dd4d064 MDL-56869 media_videojs: upgrade video.js to 5.12.6 2016-11-16 16:27:30 +08:00
Marina Glancy 7e3f637301 MDL-38158 media_videojs: Add Video.JS player 2016-11-04 17:30:43 +08:00