gremmie@1
|
1 {% extends 'podcast/base.html' %}
|
bgneal@310
|
2 {% load url from future %}
|
bgneal@487
|
3 {% load script_tags %}
|
bgneal@487
|
4 {% load core_tags %}
|
gremmie@1
|
5 {% block title %}Podcast: {{ podcast.title }}{% endblock %}
|
bgneal@487
|
6 {% block custom_meta %}
|
bgneal@487
|
7 {% open_graph_meta_tags podcast %}
|
bgneal@487
|
8 {% endblock %}
|
bgneal@402
|
9 {% block custom_css %}
|
bgneal@402
|
10 <link type="text/css" href="{{ STATIC_URL }}js/jplayer/skins/blue.monday/jplayer.blue.monday.css" rel="stylesheet" />
|
bgneal@402
|
11 {% endblock %}
|
bgneal@402
|
12 {% block custom_js %}
|
bgneal@487
|
13 {% script_tags "social" %}
|
bgneal@402
|
14 <script type="text/javascript" src="{{ STATIC_URL }}js/jplayer/jquery.jplayer.min.js"></script>
|
bgneal@402
|
15
|
bgneal@402
|
16 <script type="text/javascript">
|
bgneal@402
|
17 //<![CDATA[
|
bgneal@402
|
18 var jplayer_media = {{ jplayer_media|safe }};
|
bgneal@402
|
19 $(document).ready(function(){
|
bgneal@402
|
20 $("#jquery_jplayer_1").jPlayer({
|
bgneal@402
|
21 ready: function () {
|
bgneal@402
|
22 $(this).jPlayer("setMedia", jplayer_media);
|
bgneal@402
|
23 },
|
bgneal@402
|
24 swfPath: "{{ STATIC_URL }}js/jplayer",
|
bgneal@402
|
25 supplied: "{{ jplayer_supplied }}"
|
bgneal@402
|
26 });
|
bgneal@402
|
27 });
|
bgneal@402
|
28 //]]>
|
bgneal@402
|
29 </script>
|
bgneal@402
|
30 {% endblock %}
|
gremmie@1
|
31 {% block podcast-content %}
|
bgneal@225
|
32 <div class="breadcrumbs">
|
bgneal@310
|
33 <a href="{% url 'podcast.views.index' %}">Podcast Index</a> >> {{ podcast.title }}
|
gremmie@1
|
34 </div>
|
gremmie@1
|
35 <h3>{{ podcast.pubdate|date:"F d, Y" }} • {{ podcast.title }}</h3>
|
gremmie@1
|
36 <h4>{{ podcast.subtitle }}</h4>
|
gremmie@1
|
37 {{ podcast.summary|linebreaks }}
|
bgneal@402
|
38
|
bgneal@402
|
39 <p>Listen:</p>
|
bgneal@402
|
40 <div id="jquery_jplayer_1" class="jp-jplayer"></div>
|
bgneal@402
|
41 <div class="jp-audio">
|
bgneal@402
|
42 <div class="jp-type-single">
|
bgneal@402
|
43 <div id="jp_interface_1" class="jp-interface">
|
bgneal@402
|
44 <ul class="jp-controls">
|
bgneal@402
|
45 <li><a href="#" class="jp-play" tabindex="1">play</a></li>
|
bgneal@402
|
46 <li><a href="#" class="jp-pause" tabindex="1">pause</a></li>
|
bgneal@402
|
47 <li><a href="#" class="jp-stop" tabindex="1">stop</a></li>
|
bgneal@402
|
48 <li><a href="#" class="jp-mute" tabindex="1">mute</a></li>
|
bgneal@402
|
49 <li><a href="#" class="jp-unmute" tabindex="1">unmute</a></li>
|
bgneal@402
|
50 </ul>
|
bgneal@402
|
51 <div class="jp-progress">
|
bgneal@402
|
52 <div class="jp-seek-bar">
|
bgneal@402
|
53 <div class="jp-play-bar"></div>
|
bgneal@402
|
54 </div>
|
bgneal@402
|
55 </div>
|
bgneal@402
|
56 <div class="jp-volume-bar">
|
bgneal@402
|
57 <div class="jp-volume-bar-value"></div>
|
bgneal@402
|
58 </div>
|
bgneal@402
|
59 <div class="jp-current-time"></div>
|
bgneal@402
|
60 <div class="jp-duration"></div>
|
bgneal@402
|
61 </div>
|
bgneal@402
|
62 <div id="jp_playlist_1" class="jp-playlist">
|
bgneal@402
|
63 <ul>
|
bgneal@402
|
64 <li>{{ podcast.title }} - {{ podcast.subtitle }}</li>
|
bgneal@402
|
65 </ul>
|
bgneal@402
|
66 </div>
|
bgneal@402
|
67 </div>
|
bgneal@402
|
68 </div>
|
bgneal@402
|
69
|
bgneal@402
|
70 <br />
|
bgneal@402
|
71 <p> Or download:</p>
|
bgneal@143
|
72 <ul>
|
bgneal@143
|
73 <li>
|
bgneal@143
|
74 <a href="{{ podcast.enclosure_url }}">Download Now ({{ ext }})</a> •
|
bgneal@143
|
75 {{ podcast.enclosure_length|filesizeformat }} • {{ podcast.duration }}
|
bgneal@143
|
76 </li>
|
bgneal@143
|
77 {% if alt_ext %}
|
bgneal@143
|
78 <li>
|
bgneal@143
|
79 <a href="{{ podcast.alt_enclosure_url }}">Download Now ({{ alt_ext }})</a>
|
bgneal@143
|
80 </li>
|
bgneal@143
|
81 {% endif %}
|
bgneal@143
|
82 </ul>
|
bgneal@487
|
83 {% social_sharing podcast.search_title podcast.get_absolute_url %}
|
gremmie@1
|
84 {% endblock %}
|