1
0
Fork 0

Player view skeletton

master
Matthieu Lalonde 12 years ago
parent 48a6ecf523
commit a6d436e632

@ -23,14 +23,23 @@ _
"use strict";
var Player = Backbone.View.extend({
el: $("body > div.ui-layout-north")
, elViewport: null
elViewport: null
, $elViewport: null
, playIndex: []
, webAudio: null
, _stateRandom: null
, _stateRepeat: null
, _stateMute: null
, _stateVolume: null
, _stateAudio: null
, initialize: function (options) {
var that = this
;
@ -55,27 +64,51 @@ _
}
, setRandomState: function (random) {
var that = this
;
}
, setRepeatState: function (random) {
var that = this
;
}
, __buttonPlayPause: function (event) {
var that = this
;
}
, __buttonNext: function (event) {
var that = this
;
}
, __buttonPrevious: function (event) {
var that = this
;
}
, __buttonVolumeUp: function (event) {
var that = this
;
}
, __buttonVolumeDown: function (event) {
var that = this
;
}
, __buttonVolumeClick: function (event) {
var that = this
;
}
@ -102,6 +135,42 @@ _
;
}
, _playNext: function () {
}
, _playPrevious: function () {
}
, _playerPause: function () {
}
, _playerStop: function () {
}
, _playerStart: function () {
}
, _setVolume: function (volume) {
}
, _setViewport: function (item) {
var that = this
;
}
, _updateViewportProgress: function (progress, time) {
var that = this
;
}
});
return Player;

Loading…
Cancel
Save