muxinc / media-chrome

Custom elements (web components) for making audio and video player controls that look great in your website or app.

Home Page:https://media-chrome.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mediaisfullscreen attribute not correct upon initialization

brandonhub opened this issue · comments

Hey Media Chrome team!

I'm using the React distribution of Media Chrome. I noticed that upon initializing my video, the mediaisfullscreen attribute is set on the MediaController even though the video is not fullscreen. I have to toggle fullscreen on and then off to get it to the attribute to disappear.

Here is a codepen illustrating the issue: https://codesandbox.io/s/media-chrome-fullscreen-bug-35wj82

Thanks @brandonhub -- that seems to be a bug. Not sure exactly why but when we get bandwidth we'll take a closer look