Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Initial video size issue when using aspectratio, Microsoft Edge


This was seen with Edge 41.16299.15.0 / EdgeHTML 16.16299.

Here's a high-level diagram of the situation:

```
- browser: Microsoft Edge
- <video class="myVideo">
- jwplayer("myVideo").setup(config)
- config.width: '100%'
- config.aspectratio: '16:9'
- MP4 video
```

We are running into this video size render issue in Microsoft Edge only. The issue appears on initial render, and can be corrected by switching to a new tab then returning to the video tab. Another way to correct the video size is by shrinking down the Edge window until the player is resized. These "corrections" appear to force Edge to re-paint the CSS, which is correct the 2nd time--however trying to resize the parents manually in javascript did not work.

In our production environment, we're using the commercial version of JWplayer and we playback a few hundred new videos every week to several thousands of clients. Since we do not have the video file sizes available on the UI, we default to using the "aspectratio" option.

We're hoping that someone in the community has insight into this issue, and a possible workaround for Edge.

Here's a test page which can be used to demo the issue:

https://julianfresco.github.io/jwplayer-msedge-issue

1 Community Answers

Heidi

JW Player Support Agent  
0 rated :

Hello,

I was able to reproduce your issue in a test page, and I am escalating this to our engineers. I will update you when I hear back from them.

Thanks, Heidi

This question has received the maximum number of answers.