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

JW Player doesn't load on my Website

I have followed the steps to set up JW player on my website however, The player doesn't load on my div. below is what I did :

<script src="~/Content/jwplayer-7.8.7/jwplayer.js"></script>
<div id="divSingleVideo">
<script id="JwPlayerScript" type='text/javascript' >
jwplayer('divSingleVideo').setup({ file: '{Video_PLACE_HolDER}', image: '{Image_PLACE_HolDER}', title: '{Title_PLACE_HolDER}', width: '100%', aspectratio: '16:9' });

All the place holder are replaced with the correct value but the video player doesn't load. any idea what I am missing?

1 Community Answers


JW Player Support Agent  
0 rated :

Your code looks correct.

1) Is ~/Content/jwplayer-7.8.7/jwplayer.js the correct URL for your jwplayer.js? We usually do not see ~ in URLs.
2) What kind of video are you using?

This question has received the maximum number of answers.