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

video is not loaded on iOS devices at first visit


I have a website, which uses jwplayer.

When the visitor reaches the page first time, the video is not loaded. This issue can be seen, when entering https://www.omgyes.com/ first time on Iphone 6, and tap the play icon in hero section.

Any ideas about this?

14 Community Answers

Alex

JW Player Support Agent  
0 rated :

Hi there,

When I visited your site on an iPhone, I tapped the play button in the hero section and then a player popped up which wanted to tap the play button again to start. Unfortunately, this is expected behavior on iOS because videos cannot be automatically started on iOS (or Android). This is a limitation of those mobile operating systems and nothing our player can do to work around this.

Please let me know if you need any more help or have any other questions.

Thank you!

Levon

User  
0 rated :

Hi Alex,

Thank you for your response!

Please clear your browser cache, and go to http://www.omgyes.com
Now when you tap play button, video is not loaded at all. And with "!" error in the middle.

But when you refresh the page, and hit the play button again, the player is loaded correctly, and then when you tap play button already in the player, video plays correctly.

So, yesterday our team migrated from jwplayer 7.3 to 7.4.4.... this bug was solved for iOS devices, but unfortunately on android devices video was not playing at all. So we had to come back to jwplayer 7.3.

Here is the code describing jwplayer options which are used on that page:

jwplayerOptions = {
flashplayer: playerBaseURL + 'jwplayer.flash.swf',
skin: {name: 'glow'},
width: "100%",
aspectratio: "16:9",
primary: 'flash', // so we can use the RTMP stream when possible
// primary : 'html5',
rtpm: {
bufferlength: 3
},
androidhls: true,
displaytitle: false,
captions: {
color: '#ffffff',
fontSize: 16,
backgroundOpacity: 50
}
};


Looking forward to hear from you.

Levon

User  
0 rated :

In case if you need whole code in the file, please tell.

Thanks.

Alex

JW Player Support Agent  
0 rated :

Hi Levon,

I just tried your page on both iOS 9.3 and Android 5, after clearing the cache on both devices and the video on the front page of your site played fine for me each time without having to re-load the page first. If you are still experiencing this issue, can you please let me know what exact versions of iOS (and/or Android) you are seeing this on and also please make sure you don’t have any content-blocker apps installed on your devices.

Thank you.

Levon

User  
0 rated :

Hey Alex!

Thank you for quick response again :)

I am using iPhone 6 (iOS 9.3.3), and the issue is still there. Please go that page via Chrome (New Incognito Tab), and tap the play button. And you will see the issue.

I saw you also replied me via email, so I will attach a screenshot what I am talking about!

Thank you.

Alex

JW Player Support Agent  
0 rated :

Levon,

We don’t support the player in Chrome on iOS. We only support our player in Safari on iOS devices. You can read more about the browsers and devices we support, along with the media formats supported in those browsers and devices, on the following support articles:

Browser & Device Reference
Media Format Reference

Levon

User  
0 rated :

Same is on Safari Alex.

Thanks.

Alex

JW Player Support Agent  
0 rated :

Hi Levon,

I was finally able to reproduce it on a co-worker’s device. For some reason, I was unable to on mine even though I am running iOS 9.3.3. It appears to be throwing this error:

undefined is not an object (evaluating 't.load')

I would like to ask you to try the following:

1. Try to reproduce the issue with the latest version of the player, 7.4.4, which you can download from the “Downloads” section of your Account Dashboard.
2. Try to reproduce the issue while keeping the JavaScript library for the player separate and not concatenating it into libs.min.gz.js.
3. If you are still able to reproduce the issue after trying the above, try reproducing it when its not loading in a modal.

Thank you.

Levon

User  
0 rated :

Hi Alex!

We migrated to 7.5 version and separated library file. The issue was resolved by that!

But now our captions are not visible for desktop devices. Please check that out when you are here.

Update me as soon as possible please, we are about to deploy. My email: levon1.grigoryan@gmail.com

Thank you.

Alex

JW Player Support Agent  
0 rated :

Levon,

All five captions tracks are working for me in Chrome on a Mac. What browser and operating system are you using when you can’t see the captions?

Levon

User  
0 rated :

Oh thanks for this quick reply!

Sorry you have to look this url
https://uat.omgyes.com/

Thanks.

Please add me in skype if comfortable to resolve this quick! its urgent really!

my skype: levon.grigoryan251290

thanks a lot!

Alex

JW Player Support Agent  
0 rated :

Hi Levon,

I don’t have the ability to Skype people, nor am I able to provide email support for Free customers.

I do see how the captions aren’t working on that new URL you sent me, but I am unable to reproduce the same behavior on this test page. It may have something to do with how you are setting up, but since it is very custom-made, I can’t really tell where the issue lies. All I know is that it does not look to be an issue with the player.

Thank you.

Levon

User  
0 rated :

Alex,

Thanks for this response too.

But this issue came up with the migration of jwplayer to 7.5. Everything was working with 7.4 and 7.3.
Please take a look some deeper if possible, can't imagine really what is causing this.

Thanks.

Alex

JW Player Support Agent  
0 rated :

Hi Levon,

I understand but like I said, the issue does not appear to be with the player itself because if you embed the captions in the officially supported way, which has not changed, they work. You may be embedding them using a method that may have worked before but doesn’t now. Even though it’s out of the scope of support we can provide, I never have an issue looking into a customer’s setup to try to figure things out but I am not able to exactly work out how your captions are being embedded. What I would suggest is to make sure however you are embedding the player, content and captions, you end up with a similar setup to what you see on the “Code” tab of my test page.

Thank you.

This question has received the maximum number of answers.