Mercurial > public > sg101
comparison gpp/templates/podcast/detail.html @ 495:2bfb2755f70b
Configure jPlayer to show hours in the duration.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 05 Nov 2011 18:10:30 +0000 |
parents | f0f3966ea44f |
children |
comparison
equal
deleted
inserted
replaced
494:3800f3bcf4a8 | 495:2bfb2755f70b |
---|---|
16 //<![CDATA[ | 16 //<![CDATA[ |
17 var jplayer_media = {{ jplayer_media|safe }}; | 17 var jplayer_media = {{ jplayer_media|safe }}; |
18 $(document).ready(function(){ | 18 $(document).ready(function(){ |
19 $("#jquery_jplayer_1").jPlayer({ | 19 $("#jquery_jplayer_1").jPlayer({ |
20 ready: function () { | 20 ready: function () { |
21 $.jPlayer.timeFormat.showHour = true; | |
21 $(this).jPlayer("setMedia", jplayer_media); | 22 $(this).jPlayer("setMedia", jplayer_media); |
22 }, | 23 }, |
23 swfPath: "{{ STATIC_URL }}js/jplayer", | 24 swfPath: "{{ STATIC_URL }}js/jplayer", |
24 supplied: "{{ jplayer_supplied }}" | 25 supplied: "{{ jplayer_supplied }}" |
25 }); | 26 }); |