2018-07-14 13:36:31 +00:00
|
|
|
<!DOCTYPE html>
|
2019-04-28 14:17:35 +00:00
|
|
|
<html lang="<%= env.get("preferences").as(Preferences).locale %>">
|
2018-07-14 13:36:31 +00:00
|
|
|
|
|
|
|
<head>
|
2019-05-05 12:46:01 +00: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-08 15:52:47 +00: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 12:46:01 +00:00
|
|
|
<link rel="stylesheet" href="/css/default.css?v=<%= ASSET_COMMIT %>">
|
2020-03-15 21:46:08 +00:00
|
|
|
<link rel="stylesheet" href="/css/embed.css?v=<%= ASSET_COMMIT %>">
|
2019-05-05 12:46:01 +00:00
|
|
|
<title><%= HTML.escape(video.title) %> - Invidious</title>
|
2018-07-14 13:36:31 +00:00
|
|
|
</head>
|
|
|
|
|
2020-11-17 21:53:45 +00:00
|
|
|
<body class="dark-theme">
|
2020-03-15 21:46:08 +00:00
|
|
|
<script id="video_data" type="application/json">
|
2020-03-29 21:44:45 +00:00
|
|
|
<%=
|
2020-03-15 21:46:08 +00:00
|
|
|
{
|
2020-03-29 21:44:45 +00:00
|
|
|
"id" => video.id,
|
|
|
|
"index" => continuation,
|
|
|
|
"plid" => plid,
|
|
|
|
"length_seconds" => video.length_seconds.to_f,
|
|
|
|
"video_series" => video_series,
|
|
|
|
"params" => params,
|
|
|
|
"preferences" => preferences,
|
|
|
|
"premiere_timestamp" => video.premiere_timestamp.try &.to_unix
|
|
|
|
}.to_pretty_json
|
|
|
|
%>
|
2019-04-13 19:26:32 +00:00
|
|
|
</script>
|
2019-05-06 16:23:14 +00:00
|
|
|
|
|
|
|
<%= rendered "components/player" %>
|
2019-05-09 16:52:37 +00:00
|
|
|
<script src="/js/embed.js?v=<%= ASSET_COMMIT %>"></script>
|
2018-07-14 13:36:31 +00:00
|
|
|
</body>
|
2018-08-17 16:04:38 +00:00
|
|
|
</html>
|