Skip to content

Commit

Permalink
change parameters order, see http://github.com/challet/MooPlay/issues…
Browse files Browse the repository at this point in the history
  • Loading branch information
Clément Hallet committed Aug 11, 2010
1 parent bf4169a commit 8334ea6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Demo/index.html
Expand Up @@ -121,7 +121,7 @@
startPercentage: 0,
step: 0,
});
new MooPlay.Control.LoadProgress(progressbar, $('video'));
new MooPlay.Control.LoadProgress( $('video'), progressbar);

reader = new MooPlay.Subtitle.Player($('video'), $('subtitle'), {
onDisplay: function(element, container, overlapping) {
Expand Down
2 changes: 1 addition & 1 deletion Source/Control/LoadProgress.js
Expand Up @@ -26,7 +26,7 @@ MooPlay.Control.LoadProgress = new Class({

Implements: [Options],

initialize: function(progressbar, video, options) {
initialize: function(video, progressbar, options) {

this.setOptions(options);

Expand Down
1 change: 1 addition & 0 deletions Specs/Sets.js
Expand Up @@ -12,6 +12,7 @@ context.Sets = {
'Control/FastMove/tick',

'Control/LoadProgress/initialize', // todo
'Control/LoadProgress/preload', // todo
'Control/LoadProgress/tick', // todo

'Control/Mute/initialize',
Expand Down

0 comments on commit 8334ea6

Please sign in to comment.