You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Friday, September 18th 2015, 9:59pm

krpano iOS 9 support updates (video and sound autoplay)

Hi,

the public iOS 9 version was released a few days ago and Apple wouldn't be Apple when there wouldn't be some compatibility breaks *wacko* ;-):

In iOS 9 it's no longer possible to start playing a video or sound in a touchstart event.

That event will be sent by the browser when the finger first touches the screen. In krpano this relates to layer/plugin/hotspot ondown events or the global onmousedown event.

Additionally the videoplayer and soundinterface plugins are using the touchstart event to start 'autoplay' videos or sounds. That are videos/sounds that should be played without user interaction (e.g. automatically on startup) - in this case these plugins are automatically waiting for the first touch anywhere on the screen to start playing these medias.

Luckily it's still possible to start videos and sounds via the touchend event in iOS 9 - this is the event that will be send when the finger will be removed from the screen. In krpano the touchend event relates to the onup, onmouseup and onclick events.

In most and typical xml codes and examples the onclick event will be already used to play, pause or stop videos and sounds, there this iOS 9 change isn't relevant, but the change is a problem for for the 'autoplaying' videos and sounds.

Therefore here a quick update of the videoplayer and soundinterface plugins. With that update these plugins will now automatically use the touchend event instead of the touchstart event on iOS 9 for starting pending 'autoplay' elements. For updating just replace the videoplayer.js and soundinterface.js files.

The download includes the plugins for krpano version 1.18.x and version 1.19.x:
krpano-ios9-support-update.zip

The updates will be included also in the next krpano releases.

Best regards,
Klaus

Tuur

Sage

Posts: 3,151

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

2

Saturday, September 19th 2015, 12:22am

Thanks for quick anticipation Klaus!

Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

3

Tuesday, September 22nd 2015, 9:10am

Sorry Klaus, but even with your good explanation it´s still a little unclear to me. Maybe it´s to early in the morning *sleeping*

If I understand you correctly, videos being started with the onclick-event are still fully functional even in iOS9?! And if we update to the actual videoplayer-plugin those videos are still being functional on devices NOT using iOS9? So it´s really only a problem if the touchstart-event is used?!

Thanks for the clarification and the (iOS9)bugfixes *thumbup*
NUPSI

Posts: 1,850

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

4

Tuesday, September 22nd 2015, 4:53pm

Nupsi, before you could start the sound/video when you touch the finger to the screen, now it starts when you touch and lift the finger off... "touchend". Klaus found a loophole remaining.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

5

Wednesday, October 7th 2015, 8:44pm

Thank you Klaus! Very helpful as always!

6

Thursday, October 15th 2015, 8:52pm

No audio after dropping files in

I dropped the 1.18 files into a registered version and there is no audio. Thoughts? (ios 9 on iPhone 6S)

7

Friday, October 16th 2015, 8:52am

I dropped the 1.18 files into a registered version and there is no audio. Thoughts? (ios 9 on iPhone 6S)
Link to your example?

8

Saturday, January 9th 2016, 3:19am

take a look at this as example

I dropped the 1.18 files into a registered version and there is no audio. Thoughts? (ios 9 on iPhone 6S)
Link to your example?
http://360videos.gr/wp1/wordpress1/examples/videointerface/

9

Saturday, January 9th 2016, 10:03am

Hi,

the iPhone pano-video-audio-workaround was added in 1.19 - that means use the 1.19 pre-release version.

Best regards,
Klaus

benji33

Intermediate

Posts: 244

Location: France

Occupation: Senior Software engineer

  • Send private message

10

Monday, January 11th 2016, 1:07pm

On iPhone6 iOS9.2 + krpano 1.19.pre3 if there is an audio file into videourl and I use playvideo() action to load videourl on scene start the video doesn't play but the sound yes. Need a touch to start video.
Without sound url, the video is playing directly.

11

Friday, January 15th 2016, 10:36am

Hi beji33,
I had problem same you. I'm using v1.18. I want to play video with sound on iOS browser. Did you solve it? Can you show me your way? Thank you very much

12

Tuesday, January 19th 2016, 4:54am

On iPhone6 iOS9.2 + krpano 1.19.pre3 if there is an audio file into videourl and I use playvideo() action to load videourl on scene start the video doesn't play but the sound yes. Need a touch to start video.
Without sound url, the video is playing directly.

I had same problem !! *confused*

13

Tuesday, January 19th 2016, 8:51pm

Hi,

in the next release all about panoramic video support for iPhone (including audio) will be improved.

Best regards,
Klaus

KiboOst

Trainee

Posts: 83

Location: France

Occupation: TD

  • Send private message

14

Thursday, February 25th 2016, 4:30pm

Do you have any estimation for 1.19pr4 release date ?
I know you are working hard getting all these ready ;-)