diff --git a/catalogue.php b/catalogue.php index bc57d69..5880cd2 100644 --- a/catalogue.php +++ b/catalogue.php @@ -127,7 +127,7 @@ render_head('Videos — TyClifford.com', '
- <?= h($vtitle) ?> + <?= h($vtitle) ?>
NO THUMBNAIL
diff --git a/embed.php b/embed.php index 7bcf824..c12919a 100644 --- a/embed.php +++ b/embed.php @@ -21,7 +21,7 @@ $base_url = $scheme . '://' . $host . $script . '/'; // e.g. https://tyclifford $player_sources = []; if ($video && !empty($video['sources'])) { foreach ($video['sources'] as $source) { - $player_source = source_player_data($source, $base_url . MEDIA_URL); + $player_source = source_player_data($source, public_absolute_url(public_media_url())); if ($player_source) $player_sources[] = $player_source; } } @@ -216,7 +216,7 @@ header('Content-Security-Policy: frame-ancestors *'); class="video-js vjs-default-skin vjs-big-play-centered" controls preload="metadata" - poster="" + poster="" > - poster="" + poster="" data-setup='{"fluid":false,"responsive":true,"playbackRates":[0.5,1,1.25,1.5,2]}'> @@ -348,7 +348,7 @@ render_head('Media — TyClifford.com', '
- <?= h($vtitle) ?> + <?= h($vtitle) ?>
NO THUMB