mirror of
https://codeberg.org/ashley/poke.git
synced 2025-06-07 17:33:01 -04:00
Update html/watch.ejs
This commit is contained in:
parent
f661ee76a9
commit
10a18905ec
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue