Skip to content

Commit fd51440

Browse files
luwesdylanjha
authored andcommitted
fix: casting state on new cast-button
1 parent 498ed38 commit fd51440

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/js/media-controller.js

+5
Original file line numberDiff line numberDiff line change
@@ -672,6 +672,11 @@ class MediaController extends MediaContainer {
672672
MediaUIAttributes.MEDIA_IS_FULLSCREEN,
673673
this.hasAttribute(MediaUIAttributes.MEDIA_IS_FULLSCREEN)
674674
);
675+
propagateMediaState(
676+
[el],
677+
MediaUIAttributes.MEDIA_IS_CASTING,
678+
this.hasAttribute(MediaUIAttributes.MEDIA_IS_CASTING)
679+
);
675680
propagateMediaState(
676681
[el],
677682
MediaUIAttributes.MEDIA_CURRENT_TIME,

0 commit comments

Comments
 (0)