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

iOS - JWPlayer - iPhone X - Landscape - issue


Hi Team,

We are playing a video in JWplayer and it works fine in Portrait mode and Landscape mode on all iPhone devices except iPhone X(Landscape) fullscreen mode.

The progress bar of the iPhone X is not centered. Please let us know how to fix it to center.

Thanks in advance.

8 Community Answers

Heidi

JW Player Support Agent  
1 rated :

Hello,

Do you have a link where I may take a look at your player?

Thanks, Heidi

Heidi Williams-Foy
Team Lead, Support

Tried JW8? Find out more:
https://www.jwplayer.com/jw8/

Martin

User  
0 rated :

Hi Heidi,

Thanks for the reply.

We have added the screenshot to below URL with the description in red color. Please check and let us know.

Screenshot URL: http://osc.techaffinity.com/mobile/jwplayer/screenshot.png

Heidi

JW Player Support Agent  
0 rated :

HI Martin,

Thank you for the screenshot, I will pass this along to our product team to take a look at. If you have a link I would still like to take a look and clarify that no styling on the page could be adding to the issue.

Heidi

Martin

User  
0 rated :

Hi Heidi,

Thanks for the response.

In arrSourceFiles we are adding the video URL in JWSource as below

JWSource *source = [JWSource sourceWithFile:[totalArray objectAtIndex:i] label:[totalArray1 objectAtIndex:i] isDefault:YES];

[arrSourceFiles addObject:source];

and assigning the arrSourceFiles to config.sources

In our app, we are supporting iPhone 6 and iPhone X devices. So we are checking the condition to set the JWplayer frame in if conditions. Please find the code snippet screenshot of the JWplayer below.

http://osc.techaffinity.com/mobile/jwplayer/Code_Snippet.png

Heidi

JW Player Support Agent  
0 rated :

Hello,

I see from your snippet that you are playing video from your native app. I am forwarding your case to our iOS support agent, who can take a look at the code and make recommendations from there.

Heidi

Daniel Berger

JW Player Support Agent  
0 rated :

Hi,

I would be happy to assist you. Can you please confirm that you are using our SDK version 2.7.10 or above? We addressed a similar issue in this release. Here is a link to our release notes: https://developer.jwplayer.com/sdk/ios/docs/developer-guide/about/release-notes/#2-7-10
Please let me know if this issue persists.

Martin

User  
0 rated :

Hi Daniel,

Thanks for the reply and once we migrate the JWPlayer to latest version it worked for us.

But while submitting the IPA file to the app store, Application loader is not Accepting the IPA file and it is throwing errors.

The errors are below
ERROR ITMS-90087: "Unsupported Architectures. The executable for Sport360.app/Frameworks/JWPlayer_iOS_SDK.framework contains unsupported architectures '[x86_64, i386]'."

ERROR ITMS-90209: "Invalid Segment Alignment. The app binary at 'Sport360.app/Frameworks/JWPlayer_iOS_SDK.framework/JWPlayer_iOS_SDK' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version."

ERROR ITMS-90125: "The binary is invalid. The encryption info in the LC_ENCRYPTION_INFO load command is either missing or invalid, or the binary is already encrypted. This binary does not seem to have been built with Apple's linker."

WARNING ITMS-90080: "The executable 'Payload/Sport360.app/Frameworks/JWPlayer_iOS_SDK.framework' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information refer to Technical Q&A QA1788 - Building a Position Independent Executable in the iOS Developer Library."

We are aware of the Known issue of Dynamic library which is in below URL
https://developer.jwplayer.com/sdk/ios/docs/developer-guide/troubleshooting/migration/

For us only iPhone X Landscape issue is arising, So please can you share us the JWPlayer Version 2.7.10 (Build 34 - Nov 15, 2017). So JWPlayer will be a static framework and we can upload the app to the app store with iPhone X landscape issue fixed.

Daniel Berger

JW Player Support Agent  
0 rated :

Hi,

I am not sure the two issues are related (dynamic framework and iPad orientation). You are welcome to use any version of our framework through our Cocoapod: https://cocoapods.org/?q=jwplayer
Please be sure to review our release notes as well: https://developer.jwplayer.com/sdk/ios/docs/developer-guide/about/release-notes/

This question has received the maximum number of answers.