aboutsummaryrefslogtreecommitdiffstats
path: root/app/assets/javascripts/videojs_loader.js
blob: 48d727fc8e01e74fd616cf4cba9e04ed84b211d4 (plain) (blame)
1
2
3
4
5
6
7
window.onload = function ()
{
    if ($('video').is('*')) {
        $('body').append('<link href="http://vjs.zencdn.net/c/video-js.css" rel="stylesheet">')
        $('body').append('<script src="http://vjs.zencdn.net/c/video.js"></script>')
    }
};