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

Thursday, January 29th 2015, 11:50pm

open 360video not to the full size of viewer

Hi,

I would like to open a 360video as an overlay window, which would take only a part of viewer's area.
I.e. just as normal video plays in the example below:
http://krpano.com/examples/118/examples/…er/example.html

I would like to repeat the same thing, but with 360video instead.

But all my attempts lead to 360video taking 100% width and height of my viewer... :(

Is there at all any possibility to open 360video not to the full size of viewer's box?

Best regards
Vladislav Ermolin

Tuur

Sage

Posts: 3,115

Location: Netherlands

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

  • Send private message

2

Friday, January 30th 2015, 11:49am

Hi,

Some time ago i made an simple tech example for that.
360video with an 360video overlay.
Click the red button to show the overlay.
I suppose that is what you mean?

http://www.virtualtuur.com/movinghotspots2/2ndscreen/1/

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

3

Saturday, January 31st 2015, 9:18am

Thank you Tuur, nicely made!
But that is not exactly what I was asking about :(
I wanted to have both players IN ONE embedded krpano-player, but not in two different players (one of which is opened in iframe) as it is done in your solution.


I also had the idea to open second player embedded in another div or iframe, and it works...


The problem which I could not solve in such way was connected to the rule that video can't start to play automatically on iOS.
Therefore by starting your example in iPad, even if you set pausedonstart="false" for the player embedded in iframe, still in order to make this iframe-video to play, user has to CLICK TWICE: 1 on red button and 2 inside iframe.
And I was hoping TO AVOID SUCH DOUBLE INTERACTION, by placing somehow inside one embedded player a photo-pano with such red button and videoplugin with 360video in it.
Then in your example it would mean that iframe-video would start in iOS just by clicking red button (which does not violate the iOS-rule prohibiting playing video without interaction)...


Do you think it is possible to solve somehow in one or another way?


Many thanks in advance.
Vladislav Ermolin

Tuur

Sage

Posts: 3,115

Location: Netherlands

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

  • Send private message

4

Saturday, January 31st 2015, 11:24am

Not at the moment i think.

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

KiboOst

Trainee

Posts: 83

Location: France

Occupation: TD

  • Send private message

5

Saturday, January 31st 2015, 12:05pm

I have video auto play on iOS.

pausedonstart="true"
onvideoready="videointerface_videoready();togglepause();"

6

Sunday, February 1st 2015, 2:31am

I have video auto play on iOS.

pausedonstart="true"
onvideoready="videointerface_videoready();togglepause();"
You probably meant:

onvideoready="videointerface_videoready(); videointerface_togglepause();"


I tried it - it does autostart, but only on Desktop iOS :(
In iPhone or iPad one still need to click once on the screen to start video...

Similar threads