Fix casting timestamp

This commit is contained in:
Brahim Hadriche committed 2023-10-27 20:01:18 -04:00
1 parent 200fb68ab9
commit f58137b326
3 files changed
+12 -4

No files matched your search

@@ -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() {