Invidious is an alternative front-end to YouTube
Fix poster for videos that don't have thumbnail url
Omar Roth655a593c87ed
diff --git a/src/views/watch.ecr b/src/views/watch.ecrindex b30b84b1..1f4a883f 100644--- a/src/views/watch.ecr+++ b/src/views/watch.ecr@@ -25,7 +25,7 @@<script>var options = {- poster: "<%= player_response["videoDetails"]["thumbnail"]["thumbnails"][-1]["url"] %>",+ poster: "<%= player_response["videoDetails"]["thumbnail"]["thumbnails"][-1]["url"]? %>",aspectRatio: "16:9",preload: "auto",playbackRates: [0.5, 1, 1.5, 2]