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

'undefined' is not a function (evaluating 'k.verionCheck(c)')


Hi, as of today, I have been having issues with a particular embedding causing the error mentioned in the subject line.

I have taken the same video source and put it in two different tests using the embed resource in your site.

http://highprofitpodcasting.com/jwplayer/test.html
http://highprofitpodcasting.com/jwplayer/test2.html

Previously, we were using the method in test.html with no problems.
The error came up in
Mac Safari error: undefined' is not a function (evaluating 'k.versionCheck(c)')
Mac Chrome error: undefined is not a function
Mac Firefox: worked

Also had issues on PC as well.

To try and fix the issue, I tried using the flash version (test2.html) which seems to work. I was wondering what might have changed or what needs to get corrected? I would assume that since I used your embed resource at: https://account.jwplayer.com/#/publish/select/internet

I should have no problem using either method?

I have not tried using any non-flash enabled browser yet to see if this has any impact but am assuming that it will and am concerned that it will not work on non-flash browsers.

24 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

There was an issue this morning with our CDN caching. It should be resolved shortly, sorry for any inconvenience.

rwright

User  
0 rated :

i'm having the same issue here. has it been resolved as of 2:30CDT? thanks

Ethan Feldman

JW Player Support Agent  
0 rated :

It should be resolved. Do you have a link?

rwright

User  
0 rated :

http://dittytv.com/watch/

getting mixed results, working on chrome/firefox mac, not on safari/ios?

Ethan Feldman

JW Player Support Agent  
0 rated :

Seems fine here, also you are using our WP plugin, which is still on 6.9, so nothing was updated.

Ethan Feldman

JW Player Support Agent  
0 rated :

Ahhh, the issue is that you are using our WP plugin, but also using cloud hosting, so you are using 6.9 and 6.10 at the same time. I would disable the WP plugin.

rwright

User  
0 rated :

you're a life savers, thanks so much, that did it! apologize in advance, i know it's been covered, do you have a suggestion on how we can deliver to android audience? we use AWS > Wowza > JW6.

thanks much

Ethan Feldman

JW Player Support Agent  
0 rated :

Np.

Hm, can I see where you are running this?

rwright

User  
0 rated :

you mean embed code?

Ethan Feldman

JW Player Support Agent  
0 rated :

Sure, that works.

rwright

User  
1 rated :

<code><script src="http://jwpsrv.com/library/YXhTVqeMEeKXlSIACpYGxA.js"></script></code>
<div class="myWrapper"><div id='playeriBzQwpmDVkKx'></div></div>
<script type='text/javascript'>
jwplayer('playeriBzQwpmDVkKx').setup({
file: 'http://d8nlaaqx8lu9r.cloudfront.net/livecf/DittyTV247/playlist.m3u8',
image: '',
width: '100%',
aspectratio: '16:9',
skin: 'glow',
autostart: 'true'
});
</script>

Ethan Feldman

JW Player Support Agent  
0 rated :

Under:

image: ’’,

Add:

androidhls:true,

rwright

User  
0 rated :

sure - like this:

<code><script src="http://jwpsrv.com/library/YXhTVqeMEeKXlSIACpYGxA.js"></script></code>
<div class="myWrapper"><div id='playeriBzQwpmDVkKx'></div></div>
<script type='text/javascript'>
jwplayer('playeriBzQwpmDVkKx').setup({
file: 'http://d8nlaaqx8lu9r.cloudfront.net/livecf/DittyTV247/playlist.m3u8',
image: '',
androidhls:true,
width: '100%',
aspectratio: '16:9',
skin: 'glow',
autostart: 'true'
});
</script>

Ethan Feldman

JW Player Support Agent  
0 rated :

Yeah, that will do it.

rwright

User  
0 rated :

checking with a few folks, one worked (Samsung Galaxy Note III, Android 4.4.2) and other (Samsung Galaxy 4, Android 4.4.2) getting 'Error loading media. File could not be played'.

evidently tried in chrome and built in.

Ethan Feldman

JW Player Support Agent  
0 rated :

Well this is an issue with Anroid and HLS natively. Which is why we don’t enable this by default. If you tried the hls stream in a <video> tag, you are likely to have the same issues.

rwright

User  
0 rated :

just heard from another with samsung gal S5 and it worked as well. is there a workaround for the ones that are not playing? or perhaps you could recommend what you might do to ensure android users could see the live stream? thanks again

Ethan Feldman

JW Player Support Agent  
0 rated :

Really, there isn’t much that can be done for HLS on Android, it natively has issues.

rwright

User  
0 rated :

ok. so would publish whole different stream for android? or is there a method that does work outside of HLS for live streaming? thanks

Ethan Feldman

JW Player Support Agent  
0 rated :

Do you have an RTSP stream? You can always provide a direct link to an RTSP for older Android devices.

rwright

User  
0 rated :

we don't have one. will look into, thanks again

Ethan Feldman

JW Player Support Agent  
0 rated :

np

kapil.nawani

User  
0 rated :

I m still having issues check this on safari.

http://goo.gl/jGG0tD

Ethan Feldman

JW Player Support Agent  
0 rated :

The issue here is you are loading our cloud hosted player on your site, but you are also loading our player inside of your own JS file on your site.

Remove this line:

<script src="http://www.punjabkesari.in/javascript/fE7gnBGnEeSmzSIAC0MJiQ.js" > </script>

This question has received the maximum number of answers.