[SOLVED] Disable livepano on-click functionality  

Got some great idea or a feature request? Post it here and discuss it.
no avatar
dyl4n
Member
 
Posts: 13
Joined: Mon Apr 14, 2014 8:45 pm

[SOLVED] Disable livepano on-click functionality

by dyl4n » Thu May 01, 2014 8:44 pm

Hi, I would like the ability to stop livepano videos from being paused-resumed when clicked.

Ideally the livepano looped video would always run or be controllable (Stop-start) from a toggle button/simple button added through styles page.

User avatar
Destiny
Moderator
 
Posts: 5075
Joined: Mon Apr 26, 2010 11:55 pm
Location: Australia

Re: Disable livepano on-click functionality

by Destiny » Fri May 02, 2014 8:57 am

Hi...

You can try this... Remove these lines marked in RED.. This code is in the Main XML files..

Destiny...


<!-- **** 1 LivePano Spots **** -->


<hotspot name="livepano11"
visible="true"
style="RectVideoDefaultVideoSpotStyle1"
descriptionid=""
ath="-0.000000" atv="-0.443428"
width="960"
height="280"
rx="0"
ry="0"
rz="-89.9291636925535"
onclick="onclicklivepano11"
onvideoreadyspecific="onvideoreadylivepano11"
posterurl="%FIRSTXML%/spots/dsc_0189_livepano_high.jpg"
/>
<hotspot name="livepano11" videourl="%SWFPATH%/spots/dsc_0189_livepano_high.mp4" devices="desktop" />
<hotspot name="livepano11" videourl="%SWFPATH%/spots/dsc_0189_livepano_low.mp4" devices="tablet|mobile" />
<hotspot name="livepano11Loader"
style="RectVideoDefaultVideoSpotStyle1Loader"
ath="-0.000000" atv="-0.443428"
rx="0"
ry="0"
rz="-89.9291636925535"
onloaded="onloadedlivepano11Loader"
/>
<action name="onclicklivepano11">
togglepause();
</action>

no avatar
dyl4n
Member
 
Posts: 13
Joined: Mon Apr 14, 2014 8:45 pm

Re: Disable livepano on-click functionality

by dyl4n » Mon May 05, 2014 3:32 pm

Thanks! This is working. I still get the hand icon but I will try and add a tool tip instead and should be all set!


Return to Panotour Future

Who is online

Users browsing this forum: No registered users and 1 guest