Dailymotion layering problem solved popcorn-port
authorveltr
Tue, 07 Feb 2012 15:38:23 +0100
branchpopcorn-port
changeset 788 9df15b32efad
parent 787 e8e73fddb5ac
child 789 15c32b49de59
Dailymotion layering problem solved
src/js/players/player.dailymotion.js
--- a/src/js/players/player.dailymotion.js	Tue Feb 07 14:52:39 2012 +0100
+++ b/src/js/players/player.dailymotion.js	Tue Feb 07 15:38:23 2012 +0100
@@ -3,9 +3,10 @@
 
 /** jwplayer player wrapper */
 IriSP.PopcornReplacement.dailymotion = function(container, options) {
+    console.log("Calling");
     /* appel du parent pour initialiser les structures communes à tous les players */
-    IriSP.PopcornReplacement.player.call(this, container, options);
-
+    IriSP.PopcornReplacement.player.call(this, container, options);   
+    
     var _this = this;
 
     /* Définition des fonctions de l'API -  */
@@ -36,7 +37,8 @@
     window.onDailymotionVideoProgress = IriSP.wrap(this, this.progressHandler);
 
     var params = {
-        allowScriptAccess : "always"
+        "allowScriptAccess" : "always",
+        "wmode": "opaque"
     };
     var atts = {
         id : this.container