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

Play mp4 with self-hosting


Very newbie question. I did this with the Free version and literally nothing happens, except "Loading the player . . .". Everything is at the root level of the webpage. Any thoughts? Thanks:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<title> JWPlayer Test</title>
<script type="text/javascript" src="/jwplayer/jwplayer.js"></script>
<script type="text/javascript">jwplayer.key="ELeKukIvs1mbEfgOkMnoyFYV65kGLlePoSrLoQ==";</script>
</head>
<body>
<div id="myElement">Loading the player...</div>
<script type="text/javascript">
jwplayer("myElement").setup({
file: "NatKingCole.mp4"
});
</script>
</body>
</html>

1 Community Answers

Randy

JW Player Support Agent  
0 rated :

Hello,

Thank you for contacting the JW Player support team. I think you’re going in the right direction you may want to consult our Quickstart Guide which gives a Step by Step breakdown for first time implementation http://support.jwplayer.com/customer/portal/articles/1406723-mp4-video-embed . From your code I see that you are pulling this from a self-hosted solution, have you tried the cloud-hosted solution? I copied your code and tried the information here and it seems to work for me. Could you confirm with the cloud solution to see if you receive the same error?

Kindly,
Randy

This question has received the maximum number of answers.