diff options
Diffstat (limited to 'layouts/partials/footer_scripts.html')
-rw-r--r-- | layouts/partials/footer_scripts.html | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/layouts/partials/footer_scripts.html b/layouts/partials/footer_scripts.html index 5df9aa6..6801f86 100644 --- a/layouts/partials/footer_scripts.html +++ b/layouts/partials/footer_scripts.html @@ -1,5 +1,4 @@ <script src={{ "js/castanet-min.js" | absURL }}></script> -<script src="/audiojs/audio.min.js"></script> <script> $("#share").jsSocials({ shares: [ @@ -28,13 +27,15 @@ ], }); </script> + <script> -audiojs.events.ready(function() { - var as = audiojs.createAll({ - imageLocation: '{{"img/player-graphics.gif" | relURL}}', - retinaImageLocation: '{{"img/player-graphics@2x.gif" | relURL}}', - swfLocation: '{{"swf/audiojs.swf" | relURL}}' - }); - }); + var player = new MediaElementPlayer('player2', { + features: ['playpause', 'current', 'progress', 'duration', 'volume','speed'], + defaultSpeed: 1.0, + // other configuration elements + }); </script> + + + {{ template "_internal/google_analytics_async.html" . }} |