From f81a07fc37980b3c958eac5eec1255af04eb3f41 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 19 Mar 2015 14:21:32 +0000 Subject: [PATCH] handle empty video element --- source/UI/js/Video/VideoElement.js | 1 + 1 file changed, 1 insertion(+) diff --git a/source/UI/js/Video/VideoElement.js b/source/UI/js/Video/VideoElement.js index 7128c9d2..99c99f82 100644 --- a/source/UI/js/Video/VideoElement.js +++ b/source/UI/js/Video/VideoElement.js @@ -81,6 +81,7 @@ Ox.VideoElement = function(options, self) { self.currentItem = 0; self.currentTime = 0; self.currentVideo = 0; + self.items = []; self.loadedMetadata = false; self.paused = true; self.seeking = false;