Fix casting timestamp
This commit is contained in:
1 parent
200fb68ab9
commit
f58137b326
3 files changed
+12
-4
No files matched your search
@@ -187,17 +187,19 @@
|
||||
}
|
||||
|
||||
async function playVideoOnTv() {
|
||||
const timestamp = videoStartAtChecked ? videoStartAtTimestamp : undefined;
|
||||
await PlayletApi.playVideo(
|
||||
videoMetadata?.videoId,
|
||||
videoStartAtTimestamp,
|
||||
timestamp,
|
||||
videoMetadata?.title,
|
||||
videoMetadata?.author
|
||||
);
|
||||
}
|
||||
async function queueVideoOnTv() {
|
||||
const timestamp = videoStartAtChecked ? videoStartAtTimestamp : undefined;
|
||||
await PlayletApi.queueVideo(
|
||||
videoMetadata?.videoId,
|
||||
videoStartAtTimestamp,
|
||||
timestamp,
|
||||
videoMetadata?.title,
|
||||
videoMetadata?.author
|
||||
);
|
||||
|
||||
@@ -180,11 +180,13 @@
|
||||
}
|
||||
|
||||
async function playVideoOnTv() {
|
||||
await PlayletApi.playVideo(videoId, videoStartAtTimestamp, title, author);
|
||||
const timestamp = videoStartAtChecked ? videoStartAtTimestamp : undefined;
|
||||
await PlayletApi.playVideo(videoId, timestamp, title, author);
|
||||
}
|
||||
|
||||
async function queueVideoOnTv() {
|
||||
await PlayletApi.queueVideo(videoId, videoStartAtTimestamp, title, author);
|
||||
const timestamp = videoStartAtChecked ? videoStartAtTimestamp : undefined;
|
||||
await PlayletApi.queueVideo(videoId, timestamp, title, author);
|
||||
}
|
||||
|
||||
function openInvidiousInNewTab() {
|
||||
|
||||
Reference in new issue
Block a user