mirror of
https://codeberg.org/ashley/poke
synced 2025-05-30 02:59:43 +00:00
Update html/watch.ejs
This commit is contained in:
parent
f661ee76a9
commit
10a18905ec
@ -3480,9 +3480,9 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||||||
if ('mediaSession' in navigator) {
|
if ('mediaSession' in navigator) {
|
||||||
// Set metadata
|
// Set metadata
|
||||||
navigator.mediaSession.metadata = new MediaMetadata({
|
navigator.mediaSession.metadata = new MediaMetadata({
|
||||||
title: "<%= inv_vid.title %>",
|
title: "<%- inv_vid.title %>",
|
||||||
artist: "<%= video?.Channel?.Name || k.Video.Channel.Name %>",
|
artist: "<%= video?.Channel?.Name || k.Video.Channel.Name %>",
|
||||||
album: "PokeTube",
|
album: "Poke",
|
||||||
artwork: [
|
artwork: [
|
||||||
{
|
{
|
||||||
src: "https://i.ytimg.com/vi/<%=inv_vid.videoId%>/maxresdefault.jpg",
|
src: "https://i.ytimg.com/vi/<%=inv_vid.videoId%>/maxresdefault.jpg",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user