Sie sind nicht angemeldet.

1

Freitag, 25. Januar 2013, 19:30

Does anyone have a solution for iPad "Play Video"?

I can get video to work on everything.

On desktop video will autostart.
On iPhone the video will play fullscreen.
On iPad - the video "hole" is black. You have to tap the screen.
But I am using a black pano as a background - most people
do not know what to do - all they see is a black screen.

I tried adding a graphic to say "Click here to play video".
Well that did not work - because you are clicking the graphic.
What would probably work is using the same graphic but have it
fade out in a few seconds?

What have people done to address this play problem?

HansNyb

Profi

Beiträge: 1 063

Wohnort: Denmark

Beruf: Photographer

  • Nachricht senden

2

Freitag, 25. Januar 2013, 19:46

For the iPad you use a poster image. You can just use an image from the video or just make it like you said with a text "click here."

This is all in the documentation for the videoplayer.

Its all an IOS restriction so cannot be changed by KRpano.

I have done a special trick for AYRTON once to force start the video on the ipad.
http://ayrton.com/360/krp/blitz/juba/sal…e_sua_sala.html


Hans

3

Sonntag, 10. Februar 2013, 14:59

Hello,

what I did to address iPad videos, is to call a video previously through a hotspot or plugin:

Quellcode

1
2
3
<action name="play">
plugin[video].playvideo('videos/test.mp4');
</action>


For your graphic stuff, something like this:

Quellcode

1
2
3
4
5
6
7
8
9
<action name="play">
plugin[video].playvideo('videos/test.mp4');
delayedcall(1,fadegraphic());
</action>

<action name="fadegraphic">
tween(plugin[graphic].alpha,0,0.5,easeoutquad, set(plugin[graphic].visible,false););
set(plugin[graphic].enabled,false);
</action>


Best regards.

HansNyb

Profi

Beiträge: 1 063

Wohnort: Denmark

Beruf: Photographer

  • Nachricht senden

4

Sonntag, 10. Februar 2013, 15:09

Hello,

what I did to address iPad videos, is to call a video previously through a hotspot or plugin:

Quellcode

1
2
3
<action name="play">
plugin[video].playvideo('%SWFPATH%/videos/test.flv');
</action>


For your graphic stuff, something like this:

Quellcode

1
2
3
4
5
6
7
8
9
<action name="play">
plugin[video].playvideo('%SWFPATH%/videos/test.flv');
delayedcall(1,fadegraphic());
</action>

<action name="fadegraphic">
tween(plugin[fadegraphic].alpha,0,0.5,easeoutquad, set(plugin[graphic].visible,false););
set(plugin[graphic].enabled,false);
</action>


Best regards.



JUst remember to use another format. You cannot use flv for iPad.
http://www.krpano.com/plugins/videoplayer/#html5

Hans

5

Sonntag, 10. Februar 2013, 15:12

My bad... already corrected it! *tongue*

Ähnliche Themen