v0.5.14 opera videos work V00.05.14
authorcavaliet
Mon, 19 May 2014 13:14:04 +0200
changeset 97 f0d503d2c66c
parent 96 ca0436d50147
child 98 89c912926812
v0.5.14 opera videos work
src/spel/__init__.py
src/spel/templates/partial/spel_opera_annotations.html
src/spel/templates/spel_player.html
--- a/src/spel/__init__.py	Fri May 16 17:24:35 2014 +0200
+++ b/src/spel/__init__.py	Mon May 19 13:14:04 2014 +0200
@@ -1,4 +1,4 @@
-VERSION = (0, 5, 13, "final", 0)
+VERSION = (0, 5, 14, "final", 0)
 
 VERSION_STR = unicode(".".join(map(lambda i:"%02d" % (i,), VERSION[:2])))
 
--- a/src/spel/templates/partial/spel_opera_annotations.html	Fri May 16 17:24:35 2014 +0200
+++ b/src/spel/templates/partial/spel_opera_annotations.html	Mon May 19 13:14:04 2014 +0200
@@ -37,7 +37,7 @@
         <td>
           <span class="glyphicon glyphicon-time popinfo" data-trigger="hover" data-container="body" data-toggle="popover" data-placement="auto" 
                   data-content="<strong>Timecodes:</strong> {{ s.start_ts|str_duration }} - {{ s.start_ts|add:s.duration|str_duration }}"></span>
-          <a class="play-button" href="{% url 'spel_player' %}?g={{ s.iri_id }}&d=opera&f=original_web.mp4#id={{ s.element_id }}" target="_blank"><span class="glyphicon glyphicon-play"></span></a>
+          <a class="play-button" href="{% url 'spel_player' %}?g={{ s.iri_id }}&d=opera&f=720p.mp4#id={{ s.element_id }}" target="_blank"><span class="glyphicon glyphicon-play"></span></a>
         </td>
     </tr>
   {% endfor %}
--- a/src/spel/templates/spel_player.html	Fri May 16 17:24:35 2014 +0200
+++ b/src/spel/templates/spel_player.html	Mon May 19 13:14:04 2014 +0200
@@ -165,9 +165,6 @@
                     }
                 ]
             };
-            if(d=="opera"){
-                _config["widgets"].splice(1,0,{ type: "PlaceholderPlayer" });
-            }
             _myPlayer = new IriSP.Metadataplayer(_config);
         }
     });