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

Commit

Permalink
Merge pull request #79 from nextcloud/backport/78/stable15
Browse files Browse the repository at this point in the history
[stable15] Fill screen in fullscreen mode for public videos. Fixes #77
  • Loading branch information
juliusknorr authored Jan 15, 2019
2 parents 823361a + 1cbc2ba commit 3c5bb91
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,15 @@
height: auto;
}

/* fullscreen public videos see https://github.com/nextcloud/files_videoplayer/issues/77 */
#imgframe .video-js.vjs-fullscreen .vjs-tech {
width:100%;
height:100%;
}

#imgframe .video-js:not(.vjs-fullscreen),
#imgframe .video-js:not(.vjs-fullscreen) .vjs-tech {
max-height: calc(100vh - 280px) !important;
min-width: 300px;
max-width: 100% !important;
}
}

0 comments on commit 3c5bb91

Please sign in to comment.