• Dan Poltawski's avatar
    MDL-57608 media_videojs: lazily load videojs on demand · da06c819
    Dan Poltawski authored and Marina Glancy's avatar Marina Glancy committed
    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.