-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
26f5c71
commit 04b28d7
Showing
4 changed files
with
241 additions
and
529 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,45 @@ | ||
<!DOCTYPE html><html><head><meta charset="utf-8"> | ||
<title>{{ title }}</title> | ||
<meta content="utf-8" http-equiv="encoding"> | ||
<meta content="text/html;charset=utf-8" http-equiv="Content-Type"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link href="assets/videojs/video-js.min.css" rel="stylesheet"> | ||
<link href="assets/article.css" rel="stylesheet" type="text/css"> | ||
<style type="text/css"> | ||
body {background: {{ background_color }};} | ||
</style> | ||
<link id="favicon" rel="shortcut icon" href="profile.jpg" type="image/jpeg"> | ||
<script src="assets/videojs/video.min.js"></script> | ||
<script src="assets/ogvjs/ogv-support.js"></script> | ||
<script src="assets/ogvjs/ogv.js"></script> | ||
<script src="assets/videojs-ogvjs.js"></script> | ||
<script src="assets/polyfills.js"></script> | ||
<script src="assets/webp-hero.bundle.js"></script> | ||
</head> | ||
<body> | ||
<div id="content"> | ||
<a href="home.html"><img id="backtolist" src="channels/{{ author.channelId }}/profile.jpg" title="Back to the list" /></a> | ||
<p id="speaker">{{ author.channelTitle }}</p> | ||
<p id="title">{{ title }}</p> | ||
<video class="video-js vjs-default-skin" | ||
id="video_container" | ||
poster="videos/{{ video_id }}/video.webp" | ||
width="480px" height="270px" | ||
controls="true" | ||
{% if autoplay %}autoplay="true"{% endif %} | ||
preload="true" | ||
data-setup='{"techOrder": ["html5", "ogvjs"], "ogvjs": {"base": "assets/ogvjs"}, "autoplay": {% if autoplay %}true{% else %}false{% endif %}, "preload": true, "controls": true, "controlBar": {"pictureInPictureToggle":false}}'> | ||
<source src="videos/{{ video_id }}/video.{{ video_format }}" type="video/{{ video_format }}" />{% if subtitles %} | ||
{% for language in subtitles %}<track kind="subtitles" src="videos/{{ video_id }}/video.{{ language.code }}.vtt" srclang="{{ language.code }}" label="{{ language.name }}" /> | ||
{% endfor %}{% endif %} | ||
</video> | ||
<div id="description"> | ||
<p>{{ description }}</p> | ||
</div> | ||
<div id="date">{{ date }}</div> | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<title>{{ title }}</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link href="assets/videojs/video-js.min.css" rel="stylesheet"> | ||
<link href="assets/article.css" rel="stylesheet" type="text/css"> | ||
<style type="text/css"> | ||
body { | ||
background: {{ background_color }}; | ||
} | ||
</style> | ||
<link id="favicon" rel="shortcut icon" href="profile.jpg" type="image/jpeg"> | ||
<script src="assets/videojs/video.min.js"></script> | ||
<script src="assets/ogvjs/ogv-support.js"></script> | ||
<script src="assets/ogvjs/ogv.js"></script> | ||
<script src="assets/videojs-ogvjs.js"></script> | ||
<script src="assets/polyfills.js"></script> | ||
<script src="assets/webp-hero.bundle.js"></script> | ||
</head> | ||
|
||
<body> | ||
<div id="content"> | ||
<a href="home.html"> | ||
<img id="backtolist" src="channels/{{ author.channelId }}/profile.jpg" title="Back to the list" /> | ||
</a> | ||
<p id="speaker">{{ author.channelTitle }}</p> | ||
<p id="title">{{ title }}</p> | ||
<video class="video-js vjs-default-skin" id="video_container" poster="videos/{{ video_id }}/video.webp" width="480px" height="270px" controls="true" {% if autoplay %}autoplay="true"{% endif %} preload="true" data-setup='{"techOrder": ["html5", "ogvjs"], "ogvjs": {"base": "assets/ogvjs"}, "autoplay": {% if autoplay %}true{% else %}false{% endif %}, "preload": true, "controls": true, "controlBar": {"pictureInPictureToggle":false}}'> | ||
<source src="videos/{{ video_id }}/video.{{ video_format }}" type="video/{{ video_format }}" />{% if subtitles %} | ||
{% for language in subtitles %}<track kind="subtitles" src="videos/{{ video_id }}/video.{{ language.code }}.vtt" srclang="{{ language.code }}" label="{{ language.name }}" /> | ||
{% endfor %}{% endif %} | ||
</video> | ||
<div id="description"> | ||
<p>{{ description }}</p> | ||
</div> | ||
<script src="assets/jquery.min.js" type="text/javascript"></script> | ||
<script src="assets/webp-trigger.js"></script> | ||
</body> | ||
<div id="date">{{ date }}</div> | ||
</div> | ||
<script src="assets/jquery.min.js" type="text/javascript"></script> | ||
<script src="assets/webp-trigger.js"></script> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.