Skip to content

Commit

Permalink
Note that mpv might be usable for watching YouTube streams
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKvalheim committed Nov 6, 2024
1 parent 2fa73eb commit 0cea156
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions css/app/seagl.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ a:not(.btn):not(.label) {
color: inherit;
}
}
.text-muted code {
color: #886063;
background-color: #f9f2f444;
}
figcaption {
text-align: center;

Expand Down
8 changes: 7 additions & 1 deletion watch.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,13 @@
<div class="embed-responsive-item embed-placeholder">
<p>This video is hosted on YouTube.</p>

<p class="text-muted" style="position: absolute;bottom: 0;margin: 1em;">Interested in helping us do better? Please consider <a href="/get_involved">volunteering</a>!</p>
<div class="text-center text-muted" style="position: absolute;bottom: 0;margin: 1em;">
<p>Interested in helping us do better? Please consider <a href="/get_involved">volunteering</a>!</p>
<p class="hidden-xs">
As an alternative to YouTube’s propriety player, you might be able to use:
<code style="white-space: nowrap;"><a href="https://mpv.io/">mpv</a> https://youtu.be/<span style="user-select: all;">{{ stream.youtube_id }}</span></code>
</p>
</div>

<p><a class="btn btn-danger embed-placeholder-continue" href="https://youtu.be/{{ stream.youtube_id }}">View</a></p>

Expand Down

0 comments on commit 0cea156

Please sign in to comment.