mirror of https://github.com/FreeTubeApp/FreeTube
35 lines
1.0 KiB
Vue
35 lines
1.0 KiB
Vue
<template>
|
|
<div
|
|
v-observe-visibility="{
|
|
callback: onVisibilityChanged,
|
|
once: true,
|
|
}"
|
|
:style="{ display }"
|
|
>
|
|
<ft-list-video
|
|
v-if="visible"
|
|
:data="data"
|
|
:playlist-id="playlistId"
|
|
:playlist-type="playlistType"
|
|
:playlist-index="playlistIndex"
|
|
:playlist-reverse="playlistReverse"
|
|
:playlist-shuffle="playlistShuffle"
|
|
:playlist-loop="playlistLoop"
|
|
:playlist-item-id="playlistItemId"
|
|
:force-list-type="forceListType"
|
|
:appearance="appearance"
|
|
:always-show-add-to-playlist-button="alwaysShowAddToPlaylistButton"
|
|
:quick-bookmark-button-enabled="quickBookmarkButtonEnabled"
|
|
:can-move-video-up="canMoveVideoUp"
|
|
:can-move-video-down="canMoveVideoDown"
|
|
:can-remove-from-playlist="canRemoveFromPlaylist"
|
|
@pause-player="pausePlayer"
|
|
@move-video-up="moveVideoUp"
|
|
@move-video-down="moveVideoDown"
|
|
@remove-from-playlist="removeFromPlaylist"
|
|
/>
|
|
</div>
|
|
</template>
|
|
|
|
<script src="./ft-list-video-lazy.js" />
|