Download:
child 11:f6d69f193b52
parent 9:01834467d583
10:3fa199c9ea32
Anton Shestakov <av6@dwimlabs.net>, Sat, 22 Oct 2016 20:15:25 +0800
player: refuse to play if there's already a script processor node active

1 файлов изменено, 4 вставок(+), 0 удалений(-) [+]
player.js file | annotate | diff | comparison | revisions
--- a/player.js Sat Oct 22 19:28:45 2016 +0800
+++ b/player.js Sat Oct 22 20:15:25 2016 +0800
@@ -160,6 +160,10 @@
},
play: function() {
+ if (this.node) {
+ return;
+ }
+
var limit = this.i16Max;
var player = this;