Fullscreen improvements (esp. portrait media)
This commit is contained in:
1 parent
2ab4e064f4
commit
7c0e0133ee
6 files changed
+63
-21
No files matched your search
@@ -31,8 +31,10 @@ customElements.whenDefined("ha-hls-player").then(() => {
|
||||
.muted=${this.muted}
|
||||
?playsinline=${this.playsInline}
|
||||
?controls=${this.controls}
|
||||
@loadedmetadata=${(e) => dispatchMediaLoadEvent(this, e)}
|
||||
@loadeddata=${this._elementResized}
|
||||
@loadeddata=${(e) => {
|
||||
this._elementResized();
|
||||
dispatchMediaLoadEvent(this, e);
|
||||
}}
|
||||
@pause=${() => dispatchPauseEvent(this)}
|
||||
@play=${() => dispatchPlayEvent(this)}
|
||||
></video>
|
||||
|
||||
Reference in new issue
Block a user