]> git.parisson.com Git - telemeta.git/commitdiff
Player: make SoudManager prefering HTML5 over Flash
authorThomas Fillon <thomas@parisson.com>
Mon, 3 Apr 2017 21:45:43 +0000 (23:45 +0200)
committerThomas Fillon <thomas@parisson.com>
Mon, 3 Apr 2017 21:45:43 +0000 (23:45 +0200)
telemeta/templates/telemeta/mediaitem_detail.html

index 7260817430cab51ddd035f16e24e7aef01dc718f..0385bc0e5bc4478abc3c0cc6d0a5baf1d0007c95 100644 (file)
@@ -33,8 +33,7 @@
         soundManager.flashVersion = 9;
         soundManager.url = "{{ STATIC_URL }}SoundManager2/swf/";
         soundManager.debugMode = false;
-        soundManager.allowPolling = true;
-        soundManager.useHTML5Audio = false;
+        soundManager.useHTML5Audio = true;
         soundManager.preferFlash = false;
 
         //initializing the visualizers to be passed to the player