Videos: Play videos in full size (work in progress)
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
fa5d8b42bc
commit
df0d93b1e4
2 changed files with 3 additions and 2 deletions
|
@ -85,7 +85,8 @@ export default {
|
|||
return this.$el.getElementsByTagName('video')[0];
|
||||
},
|
||||
updateStyle() {
|
||||
this.style = `width: ${this.width.toString()}px; height: ${this.height.toString()}px`;
|
||||
// this.style = `width: ${this.width.toString()}px; height: ${this.height.toString()}px`;
|
||||
this.style = `width:100%; height: 100%`;
|
||||
this.$el.style.cssText = this.style;
|
||||
},
|
||||
render() {
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
background-color: rgba(0,0,0,0.66);
|
||||
background-color: rgba(0,0,0,1);
|
||||
}
|
||||
|
||||
#photoprism .video-wrapper {
|
||||
|
|
Loading…
Reference in a new issue