It worked. Thanks for the suggestion.
Posts by Red
-
-
Hi,
I'm having difficulty trying to call and action on a video to pause it at a certain point (eg. 10 secs into the video).
The code I have in the video plugin is
Codeonvideoplay="set(time_reached,false); asyncloop(time_reached == false, if(plugin[video].time GT 10, set(time_reached,true); pause_video(););"
and the pause video action is
Is there anything missing here?
I've tried other actions to call as well if the video time reaches 10 seconds and they also didn't trigger, so assume something to do with .time on the video plugin is not being read with my current code?
Thanks for any help
Red
-
Hi, is there any knowledge of a fix for this? There is still the same issue on update to latest krpano 1.20.6 and Firefox 75.0.
Using Oculus Rift with latest version 16.0.0.118.452.
Thanks. -
Having the same issue with 1.20.1 on Firefox 70.0.1 and Oculus Rift. However it was working initially though not sure if Firefox updated and broke it.
-
-
Hi,
Thanks for the great update. I have an issue with distorted video hotspots not showing in mobile or Oculus Go. Desktop and VR on desktop is okay.
I've rebuilt the tour with 1.20.1 and copy/pasted hotpsot code for the previous tour. devices is set to "all". Any idea why this might be? ThanksCode<hotspot name="video_foyera" devices="all" depth="off" videourl="%SWFPATH%/videos/foyer_screen.mp4" url="%SWFPATH%/plugins/videoplayer.swf" alturl="%SWFPATH%/plugins/videoplayer.js" posterurl="%SWFPATH%/images/shoponline.jpg" preload="true" distorted="true" enabled="false" width="480" height="270" ath="-81.41" atv="-22.66" edge="center" scale="0.295" rx="-6.97" ry="-12.48" rz="4.55" loop="true" pausedonstart="false" directionalsound="true" range="200" volume="0.7" onclick="togglepause();" />
-
Hi,
I'm also trying to call the action in a hotspot onclick like so but the data doesn't populate the div.js(add_html_code(get(data[html_example_code].content), 10));
Is there anything else I need to add to be able to get data to populate the div onclick?
It currently only seems to work in the onloaded attribute of the html_div layer. I know I can have multiple html_div layers with separate data applied to each onloaded.
But is there a way to use just the one html_div layer and add different divs to the layer?Thanks for any help
Red -
Thanks for the confirmation and link Klaus.
-
Gyro not working correctly it seems with Android Chrome browser 65.0.3325.109
Tested with Galaxy S6 and 5. Older browser version was working normally. I updated to the latest Chrome 65 and the gyro is not functioning properly.
Tested on iOS also with the latest Chrome but no issue. So it just seems to be affecting Android.Can this be confirmed?
-
You could use the resetSensor(hlookat) action in the scene's onstart attribute.
eg. onstart="resetSensor(37);"
Hope that helps
-
-
Getting this same issue using the vtour droplet. Any further word on this?
I also see in the vtourskin.xml there's code to trigger a video interface when a pano video scene is loaded and this doesn't show either.
Just wondering if this functionality is a work in progress with the vtour droplet or I'm doing something wrong my end.Here's the code I'm using.
Code<scene name="scene_videopano1" title="vid1" onstart="" thumburl="panos/day1.tiles/thumb.jpg" lat="" lng="" heading=""> <plugin name="video" keep="true" url.flash="%SWFPATH%/plugins/videoplayer.swf" url.html5="%SWFPATH%/plugins/videoplayer.js" videourl.no-ios="vid_2k.mp4|vid_2k.webm" videourl.ios="video/vid_1k.mp4" loop="true" pausedonstart="false" visible="false" panovideo="true" /> <!-- use the videoplayer plugin as panoramic image source --> <image> <sphere url="plugin:video" /> </image>
-
-
Hey Nupsi,
Thanks for the info and possible workaround. Unfortunately it didn't work for me.
My issue seems to be the y cordinate. Tried the same code with y instead of height but still nothing.Cheers
-
Thanks for the suggestions to further isolate.
- Tried updatescreen() and updateobject(true,true) but seemed to have no impact.
-Also tried the cache blocking tips from Klaus here but no joy.
cachebuster-On further testing, the misalignment appears to affect textfields only.
Image layers load with correct alignment but textfield layers don't.-Made sure textfield plugin was updated
- A client has it happen with initial loads on their server also.- The misalignment also happens on a previous tour using pr3 and the current one using pr4.
So stumped on this one. Thanks for any further help
-
When clearing the browser cache and loading the tour, alignment of images and textfields can be out of place, usually higher or lower.
Once reloaded the textfield is aligned properly. Tested on desktop Chrome, Safari. Mobile Chrome and Safari also.
I understand this is some kind of issue to do with caching and the browser, but just wondering if there's anything that can be done krpano code side.
Cheers -
Yeah, it happened to be just that. Thanks.
-
Thanks for that Tuur. Obviously something on my end.
-
Just wondering if touch_mode in gyro2.js and 1.19 pr4 is functional.
I have touch_mode set to "full" in the plugin code.
Am using gyro2 plugin from 1.19 pr4 in 1.19 pr4 project
Tested on Android Chrome and iOS 9.Can't seem to get it working when gyro is activated
Code<plugin name="gyro" devices="html5" keep="true" url="%SWFPATH%/plugins/gyro2.js" enabled="false" touch_mode="full" camroll="true" friction="0.0" velastic="0.0" vrelative="false" onavailable="" />
Any reason what the issue may be/
Cheers -
The example was done with krpano.
It uses image hotspots for the menu