Merge pull request #14 from PLPeeters/master

Added check to avoid 404 error before viewer initialization.
Thanks for contributing. I appreciate it.
This commit is contained in:
Christoph Oberhofer
2015-02-14 21:36:33 +01:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1409,7 +1409,7 @@ define('input_stream',["image_loader"], function(ImageLoader) {
that.setInputStream = function(config) {
_config = config;
video.src = config.src;
video.src = (typeof config.src !== 'undefined') ? config.src : '';
};
that.ended = function() {
+1 -1
View File
@@ -29,7 +29,7 @@ define(["image_loader"], function(ImageLoader) {
that.setInputStream = function(config) {
_config = config;
video.src = config.src;
video.src = (typeof config.src !== 'undefined') ? config.src : '';
};
that.ended = function() {