Seems to be working yes, but when you navigate by touch the gyro stops working.
Anybody else experiencing this with the update gyro2.js?
Seems to be working yes, but when you navigate by touch the gyro stops working.
Anybody else experiencing this with the update gyro2.js?
Hi all,
I'm trying to make a KRPano tour containing several videos (with sound) that has to run on iOS as well as other mobile and PC platforms. On iOS I have to start the application with user interaction before the video will start. Thats fine and I understand why iOS does not want its users bothered by autoplaying videos and sound. But my tour consists of several scenes and each scene needs user interaction for the video to start. Is there any (workaround) way to allow playing of the video on the start of a scene without user interaction?
Do I maybe have to change my hierarchy so the plugin lives in the root element and swap videos to prevent a new player being created? If so, how do I reference the <image> that lives in the scene?
My project setup is roughly (just the relevant parts):
<krpano>
<transition>
loadscene(%1)
</transition>
....more stuff
<scene name="scene_1">
<plugin name="video"
url.html5="%SWFPATH%/plugins/videoplayer.js"
url.flash="%SWFPATH%/plugins/videoplayer.swf"
pausedonstart="false"
autopause="true"
autoresume="true"
loop="false"
muted="true"
onloaded="add_video_sources();"
/>
<image>
<sphere url="plugin:video"/>
</image>
<action name="add_video_sources">
videointerface_addsource('2880x1440', '%CURRENTXML%/video/Intro.mp4');
videointerface_play('2880x1440');
</action>
<action name="this is called at a certain point.">
transition(scene_2);
</action>
....more stuff
</scene>
<scene name="scene_2">
<plugin name="video"
url.html5="%SWFPATH%/plugins/videoplayer.js"
url.flash="%SWFPATH%/plugins/videoplayer.swf"
pausedonstart="false"
autopause="true"
autoresume="true"
loop="false"
muted="true"
onloaded="add_video_sources();"
/>
<image>
<sphere url="plugin:video"/>
</image>
<action name="add_video_sources">
videointerface_addsource('2880x1440', '%CURRENTXML%/video/Intro.mp4');
videointerface_play('2880x1440');
</action>
<action name="this is called at a certain point.">
transition(scene_3);
</action>
</scene>
<scene name="scene_3">
<plugin name="video"
url.html5="%SWFPATH%/plugins/videoplayer.js"
url.flash="%SWFPATH%/plugins/videoplayer.swf"
pausedonstart="false"
autopause="true"
autoresume="true"
loop="false"
muted="true"
onloaded="add_video_sources();"
/>
<image>
<sphere url="plugin:video"/>
</image>
<action name="add_video_sources">
videointerface_addsource('2880x1440', '%CURRENTXML%/video/Intro.mp4');
videointerface_play('2880x1440');
</action>
<action name="this is called at a certain point.">
transition(scene_2);
</action>
</scene>
</krpano>
it's paused on start and will have a togglepause on the play pause button. But still the first togglepause is not working.
Only after pressing the window again.
Anybody else?
This is fixed in the beta release 2 (1.19 r2). You should try it.
I think thats an video texture issues isn't it? Because the default browser is playing some of the webgl demos outthere, but all with video dont work.
I noticed it as well, as Tuur said, sometimes almost instantly and most of the times it takes a while.
Would be nice to force it somehow, just for the poster-image.
And ooh yes when you press play before poster image, it sometimes just plays, but the player is black.
Maik
I just updated to the new 1.19 r2. And the video only starts when I press play and press the player again.
you will notice the total duration of the video will only update after the first click.
Is there a change in setup? Was working in 1.18 (besides the audio of course)
Cheers,
Hi,
Is there a way to enable tabs for the the controls?
Need this for accessibility.
Thanks!
aaah sorry was using .time = 0 instead of seek(0)
I've tried a couple of things, like onComplete seek(0). but when I want to play, it's not updating.
So its still thinks its at the end of the file. Anybody had this problem?
Any idea when this iphonesoundurl is planned... Freaking had that iphone restriction.