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

Errors getting player to work.


I am having several problems getting the embedded JW player to work.

When I set "primary":"html5" (or leave it as a default) the player works in every browser except IE/Edge
in IE/Edge the message "This text will be replaced with a player." is displayed.

When i set "primary":"flash"
- It works in FIrefox
- In chrome it loads for a moment then says flash plugin failed to load
- In IE/Edge it says "This text will be replaced with a player".

The filetype is mp4

This is my code
---------------------------------------------------
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="jwplayer/jwplayer.js"></script>
<script>jwplayer.key="NDoNxIXotd5wGBwjdgAuzLKrr4Wpt3jhOQgPgA==";</script>
</head>

<body>

<div id="myDiv">This text will be replaced with a player.</div>
<script>

jwplayer("myDiv").setup({
"file": "videos/WEB_INTRO_1.mp4",
"image": "images/P1090566.JPG",
"height": 360,
"width": 640,
"primary":"flash"
});

jwplayer().on('ready', function(e) {
jwplayer("myDiv").play();
});


</script>

</body>

19 Community Answers

Todd

JW Player Support Agent  
0 rated :

That code looks correct. Can you post a link to your reproduction page?

Does your MP4 play directly when you enter the video URL directly in each browser’s address bar?

Johan

User  
0 rated :

Hi,
We have same problems but ut happens only for some ie, older jw player works perfect.

Todd

JW Player Support Agent  
0 rated :

@Johan, do you have have a link to a reproduction page? Please see http://support.jwplayer.com/customer/en/portal/articles/2186238-troubleshooting-creating-a-reproduction-page for the details we need to see. What versions of IE are causing problems for you?

s...

User  
0 rated :

Sorry I dont have it hosted anywhere yet

in IE the console is showing
Unable to get property 'jwplayer.volume' of undefined or null reference

Todd

JW Player Support Agent  
0 rated :

Understood. We will try to reproduce this on our side. Which version of IE are you using? Which version of Windows?

s...

User  
0 rated :

I am using IE 11

s...

User  
0 rated :

Incase it helps
i am on windows 10

Donni

JW Player Support Agent  
0 rated :

I made a test page that has an mp4 and is able to play in IE11 on Windows 10. Here is a screen shot. Let me know if you are still getting that error.

s...

User  
0 rated :

I cannot connect to the test page

Donni

JW Player Support Agent  
0 rated :

Are you able to see the screen shot I attached? If so, are you on a managed network or computer that is possibly blocking access to the player?

s...

User  
0 rated :

I on a home network (not managed)
the error is
ERR_CONNECTION_TIMED_OUT

i have the same problem if i try to view the screenshot

i tried turning my anti virus off as well

Donni

JW Player Support Agent  
0 rated :

At this point I think there’s an issue outside of our control. Are you able to use another network or another machine?

samcoppock

User  
0 rated :

I have attempted to access the video and screenshot from a different machine on a different network (with a different OS)

I still get the same timeout errors

Donni

JW Player Support Agent  
0 rated :

Where are you located?

samcoppock

User  
0 rated :

I am located in the UK

Donni

JW Player Support Agent  
0 rated :

Are you getting that same error when you visit our homepage?

samcoppock

User  
0 rated :

no

samcoppock

User  
0 rated :

Could it help if i switched to JW player 6

if yes can this still be obtained from the site

Donni

JW Player Support Agent  
0 rated :

You should have access to the free version in you JW Dashboard.

This question has received the maximum number of answers.