Add YT embed link to watch page

This commit is contained in:
saltycrys 2020-12-08 19:10:29 +01:00
parent 680dc1f962
commit d42539949e

View file

@ -88,6 +88,7 @@
<div class="h-box">
<span id="watch-on-youtube">
<a href="https://www.youtube.com/watch?v=<%= video.id %>"><%= translate(locale, "Watch on YouTube") %></a>
(<a href="https://www.youtube.com/embed/<%= video.id %>"><%= translate(locale, "Embed") %></a>)
</span>
<p id="embed-link">
<a href="<%= embed_link %>"><%= translate(locale, "Embed Link") %></a>