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

mp4 url is not working with jwplayer demo app iOS


Hi Team,

I have integrated iOS sdk in my demo app for 360 degree video.
"http://vr.jwplayer.com/content/AgqYcfAT/AgqYcfAT-8yQ1cYbs.mp4" is not playing. I tried with Monoscopic, Top-bottom and Left-right mode.

On other hand "https://content.jwplatform.com/manifests/G3ADNSa0.m3u8" is working fine for top-bottom and left-right mode.

Could you please explain? Mostly I will get monoscopic videos from my client.

Thanks and regards,
Bhavya Bharti

10 Community Answers

Daniel Berger

JW Player Support Agent  
0 rated :

Thanks Bhavya. I was able to recreate your issue. I will escalate this to our engineers as a bug report.

Daniel Berger

JW Player Support Agent  
0 rated :

Hi Bhavya ,

It seems the issue is that your MP4 file is not secure. To rectify this situation can you either modify your PList to allow arbitrary loads or can you make your URL secure?

Thanks,
Daniel

Bhavya Bharti

User  
0 rated :

Thanks Daniel. Yes I can make url secure.
Is jwplayer sdk for 360 degree is in beta?

Daniel Berger

JW Player Support Agent  
0 rated :

Hi Bhavya,

You can build a production level project with our 360 SDKs but please be sure to address the issues in the getting started guide.

Bhavya Bharti

User  
0 rated :

Hi Daniel,

I have purchaged the premium account and have started developing using 360 degree jwplayer sdk.
I am using objective c because I have to integrate jwplayer in my already existing app.

I am facing following issues:
1. Only "onCardboardTrigger" and "onFullscreenToggled" delegate methods are getting called. No other delegate methods are called like play, pause etc.
2. I am facing orientation issue. Steps: - Run app -> Video plays fine in portrait -> click full screen button -> Video plays fine in landscape -> click full screen button again -> video view resizes improperly and all player controls are at landscape only.

Please guide.

Daniel Berger

JW Player Support Agent  
0 rated :

Hi again Bhavya,

I created a demo and that is the not behavior I am experiencing. I will send you a private email to avoid publically disclosing proprietary code.

Bhavya Bharti

User  
0 rated :

Thanks Daniel. Got your email. I will look into it for iphone.

One doubt:
I downloaded sample app of 360 video from https://github.com/jwplayer/jwplayer-ios-bestPracticeApps and executes well. My downloaded app contains only JWPlayerVRSDK.framework. Your sample app contains both JWPlayerVRSDK.framework and JWPlayer-iOS-SDK.framework. Is JWPlayer-iOS-SDK.framework is mandatory to add?

One issue:
Sample app you shared gives orientation issue on iPad. Steps: - Run app -> Video plays fine in portrait -> click full screen button -> Video plays fine in landscape -> rotate device in portrait -> video view resizes improperly and all player controls are hidden.

Please help.

Daniel Berger

JW Player Support Agent  
0 rated :

Hi Bhavya,

Thank you for reviewing my project.
1- Yes, you have to implement both our iOS SDK as well as our VR SDK.
2- If you examine the player’s view size you will see that we set up the player’s view that way. Please feel free to resize the player’s bounds to however you want.

Bhavya Bharti

User  
0 rated :

Hi Daniel,

Is it possible to remove or disable the fullscreen button and cardboard button from the player? Can I do it in my code? Else can I get a sdk with these buttons hidden and disabled?

I cannot use controls = false because I need other controls of the player like seek bar, play, pause.

Please guide.

Thanks,
Bhavya

Daniel Berger

JW Player Support Agent  
0 rated :

Hi Bhavya,

Our 360 SDK is unique in that is does not rely on a css skin. Instead, it relies on Appearance Proxies. Style-able properties within the JWVrVideoView include UIActivityIndicatorView and UISlider.
If Appearance Proxies does not suit your need, for example if you want to change the position of elements within our UI it is also possible to disable our UI by setting JWVrVideoView.controls to NO. This will allow you to implement your own UI on top of the JWVrVideoView.

This information can be found in the getting started guide.

Please let me know if you have any other questions.

This question has received the maximum number of answers.