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

Why would video load off-center and thus cut off in player?


Any ideas why my video would load off-center and cut off in the player? The file specified as the "image" loads properly, but once the video starts it appears to be cut right in half, with the center of the video lined up with the left hand side of the player and thus only the right half of the video being visible.

And it only seems to load this way in Edge and IE. It loads fine in Chrome.

Thanks!

9 Community Answers

George

JW Player Support Agent  
0 rated :

Hi,

I believe I’ve seen this before. Could you send me the JW Preview page you’re using in the iframe?

d...

User  
0 rated :

Hi George. Thanks for your reply.

Here's the actual code that I'm using - I'm not using an iframe, which makes this very odd:

In the header:

<script src="http://content.jwplatform.com/libraries/Q6U2eGcU.js"></script>

And in the page body:

<div id='my-video'>Loading the player...</div>
<script type="text/javascript">
jwplayer("my-video").setup({
sources: [
{ file: "http://content.jwplatform.com/videos/DzePks3D-JEcaNGJW.mp4" },
{ file: "http://content.jwplatform.com/videos/DzePks3D-o3LDqPry.mp4" }
],
width: "100%",
aspectratio: "16:9",
image: "http://content.jwplatform.com/thumbs/DzePks3D-1920.jpg",
title: 'Emma Bonikowsky - Short Demo Reel',
description: 'A short demo reel of scenes featuring Emma Bonikowsky - Vancouver, BC teenage actress',
mediaid: 'demoreel_020317'
});
</script>

Thanks.

George

JW Player Support Agent  
0 rated :

Do you have a live test page? The code doesn’t point to anything that would warrant that behavior.

d...

User  
0 rated :

Hi again George. Sure, here's a live page:

http://emmabonikowsky.com/demo_reels.htm

In both Edge and IE the video loads "left aligned" in the player, then if you click on the HD option it pushes it even further over to the left cropping it (and the video appears smaller).

Note that the image that initially loads looks good - centered in the player.

Thanks again!

George

JW Player Support Agent  
0 rated :

Hi,

I’m getting a 404 for the page url

d...

User  
0 rated :

Darn. sorry. http://emmabonikowsky.com/demo_reels.html

George

JW Player Support Agent  
0 rated :

Hi,

It seems to be some CSS on your page. Top Left Height and Width are being set to the video tag. When you remove those inline styles, it’s back to normal.

d...

User  
0 rated :

Ah, thanks George! So sorry for pulling you into this. I'll have to dig into that and see where that's happening (I inherited the code). Thanks for going above and beyond the call of duty here!

George

JW Player Support Agent  
0 rated :

Anytime Darrin, glad we were able to figure it out

This question has received the maximum number of answers.