# HG changeset patch # User veltr # Date 1328625503 -3600 # Node ID 9df15b32efad685caf2f11c85cb6a2929bdebd0e # Parent e8e73fddb5acb18022c8bcc01a87fc172bb4f7e6 Dailymotion layering problem solved diff -r e8e73fddb5ac -r 9df15b32efad 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