fix a multipart video bug

This commit is contained in:
rlx 2011-08-20 23:11:38 +00:00
parent 0369eaff14
commit 6d1631586c

View file

@ -122,7 +122,8 @@ Ox.VideoElement = function(options, self) {
.css({position: 'absolute'})
.bind({
ended: function() {
if (i < self.parts - 1) {
Ox.print('ENDED', i, item.parts)
if (i < item.parts - 1) {
setCurrentPart(self.currentPart + 1);
self.video.play();
} /*else if (self.isPlaylist) {