* fixes thumbnail images in OpenGraph
parent
2fd9175a79
commit
b4d7f4e268
|
@ -79,7 +79,7 @@ if [[ "${get_data[v]}" ]]; then
|
|||
meta[title]="${strings[title]}"
|
||||
meta[description]="$(jq -r '.description' <<< "$video")"
|
||||
meta[unsafe]="
|
||||
<meta property='og:image' content='$(jq -r '.thumbnails[-1].url' <<< "$video")'>
|
||||
<meta property='og:image' content='https://i.ytimg.com/vi/${get_data[v]}/hqdefault.jpg'>
|
||||
<meta property='og:type' content='video.other'>
|
||||
<meta property='video:duration' content='$(jq -r '.duration' <<< "$video")'>
|
||||
"'<script type="application/ld+json">'"$(jq '{
|
||||
|
|
Loading…
Reference in New Issue