fix a multipart video bug
This commit is contained in:
parent
0369eaff14
commit
6d1631586c
1 changed files with 2 additions and 1 deletions
|
@ -122,7 +122,8 @@ Ox.VideoElement = function(options, self) {
|
||||||
.css({position: 'absolute'})
|
.css({position: 'absolute'})
|
||||||
.bind({
|
.bind({
|
||||||
ended: function() {
|
ended: function() {
|
||||||
if (i < self.parts - 1) {
|
Ox.print('ENDED', i, item.parts)
|
||||||
|
if (i < item.parts - 1) {
|
||||||
setCurrentPart(self.currentPart + 1);
|
setCurrentPart(self.currentPart + 1);
|
||||||
self.video.play();
|
self.video.play();
|
||||||
} /*else if (self.isPlaylist) {
|
} /*else if (self.isPlaylist) {
|
||||||
|
|
Loading…
Reference in a new issue