mirror of https://github.com/FreeTubeApp/FreeTube
Fixes opening an external player on the watch page passes user playlist (#5263)
* Fixes opening an external player on the watch page passes user playlist * Make `inUserPlaylist` a required prop
This commit is contained in:
parent
18b20fa123
commit
73ed185cea
|
@ -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'],
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue