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.

VN2009

Professional

  • "VN2009" started this thread

Posts: 1,336

Location: Duluth MN

  • Send private message

1

Wednesday, July 22nd 2009, 3:04am

video attribute issues

i am trying to set some of the video properties and they are not working. the video is not set visible. the atv and ath are set correctly because when i hover where the video should be, i see the onhover text but not the video. also i have to declare the videourl in the hotspot or it always says 'unable to load video'

i want to declare the videourl so i can use the same hotspot and not have to make one for each video. can't figure out the syntax for the videourl.


set(hotspot[video].videourl,(../world/video/cats-short.flv)); <-- this is where i want it relative to the actual home of krpano.swf
set(hotspot[video].videourl,cats-short.flv); <-- as a test i put it in the same folder as krpano.swf this does not work either
set(hotspot[video].videourl,(cats-short.flv)); <-- does not work either
set(hotspot[video].visible,true); <-- this does not work video is there as handcursor works but it can't be seen

cant figure out how to include the ../ either method does not work unless i declare the path at the hotspot not via "set"


set(hotspot[video].onhover,showtext(View a video)); <-- works
set(hotspot[video].ath,-52.0); <-- works
set(hotspot[video].atv,-80.0); <-- works


<hotspot name="video"
url="../core/plugins/videoplayer.swf"
keep="false"
ath="" atv=""
zoom="false" distorted="true"
width="400" height="300"
scale="0.01" scale9grid="" scalechildren="false" rotate="0"
rx="6.25" ry="-14.75" rz="0.42600149339500243"
edge="center" ox="" oy=""
crop="" ondowncrop="" onovercrop=""
visible="false" enabled="true" handcursor="true" capture="true" children="true"
zorder="0"
alpha="1.00" blendmode="normal" smoothing="true"
refreshrate="auto"
onloaded=""
onover=""
onhover=""
onout=""
ondown=""
onup=""
onclick="if(flying == 0.0, flyout(), flyback() );"
buffertime="0.1"
directionalsound="true"
flying="0"
loop="true"
onvideocomplete=""
pausedonstart="true"
range="110"
updateeveryframe="true"
videourl=""
volume="0.7"
/>

2

Wednesday, July 22nd 2009, 11:47am

Hi,

the "videourl" atttribute can't be changed direct at the moment,

to play a new video use - playvideo(url);

e.g.

Source code

1
hotspot[video].playvideo(../world/video/cats-short.flv);


see here:
http://krpano.com/forum/wbb/index.php?pa…ad&threadID=812

best regards,
Klaus

VN2009

Professional

  • "VN2009" started this thread

Posts: 1,336

Location: Duluth MN

  • Send private message

3

Wednesday, July 22nd 2009, 2:44pm

what about set ... visible="true" not showing the video?

4

Wednesday, July 22nd 2009, 2:51pm

that could be an issue regarding to - pausedonstart="true" - ?

VN2009

Professional

  • "VN2009" started this thread

Posts: 1,336

Location: Duluth MN

  • Send private message

5

Thursday, July 23rd 2009, 4:31am

yes if i pausedonstart=true it will not show. pausedonstart=false works the way it should.

so what are my options if i need it to be hidden and paused? this part of the video is the last piece to my newest creation. is this a flash bug or something that has a work around? or am i screwed?

6

Thursday, July 23rd 2009, 12:08pm

Hi,

it seems to be a bug in the videoplayer plugin, sorry about that!
when I have the solution/fix I will post it,

best regards,
Klaus

VN2009

Professional

  • "VN2009" started this thread

Posts: 1,336

Location: Duluth MN

  • Send private message

7

Thursday, July 23rd 2009, 4:56pm

thank you Klaus. you provide excellent support for your product!

VN2009

Professional

  • "VN2009" started this thread

Posts: 1,336

Location: Duluth MN

  • Send private message

8

Saturday, July 25th 2009, 6:47pm

i came up with a work around for the video. i just let it be visible and waiting for the user to see. i use other actions to hide it when i am relocating it. this all works fine locally but on the internet the video is still hidden. this is all only an issue becuase i wanted to use flyout video hotspots however due to all the bugs i may have to create a "screen" and have that tween into view and play the videos in there instead. I anxiously await a patch.