Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

Commit

Permalink
Allow playing videos in fullscreen (#707)
Browse files Browse the repository at this point in the history
* allow fullscreen in videos

* style player for youtube
  • Loading branch information
nonnullish committed Nov 26, 2022
1 parent 4a658d9 commit fbe1f3c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/components/ArticleDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
<iframe
:src="article.media.url"
allowtransparency
allowfullscreen
/>
</div>
</vue-plyr>
Expand Down Expand Up @@ -321,6 +322,15 @@ export default {
border: 0;
}
.plyr__poster {
display: none;
}
.plyr__control--overlaid,
.plyr__control--overlaid:hover {
background: transparent!important;
}
.col {
padding-left: 0;
padding-right: 0;
Expand Down

0 comments on commit fbe1f3c

Please sign in to comment.