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

Width & Height


I am working with jwplayer 6 version.
i want to reduce the width & height, but as this jwplayer uses static width & height i am not able to customize this.

so how i will edit the width & height of JWPLAYER.

5 Community Answers

George

JW Player Support Agent  
0 rated :

Hi,

You would want to use:
https://support.jwplayer.com/customer/en/portal/articles/2051720-jw6-javascript-api-reference#resize

Sudhir Ranjan Rout

User  
0 rated :

Hi George,

i refer the above link and put width & height inside jwplayer but still not working.

Here is my code:
jwplayer("myElement").setup({
playlist: [{
file: "jwplayer-7.2.2/MUNA.mp4",
image:"images.jpg",
titile: "My file",
displaytitle: true,
startparam: 'start',
width: 314,
height: 176,
tracks: [{
file: urlToFileVTT,

label: "English",
kind: "captions",
"default": false

}]

}]
});

George

JW Player Support Agent  
0 rated :

Hello Sudhir,

Could you send me a test page replicating the issue as described in the document below?
https://support.jwplayer.com/customer/portal/articles/2186238-troubleshooting-%E2%80%94-creating-a-test-page

Sudhir Ranjan Rout

User  
0 rated :

Hi Goerge,

i found the solution. thanks for this.

if i put width after playlisst object & inside setup() method then this works fine.

George

JW Player Support Agent  
0 rated :

Glad you found the solution

This question has received the maximum number of answers.