1.started removal of CDNs.\n 2. Improved modular structure for all parts of project including database.
This commit is contained in:
13
static/js/components/video.js
Normal file
13
static/js/components/video.js
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
function videoPlay(elemVideo) {
|
||||
if (!_loading) { // elemVideo.paused &&
|
||||
elemVideo.play();
|
||||
if (_verbose) { console.log("Playing video element: " + elemVideo.name)};
|
||||
}
|
||||
}
|
||||
|
||||
function videoPause(elemVideo) {
|
||||
elemVideo.pause();
|
||||
if (_verbose) { console.log("Pausing video element: " + elemVideo.name)};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user