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

Tuesday, November 17th 2015, 10:05am

iPhone Simultaneous Video

Hi,

I am working on POC to toggle between two videos of same audio,duration with different video content.It's like two stories past and present.

I used video-player plugin and embedded two videos in html page. Only one video player is visible at a time.Hiding them using css.

For iOS
Video 1
Source : mp4|mp3
Video 2
Source : mp4


I have overriden the action "videointerface_togglepause" and calling a javascript function. In javascript function I am calling toggle pause.


boySideVideo.call("plugin[get(videointerface_video)].togglepause()");
girlSideVideo.call("plugin[get(videointerface_video)].togglepause()");

Bothe videos play/pause simultaneously.

This works fine on iPhone and Desktop.

On iPad it doesn't play video simultaneously.

is the logic for loading video on iPhone is different than iPad ? cause on iPad plays the audio which is part of video.


Please help

benji33

Intermediate

Posts: 244

Location: France

Occupation: Senior Software engineer

  • Send private message

2

Wednesday, November 18th 2015, 3:50pm

On iPhone there is a trick to display video as frames with no sound.
On iPad there is no trick and so only one video can be played at one time ! But with sound.