Feat: Multiplayer sessions added using CRUD database.
This commit is contained in:
15
static/js/components/common/video.js
Normal file
15
static/js/components/common/video.js
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
import Utils from '../../lib/utils.js';
|
||||
|
||||
function videoPlay(elemVideo) {
|
||||
if (!_loading) { // elemVideo.paused &&
|
||||
elemVideo.play();
|
||||
Utils.consoleLogIfNotProductionEnvironment("Playing video element: " + elemVideo.name);
|
||||
}
|
||||
}
|
||||
|
||||
function videoPause(elemVideo) {
|
||||
elemVideo.pause();
|
||||
Utils.consoleLogIfNotProductionEnvironment("Pausing video element: " + elemVideo.name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user