Simplify Youtube API script link

This commit is contained in:
David Baumgold
2013-05-08 13:59:26 -04:00
parent 9effdc57b1
commit 7e22278fcb

View File

@@ -49,10 +49,7 @@
<script src="${static.url('js/vendor/jquery.smooth-scroll.min.js')}"></script>
<script type="text/javascript" src="${static.url('js/vendor/CodeMirror/htmlmixed.js')}"></script>
<script type="text/javascript" src="${static.url('js/vendor/CodeMirror/css.js')}"></script>
<script type="text/javascript">
document.write('\x3Cscript type="text/javascript" src="' +
document.location.protocol + '//www.youtube.com/player_api">\x3C/script>');
</script>
<script type="text/javascript" src="//www.youtube.com/player_api"></script>
<!-- view -->
<div class="wrapper wrapper-view">