import { VideoDetails } from '../../../../shared'
function getVideoUrl (id: string) {
- return window.location.origin + '/api/v1/videos/' + videoId
+ return window.location.origin + '/api/v1/videos/' + id
}
async function loadVideoInfo (videoId: string): Promise<VideoDetails> {
const player = this
player.dock({
- title: videoInfo.name
+ title: videoInfo.name,
+ description: 'Use P2P, other may know you are watching that video.'
})
})
})