]> git.parisson.com Git - telemeta.git/commitdiff
back to flash player by default (seeking bug with HTML5)
authorGuillaume Pellerin <yomguy@parisson.com>
Thu, 15 Jan 2015 16:21:03 +0000 (17:21 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Thu, 15 Jan 2015 16:21:03 +0000 (17:21 +0100)
telemeta/models/media.py
telemeta/templates/telemeta/mediaitem_detail.html

index 7c54e0769237d1ab0d65061f164b3db3cd44eebf..c2d21e89bef487053053bb95400591ff9f85894e 100644 (file)
@@ -779,7 +779,7 @@ class PlaylistResource(ModelCore):
     "Playlist components"
     RESOURCE_TYPE_CHOICES = (('item', 'item'), ('collection', 'collection'),
                              ('marker', 'marker'), ('fonds', 'fonds'), ('corpus', 'corpus'))
-    element_type = 'playlist_resource'
+    element_type       = 'playlist_resource'
     public_id          = CharField(_('public_id'), required=True)
     playlist           = ForeignKey('Playlist', related_name="resources", verbose_name=_('playlist'))
     resource_type      = CharField(_('resource_type'), choices=RESOURCE_TYPE_CHOICES, required=True)
index 91033ad9b923aa4f1e364d5150400df50b02e467..be0b9869aa1e390770c7f5e7b841249df0d92720 100644 (file)
@@ -34,7 +34,7 @@
         soundManager.url = "{{ STATIC_URL }}timeside/swf/";
         soundManager.debugMode = false;
         soundManager.allowPolling = true;
-        soundManager.useHTML5Audio = true;
+        soundManager.useHTML5Audio = false;
         soundManager.preferFlash = false;
 
         //initializing the visualizers to be passed to the player