Incorrect behavior on certain JavaScript pieces of code
-- Błąd: uncaught exception: [Exception... "Not enough arguments" nsresult: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)" location: "JS frame :: http://domain/assets/script/movie-player-1.0.js :: VideoControlsProgressbar :: line 99" data: no]
this.Video.Video.addEventListener('pause', function(){ $ths.trackingStop(); });
-- Błąd: uncaught exception: [Exception... "An attempt was made to use an object that is not, or is no longer, usable" code: "11" nsresult: "0x8053000b (NS_ERROR_DOM_INVALID_STATE_ERR)" location: "http://domain/assets/script/movie-player-1.0.js Line: 92"] this.updateDuration = function($x)
{ // How many % from start we want to jump to var $fPercentWidth = ($x - $ths.Progressbar.offset().left) / $ths.Progressbar.width() * 100; $ths.Video.Video.currentTime = $ths.Video.Video.duration * $fPercentWidth / 100; $ths.update(); }
Works everywhere except for Firefox (EVEN ON IE!). Nice job...
Modified
All Replies (1)
A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum. The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.