mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-10 17:05:30 +02:00
update position state on audible state change
This commit is contained in:
parent
fff8b3f532
commit
4c74517e9e
2 changed files with 15 additions and 1 deletions
12
src/dom/html/HTMLMediaElement-cpp.patch
Normal file
12
src/dom/html/HTMLMediaElement-cpp.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff --git a/dom/html/HTMLMediaElement.cpp b/dom/html/HTMLMediaElement.cpp
|
||||
index 0b8dee1ca22b1f0ddcf7e6a976f606990104b56e..a3a5a7cfcaa8a4719e56988bc917183fa3cc9d10 100644
|
||||
--- a/dom/html/HTMLMediaElement.cpp
|
||||
+++ b/dom/html/HTMLMediaElement.cpp
|
||||
@@ -455,6 +455,7 @@ class HTMLMediaElement::MediaControlKeyListener final
|
||||
// audible state. Therefore, in that case we would noitfy the audible state
|
||||
// when media starts playing.
|
||||
if (mState == MediaPlaybackState::ePlayed) {
|
||||
+ NotifyMediaPositionState();
|
||||
NotifyAudibleStateChanged(mIsOwnerAudible
|
||||
? MediaAudibleState::eAudible
|
||||
: MediaAudibleState::eInaudible);
|
Loading…
Add table
Add a link
Reference in a new issue