separate embed endpoint

This commit is contained in:
2021-05-13 13:29:49 +02:00
parent 8ed4aafc64
commit 432b67eb4a
2 changed files with 19 additions and 15 deletions

View File

@ -1,7 +1,7 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link type="application/json+oembed" href="{{ oembed }}" />
<link type="application/json+oembed" href="{{ path }}?provider={{ provider }}&embed=true" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/video.js/{{ videojs_version }}/video-js.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@silvermine/videojs-chromecast@{{ chromecast_version }}/dist/silvermine-videojs-chromecast.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/video.js/{{ videojs_version }}/video.min.js"></script>