2018-07-14 22:36:31 +09:00
|
|
|
<!DOCTYPE html>
|
2019-04-28 23:17:35 +09:00
|
|
|
<html lang="<%= env.get("preferences").as(Preferences).locale %>">
|
2018-07-14 22:36:31 +09:00
|
|
|
|
|
|
|
<head>
|
2019-05-05 21:46:01 +09:00
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta name="thumbnail" content="<%= thumbnail %>">
|
|
|
|
<%= rendered "components/player_sources" %>
|
2019-06-09 00:52:47 +09:00
|
|
|
<link rel="stylesheet" href="/css/videojs-overlay.css?v=<%= ASSET_COMMIT %>">
|
|
|
|
<script src="/js/videojs-overlay.min.js?v=<%= ASSET_COMMIT %>"></script>
|
2019-05-05 21:46:01 +09:00
|
|
|
<link rel="stylesheet" href="/css/default.css?v=<%= ASSET_COMMIT %>">
|
2019-06-16 23:41:33 +09:00
|
|
|
<link rel="stylesheet" href="/css/darktheme.css?v=<%= ASSET_COMMIT %>">
|
2020-03-16 06:46:08 +09:00
|
|
|
<link rel="stylesheet" href="/css/embed.css?v=<%= ASSET_COMMIT %>">
|
2019-05-05 21:46:01 +09:00
|
|
|
<title><%= HTML.escape(video.title) %> - Invidious</title>
|
2018-07-14 22:36:31 +09:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2020-03-16 06:46:08 +09:00
|
|
|
<script id="video_data" type="application/json">
|
|
|
|
{
|
|
|
|
"id": "<%= video.id %>",
|
|
|
|
"index": "<%= continuation %>",
|
|
|
|
"plid": "<%= plid %>",
|
|
|
|
"length_seconds": "<%= video.length_seconds.to_f %>",
|
|
|
|
"video_series": <%= video_series.to_json %>,
|
|
|
|
"params": <%= params.to_json %>,
|
|
|
|
"preferences": <%= preferences.to_json %>,
|
|
|
|
"premiere_timestamp": <%= video.premiere_timestamp.try &.to_unix || "null" %>
|
2019-04-14 04:26:32 +09:00
|
|
|
}
|
|
|
|
</script>
|
2019-05-07 01:23:14 +09:00
|
|
|
|
|
|
|
<%= rendered "components/player" %>
|
2019-05-10 01:52:37 +09:00
|
|
|
<script src="/js/embed.js?v=<%= ASSET_COMMIT %>"></script>
|
2018-07-14 22:36:31 +09:00
|
|
|
</body>
|
2018-08-18 01:04:38 +09:00
|
|
|
</html>
|