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

Too large full screen video in IE and Edge, but Chrome


Hello,
I've put my video on Bootstrap Modal dialogue, and it works fine.
But when I clicked Fullscreen button, my video was enlarged too much as if I had an enormous monitor screen. I could see only a cropped part of full-screened video.
The fullscreen problem only occurs in IE and Edge browser. When I use Chrome, fullscreen mode works properly.

My code is below:
<div class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog">
<div class="modal-content">

<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
<h4 class="modal-title" id="myModalTitle">Modal Header</h4>
</div>

<div class="modal-body">
<div id="myPlayer"></div>
</div>

<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>

</div>
</div>
</div>

jwplayer('myPlayer').setup({
file: '/my/video/path/',
width: '100%',
height: 480,
key: 'my_player_key'
});

Any suggestions for my case? Thank you for your help!

3 Community Answers

Heidi

JW Player Support Agent  
0 rated :

Hello,

When you set the width for the player to a percentage, you will not also be able to set the height, as the player will be in responsive mode. Have you tried removing the width and height parameters, or just the height parameter, to see if that helps?

Heidi

j...

User  
0 rated :

Thank you for your help.
But unfortunately, it doesn't worked for my case. It looks nice for normal play, but looks awkward when it be full-screened.
I think something gets wrong with the modal window...

Heidi

JW Player Support Agent  
0 rated :

Hello,

To troubleshoot this I will need to check your link and see what is going on in the page. Off hand it would be hard to say what is going on with Bootstrap and Edge to cause this behavior.

Heidi

This question has received the maximum number of answers.