Add button to open embed video in new tab.

Closes #611
Closes https://github.com/TeamPiped/Piped-Redirects/issues/4
This commit is contained in:
FireMaskterK
2021-11-11 08:16:00 +00:00
parent 28dbe2d75d
commit 215e12fafe
2 changed files with 52 additions and 6 deletions

View File

@@ -17,7 +17,6 @@
<Player
ref="videoPlayer"
:video="video"
:video-id="getVideoId()"
:sponsors="sponsors"
:selected-auto-play="selectedAutoPlay"
:selected-auto-loop="selectedAutoLoop"
@@ -277,6 +276,7 @@ export default {
await this.fetchVideo()
.then(data => {
this.video = data;
this.video.id = this.getVideoId();
})
.then(() => {
if (!this.video.error) {