Add Video.js styles and script if a stream is active
This commit is contained in:
parent
bb9a257dd5
commit
42071de21d
|
@ -66,6 +66,9 @@ if ($isBeforeEvent) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($activeStream) {
|
if ($activeStream) {
|
||||||
|
wp_enqueue_style('video.js', 'https://unpkg.com/video.js/dist/video-js.css');
|
||||||
|
wp_enqueue_script('video.js', 'https://unpkg.com/video.js/dist/video.min.js');
|
||||||
|
|
||||||
// TODO
|
// TODO
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue