diff --git a/functions.php b/functions.php index 14e0229..7c2b7c0 100644 --- a/functions.php +++ b/functions.php @@ -208,10 +208,6 @@ function stream_player_shortcode($params = []) { 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'); - $vjsConfig = htmlspecialchars(json_encode([ - 'fluid' => true, - ])); - $params = array_merge([ 'host' => 'stream.openfest.org', 'track' => 'hall-a', @@ -220,7 +216,7 @@ function stream_player_shortcode($params = []) { $urlPrefix = 'https://' . $params['host'] . '/'; return << +