Skip to content

Commit

Permalink
Fixes opening an external player on the watch page passes user playli…
Browse files Browse the repository at this point in the history
…st (#5263)

* Fixes opening an external player on the watch page passes user playlist

* Make `inUserPlaylist` a required prop
  • Loading branch information
absidue authored Jun 16, 2024
1 parent 18b20fa commit 73ed185
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/renderer/components/watch-video-info/watch-video-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ export default defineComponent({
videoThumbnail: {
type: String,
required: true
},
inUserPlaylist: {
type: Boolean,
required: true
}
},
emits: ['change-format', 'pause-player', 'set-info-area-sticky', 'scroll-to-info-area'],
Expand Down
1 change: 1 addition & 0 deletions src/renderer/views/Watch/Watch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@
:get-playlist-loop="getPlaylistLoop"
:length-seconds="videoLengthSeconds"
:video-thumbnail="thumbnail"
:in-user-playlist="!!selectedUserPlaylist"
class="watchVideo"
:class="{ theatreWatchVideo: useTheatreMode }"
@change-format="handleFormatChange"
Expand Down

0 comments on commit 73ed185

Please sign in to comment.