1
0
Fork 0

Player view skeletton

master
Matthieu Lalonde 12 years ago
parent a6d436e632
commit 3562e762ef

@ -28,6 +28,8 @@ _
, playIndex: [] , playIndex: []
, playCursor: 0
, webAudio: null , webAudio: null
, _stateRandom: null , _stateRandom: null
@ -44,6 +46,30 @@ _
var that = this var that = this
; ;
_.bindAll(this
, "setPlayIndex"
, "setRandomState"
, "setRepeatState"
, "__buttonPlayPause"
, "__buttonNext"
, "__buttonPrevious"
, "__buttonVolumeUp"
, "__buttonVolumeDown"
, "__buttonVolumeClick"
, "_createWebAudio"
, "__waStateChanged"
, "_playerEnded"
, "_playerLoading"
, "_playNext"
, "_playPrevious"
, "_playerPause"
, "_playerStop"
, "_playerStart"
, "_setVolume"
, "_setViewport"
, "_updateViewportProgress"
);
Player.__super__.initialize.apply(that); Player.__super__.initialize.apply(that);
that.$el.html(tmplPlayerLayout); that.$el.html(tmplPlayerLayout);
@ -137,26 +163,38 @@ _
} }
, _playNext: function () { , _playNext: function () {
var that = this
;
} }
, _playPrevious: function () { , _playPrevious: function () {
var that = this
;
} }
, _playerPause: function () { , _playerPause: function () {
var that = this
;
} }
, _playerStop: function () { , _playerStop: function () {
var that = this
;
} }
, _playerStart: function () { , _playerStart: function () {
var that = this
;
} }
, _setVolume: function (volume) { , _setVolume: function (volume) {
var that = this
;
} }

Loading…
Cancel
Save