Skip to content

Commit

Permalink
Add button to open original video in a new tab
Browse files Browse the repository at this point in the history
  • Loading branch information
fredericobormann committed Jul 24, 2020
1 parent 707c88b commit 8b89596
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lecture2gether-vue/src/components/VideoMetaData.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
v-if="videoMetaData.title !== null"
>
{{ videoMetaData.title }}
<v-btn icon
:href="videoMetaData.url"
target="_blank"
v-if="videoMetaData.url !== null"
>
<v-icon>mdi-open-in-new</v-icon>
</v-btn>
</div>
<div>
<a class="creator body-1 meta-data-link"
Expand Down

0 comments on commit 8b89596

Please sign in to comment.