mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-13 05:31:37 +08:00
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:
Vendored
+1
-1
@@ -1409,7 +1409,7 @@ define('input_stream',["image_loader"], function(ImageLoader) {
|
|||||||
|
|
||||||
that.setInputStream = function(config) {
|
that.setInputStream = function(config) {
|
||||||
_config = config;
|
_config = config;
|
||||||
video.src = config.src;
|
video.src = (typeof config.src !== 'undefined') ? config.src : '';
|
||||||
};
|
};
|
||||||
|
|
||||||
that.ended = function() {
|
that.ended = function() {
|
||||||
|
|||||||
+1
-1
@@ -29,7 +29,7 @@ define(["image_loader"], function(ImageLoader) {
|
|||||||
|
|
||||||
that.setInputStream = function(config) {
|
that.setInputStream = function(config) {
|
||||||
_config = config;
|
_config = config;
|
||||||
video.src = config.src;
|
video.src = (typeof config.src !== 'undefined') ? config.src : '';
|
||||||
};
|
};
|
||||||
|
|
||||||
that.ended = function() {
|
that.ended = function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user