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

Streaming not working on IOS and Android


Hello

I have a video being streamed here
http://test.avtdigital.com/asia-south-korea

The video works fine on desktop but on ios and android devices i get the following error

"undefined is not a function(evaluatinf 'b.filterPlaylist(c,!1,d.androidhls)')"

My jw player setup is as follows

jwplayer.key = "2UY6GxkzlXW92PKrdtGWUe2yBwC4l7ocojbgxpcbXlA=";
jwplayer("webcast-stream").setup({
id: 'playerID',
width: '100%',
aspectratio: "16:9",
file: videoName,
provider: 'rtmp',
streamer: 'rtmp://ingest.wowza.vualto.com/vualto--live/',
autostart: 'false',
stretching: "exactfit",
skin: "http://cdn1.cache.vualto.com/avtconnect/media/webcasts/_Common/Site/js/Players/skins/glow.xml?ver=1",
controls:playerControl,
primary: "html5",
androidhls:'true',
modes:
[
{
type: 'html5',
config: {
file: videoName,
provider: 'video'
}
},
{
type: "flash",
src: "http://cdn1.cache.vualto.com/avtconnect/media/webcasts/_Common/Site/js/Players/jwplayer.flash.swf"
}
]
}
});

where the file argument is being populated by videoName which is set to out .m3u8 file being hosted by wowza

I cant for the life of me figure it out and I cant find any support articles about it

Can you help at all?

3 Community Answers

Todd

JW Player Support Agent  
0 rated :

I see you updated jwplayer.js to 6.12.4950, but your jwplayer.html5.js is still 6.10. These two files need to be the same version.

jon

User  
0 rated :

durrrr, my bad. had an old version cached.

Thanks a million

Todd

JW Player Support Agent  
0 rated :

Glad to hear that worked. In case anyone else is getting this error and searches the forums, here are a few other causes of that undefined is not a function error:

-If you’re using WordPress and you’re using our JW Player plugin for WordPress, the cloud-hosted player is automatically inserted in the <head> of your posts. If you then also manually include another link to jwplayer.js in the page, you will probably get this error, especially if the versions do not match. In this case, either removing your second link to jwplayer.js or a plugin upgrade will resolve the issue.

-If you’re using jQuery or similar Javascript to control when asynchronous JS calls are being made, you might get this error if you call your jwplayer().setup() before jwplayer.js has been loaded.

If I think of any other causes, I will post them here as well.

This question has received the maximum number of answers.