mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Fix poster for videos that don't have thumbnail url
This commit is contained in:
parent
5159ec0f6e
commit
655a593c87
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
var options = {
|
var options = {
|
||||||
poster: "<%= player_response["videoDetails"]["thumbnail"]["thumbnails"][-1]["url"] %>",
|
poster: "<%= player_response["videoDetails"]["thumbnail"]["thumbnails"][-1]["url"]? %>",
|
||||||
aspectRatio: "16:9",
|
aspectRatio: "16:9",
|
||||||
preload: "auto",
|
preload: "auto",
|
||||||
playbackRates: [0.5, 1, 1.5, 2]
|
playbackRates: [0.5, 1, 1.5, 2]
|
||||||
|
|
Loading…
Reference in a new issue