Add Video.js styles and script if a stream is active

This commit is contained in:
Vencislav Atanasov 2024-10-30 23:42:23 +02:00
parent bb9a257dd5
commit 42071de21d
1 changed files with 3 additions and 0 deletions

View File

@ -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
} }