]> git.parisson.com Git - telemeta.git/commitdiff
load sound after timeside player setup
authorolivier <>
Fri, 12 Dec 2008 20:21:52 +0000 (20:21 +0000)
committerolivier <>
Fri, 12 Dec 2008 20:21:52 +0000 (20:21 +0000)
telemeta/templates/mediaitem_detail.html

index d2319f84df9998d14e44f832d490b14996551cfc..652301bb4ada97d06b79f6144693b55b855cae4e 100644 (file)
@@ -32,8 +32,7 @@ TimeSide.load(function() {});
 soundManager.onload = function() {\r
     sound = soundManager.createSound({\r
         id: 'sound',\r
-        url: '{% url telemeta-item-export item.id|urlencode,"mp3" %}',\r
-        autoLoad: true\r
+        url: '{% url telemeta-item-export item.id|urlencode,"mp3" %}'\r
     });\r
 \r
     TimeSide.load(function() {\r
@@ -49,6 +48,7 @@ soundManager.onload = function() {
             soundProvider: provider, \r
             map: map\r
         });\r
+        sound.load();\r
     });\r
 }        \r
 \r