autostart video popup

Q&A about the latest versions
Post Reply
User avatar
CStüben
Posts: 149
Joined: Mon Apr 24, 2017 6:00 pm
Location: Wuppertal, Germany
Contact:

Hi all,
i have a project that contains a video popup. Works perfect.

But now the customer wants the video to be autostart.

I changed the vis_video_file variable to an initial true. The bideo will popup as soon as the vr tour is loaded. But it doesnt play. The start/stop button shows the pause icon, so the player thinks it is running but it doesnt.

Adding some additional cpntainer to make it switchable via html parameter, same problem.

You can see it here:
http://360.haifischbar.de/panoramen/bei ... rt_video=1

you can change the vis_video_file value via url, and watch it in the debug text field at the upper left. But the video only plays when using the video camera icon at the lower right.



So where, when, by which logical condition must i add a audio/video play to autostart the video?

i am using p2vr 6.1.15, will the p2vr7 do it right?
I am still using p2vr6 because my developing mac has osx 10.13.6


Thank you in advance
Greetings from germany
Chris
---
Die Welt ist eine runde Scheibe.
User avatar
CStüben
Posts: 149
Joined: Mon Apr 24, 2017 6:00 pm
Location: Wuppertal, Germany
Contact:

i just have seen a funny effect...

when i start the vr tour from the previous forum post the first time to a NEW TAB, the video will play.
when i start it a second time to a NEW TAB, it will play NOT.

WTF...

greetings from germany
Chris
---
Die Welt ist eine runde Scheibe.
User avatar
CStüben
Posts: 149
Joined: Mon Apr 24, 2017 6:00 pm
Location: Wuppertal, Germany
Contact:

its getting wierder and wierder...

when i start at http://360.haifischbar.de then select the "Beispiele" at the top, then the "Rollos", the video will autostart as it should.

But instead when i enter
http://360.haifischbar.de/mehrbeispiele ... afa528ef61
to start the example page directly, the video will not autostart.

And again WTF...

Any suggestions where i should look first?

greetings from germany
Chris
---
Die Welt ist eine runde Scheibe.
User avatar
CStüben
Posts: 149
Joined: Mon Apr 24, 2017 6:00 pm
Location: Wuppertal, Germany
Contact:

meanwhile i have tried to recompile the vr tour with 7.0.3 ... no success.

i replaced the old 6.1.15 video popup with elements from 7.0.3 ... no success.

And yes, the autotstart property of the video is set to "checked".

;-(

http://360.haifischbar.de/panoramen/bei ... rt_video=1

still the same. when i click the url above from my bookmarks, the video will NOT start.
when i click it here from within the forum, the video will start. I dont understand why.

greetings rom germany
Chris
---
Die Welt ist eine runde Scheibe.
User avatar
CStüben
Posts: 149
Joined: Mon Apr 24, 2017 6:00 pm
Location: Wuppertal, Germany
Contact:

i found an old forum entry ...

it said that videos with sound cannot autorun.

So i set the video popup element to mute ... and tadaaa, the video did autostart.

But unfortunately, i cannot set the volume back to 100%. Neither _main, _background, _videopanorama work.


is there a way to set the video popup element to "unmute" again?


greetings from germany
Chris
---
Die Welt ist eine runde Scheibe.
User avatar
CStüben
Posts: 149
Joined: Mon Apr 24, 2017 6:00 pm
Location: Wuppertal, Germany
Contact:

solved finally. I took two video popups, one set to autorun, one to manual run. And they are set to visible / unvisible as needed,

with no video popup:
http://360.haifischbar.de/panoramen/bei ... rt_video=0

with video popup:
http://360.haifischbar.de/panoramen/bei ... rt_video=1

with video popup autorun:
http://360.haifischbar.de/panoramen/bei ... rt_video=2

with user selectable youtube video (360°, can be rotated too):
http://360.haifischbar.de/panoramen/bei ... 3_tDUXTDLc


greetings from germany
Chris
---
Die Welt ist eine runde Scheibe.
Post Reply