Turn autoplay off  

Share your tips and tricks here or get help with any Panotour 2.0+ problem!
No bug reports (of any kind) in this forum!
no avatar
Mirre
New member
 
Topic author
Posts: 8
Likes: 0 post
Liked in: 0 post
Joined: Wed Feb 03, 2016 2:04 pm
Info

Turn autoplay off

by Mirre » Thu Mar 22, 2018 10:37 am

How can I turn autoplay off?

User avatar
benji33
Kolor Team
 
Posts: 5631
Likes: 79 posts
Liked in: 181 posts
Joined: Tue Apr 09, 2013 10:59 am
Location: France
Info

Re: Turn autoplay off

by benji33 » Thu Mar 22, 2018 11:39 am

For a video scene ?

no avatar
Mirre
New member
 
Topic author
Posts: 8
Likes: 0 post
Liked in: 0 post
Joined: Wed Feb 03, 2016 2:04 pm
Info

Re: Turn autoplay off

by Mirre » Thu Mar 22, 2018 11:59 am

Yes

User avatar
benji33
Kolor Team
 
Posts: 5631
Likes: 79 posts
Liked in: 181 posts
Joined: Tue Apr 09, 2013 10:59 am
Location: France
Info

Re: Turn autoplay off

by benji33 » Thu Mar 22, 2018 4:40 pm

You have to edit the YOUR_TOUR.xml file and change the value of the scene's scenevideopausedonstart property to true.

Not possible from the Panotour GUI.

Sample:
Code: Select all
<scene name="pano119"
       heading="0"
       group="panogroup120"
       thumburl="%FIRSTXML%/pano_119/thumbnail.jpg"
       backgroundsound=""
       backgroundsoundloops="0"
       haslocalsounds="false"
       haspolygons="false"
       titleid="pano119_title"
       descriptionid="pano119_description"
       multires="false"
       planar="false"
       full360="true"
       video="true"
       onstart="pano119OnStart();"
       scenevideourl="%FIRSTXML%/pano_119/video.mp4"
       scenevideolowresurl=""
       scenevideoloop="true"
       scenevideoposterurl="%FIRSTXML%/pano_119/frame.jpg"
       scenevideolowresposterurl="%FIRSTXML%/pano_119/framelowres.jpg"
       scenevideopausedonstart="true"
       hasiphonesound="false"
       scenevideomute="true"
       scenevideoendaction="false"
       seen="false">

no avatar
Mirre
New member
 
Topic author
Posts: 8
Likes: 0 post
Liked in: 0 post
Joined: Wed Feb 03, 2016 2:04 pm
Info

Re: Turn autoplay off

by Mirre » Thu Mar 22, 2018 5:32 pm

Thank you. Do I have to do this for every specific video in the tour, if I want safari (and future chrome) to play my videos? (since it doesn't accept autoplay anymore) Or only for the first video?

Also, in a different post you mentioned:

"Tip for the action display a video:
Pause the video on start. A play button will be added automatically."

But I cannot find the "Actions" panel, where it says "Paused on start"

Thanks
Attachments
Capture4 (1).png

User avatar
benji33
Kolor Team
 
Posts: 5631
Likes: 79 posts
Liked in: 181 posts
Joined: Tue Apr 09, 2013 10:59 am
Location: France
Info

Re: Turn autoplay off

by benji33 » Fri Mar 23, 2018 10:16 am

It's the yellow line on the image. There is no specific "Paused on Start" action.
It's the action into "Basic > Display a video".

For video scenes you have to change the scenevideopausedonstart property for each video scene.


Who is online

Users browsing this forum: No registered users and 4 guests