This commit is contained in:
Manav Rathi
2025-03-25 20:10:33 +05:30
parent 3ab8c348b0
commit 01b65eb608
2 changed files with 15 additions and 3 deletions

View File

@@ -192,12 +192,22 @@
/*
Style the custom video controls we provide.
*/
.pswp-ente .media-controller-container {
min-height: 100%;
border: 1px solid limegreen;
box-sizing: border-box;
max-width: 100%;
max-height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
position: relative;
align-items: center;
}
.pswp-ente .media-controller-container media-controller {
box-sizing: border-box;
border: 1px solid blue;
max-width: 100%;
max-height: 100%;
}
.pswp-ente .media-controller-container media-control-bar {

View File

@@ -312,6 +312,8 @@ export class FileViewerPhotoSwipe {
if (videoPlaylistURL) {
return {
...rest,
width: 1286,
height: 746,
html: hlsVideoHTML(videoPlaylistURL, file.id),
};
} else if (videoURL) {