Fix casting timestamp
This commit is contained in:
1 parent
200fb68ab9
commit
f58137b326
3 files changed
+12
-4
No files matched your search
@@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Pagination support in web app search (load more button)
|
||||
- Video links pasted into the web app triggers the dialog to cast the video
|
||||
|
||||
### Fixed
|
||||
|
||||
- A bug where casting from web included timestamp even if the "Start at" check box is unchecked
|
||||
|
||||
## [0.14.0] - 2023-10-25
|
||||
|
||||
### Added
|
||||
|
||||
@@ -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