diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2013-06-11 21:50:49 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2013-06-11 21:50:49 +0200 |
commit | adaed6db74ee721e6a987454addb6b2e4c13b1e5 (patch) | |
tree | 91be8477ed49b3c0309f2b3e2c32e7e841e7b083 /app/assets | |
parent | b86ce4923c74970e30d5393696d1ff7113fe7b0b (diff) | |
download | hmnoweb-adaed6db74ee721e6a987454addb6b2e4c13b1e5.tar.gz hmnoweb-adaed6db74ee721e6a987454addb6b2e4c13b1e5.tar.bz2 hmnoweb-adaed6db74ee721e6a987454addb6b2e4c13b1e5.zip |
Configure for Heavymetal.no
Enable all the standard engines:
- blog
- inquiries
- search
- page-images
- videos
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/videojs_loader.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/assets/javascripts/videojs_loader.js b/app/assets/javascripts/videojs_loader.js new file mode 100644 index 0000000..48d727f --- /dev/null +++ b/app/assets/javascripts/videojs_loader.js @@ -0,0 +1,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>') + } +};
\ No newline at end of file |