Open Genide opened 5 years ago
In client.js, you have this section of code.
video.autoplay = true; //video.get(0).play(); video.play(); await timeout(MySet.duration); addClass(video, 'hidden'); await timeout(1000); video.pause(); video.load(); source.removeAttribute('src'); // empty source video.play(); video.removeChild(source); video.muted = true; callback();
I have a couple of questions.
Proposed changes:
video.load(); // Moved up to here video.play(); await timeout(MySet.duration); addClass(video, 'hidden'); await timeout(1000); video.pause(); source.removeAttribute('src'); // empty source video.removeChild(source); video.muted = true; callback();
In client.js, you have this section of code.
I have a couple of questions.
Proposed changes: