mirror of
https://github.com/iv-org/invidious.git
synced 2025-04-20 23:46:26 -04:00
Guard video against missing required info.
This commit is contained in:
parent
0c07e9d27a
commit
637aef87c8
@ -1,3 +1,4 @@
|
||||
<% if audio_streams && fmt_stream && preferred_captions && captions %>
|
||||
<video style="outline:none;width:100%;background-color:#000" playsinline poster="<%= thumbnail %>"
|
||||
id="player" class="on-video_player video-js player-style-<%= params.player_style %>"
|
||||
preload="<% if params.preload %>auto<% else %>none<% end %>"
|
||||
@ -87,3 +88,4 @@
|
||||
%>
|
||||
</script>
|
||||
<script src="/js/player.js?v=<%= ASSET_COMMIT %>"></script>
|
||||
<% end %>
|
||||
|
Loading…
x
Reference in New Issue
Block a user