diff -r 5e76a06b961c -r 3bf7aa8216e5 src/js/players/player.allocine.js --- a/src/js/players/player.allocine.js Mon Apr 16 19:10:32 2012 +0200 +++ b/src/js/players/player.allocine.js Tue Apr 17 15:03:40 2012 +0200 @@ -36,11 +36,6 @@ window.onAllocineStateChange = IriSP.wrap(this, this.stateHandler); window.onTime = IriSP.wrap(this, this.progressHandler); - var _videoUrl = ( - typeof options.directVideoPath == "string" - ? options.directVideoPath - : IriSP.get_aliased(IriSP.__jsonMetadata["medias"][0], ["href","url"]) - ); var _flashVars = { "streamFMS" : true, "adVast" : false, @@ -48,7 +43,7 @@ "autoPlay" : options.autoPlay, "directVideoTitle" : "", "urlAcData" : options.urlAcData, - "directVideoPath" : _videoUrl, + "directVideoPath" : options.video, "host" : "http://allocine.fr" }