You are not logged in.

Kev-in-spain

Intermediate

  • "Kev-in-spain" started this thread

Posts: 152

Location: Barcelona

Occupation: VR Photographer

  • Send private message

1

Thursday, March 24th 2011, 11:23am

playothervideo. Sound but no image

I have already posted this on the end of one of my other threads in the forum but feel it is more appropriate to post it here.


I'm showing a video (flv) in a tour and want to be able to change the video on the click of a thumbnail image.
These are the actions I'm using:

<action name="changevideo1">
set(hotspot[video1].videourl,vids/van_halen.flv);
hotspot[video1].playvideo(vids/van_halen.flv);
</action>
<action name="changevideo2">
set(hotspot[video1].videourl,vids/rage.flv);
hotspot[video1].playvideo(vids/rage.flv);
</action>
<action name="changevideo3"> etc, etc....

The issue is, on clicking the chosen thumbnail, the video that is currently playing stops and the next one starts, but only the sound... no image.
I checked in the editor and the video url is correct for the chosen video. Then (without making any alterations) if I click 'load this xml' the video is suddenly visible.

If it's of any significance here's the video code:

<hotspot name="video1"
url="plugins/videoplayer.swf"
videourl="vids/rage.flv"
ath="100.00446731324874" atv="-11.206881978535328"
distorted="true"
alpha="0.3"
width="492" height="360"
handcursor="false"
scale="0.21997464162342867" scale9grid="" scalechildren="false" rotate="0"
rx="-13.25" ry="-35.5" rz="-0.7415011467273647"
volume="0.7"
loop="true"
pausedonstart="false"
directionalsound="true"
range="180.0"
rangefalloff="1.0"
outofrangevolume="0.2"
/>

and the thumbnail:

<plugin name="Rockt1" url=""
align="center,top" edge="top" keep="true"
x="-300"
y="150"
width="12%"
height="0%"
onclick="action(changevideo1)" />
(The thumbs are revealed by a selection button)

michel

Professional

Posts: 1,153

Location: ANDORRA

Occupation: TV

  • Send private message

2

Wednesday, March 30th 2011, 4:33pm


Similar threads