some more fixes
This commit is contained in:
parent
32f4626a50
commit
a7c94a8019
1 changed files with 8 additions and 3 deletions
|
@ -28,7 +28,8 @@ Ox.VideoElement = function(options, self) {
|
|||
return $('<video>')
|
||||
.css({position: 'absolute'})
|
||||
.bind({
|
||||
ended: function() {
|
||||
ended: function(e) {
|
||||
alert(e);
|
||||
if (i < self.parts - 1) {
|
||||
setCurrentPart(self.currentPart + 1);
|
||||
self.video.play();
|
||||
|
@ -49,6 +50,9 @@ Ox.VideoElement = function(options, self) {
|
|||
Ox.print('s.o', self.offsets)
|
||||
that.triggerEvent('loadedmetadata');
|
||||
}
|
||||
},
|
||||
progress: function() {
|
||||
|
||||
},
|
||||
seeked: function() {
|
||||
that.triggerEvent('seeked');
|
||||
|
@ -56,8 +60,9 @@ Ox.VideoElement = function(options, self) {
|
|||
seeking: function() {
|
||||
that.triggerEvent('seeking');
|
||||
},
|
||||
progress: function() {
|
||||
|
||||
stop: function() {
|
||||
self.video.pause();
|
||||
that.triggerEvent('ended');
|
||||
}
|
||||
})
|
||||
.attr(Ox.extend({
|
||||
|
|
Loading…
Reference in a new issue