You are not logged in.

1

Saturday, December 5th 2015, 3:10am

Syntax for videoplayer?

I've been able to get the videoplayer to work okay.. Nice touch.. question - what is the syntax?

onclick="looktohotspot(get(name),get(view.fov)); videoplayer_open(videos\MyVideo.m4v|videos\[size=10]MyVideo[/size].webm, videos\MyPreloadImage.jpg);"


It appears to offer a preload JPG, then either a flash or HTML 5 ready video.. Is that correct? Is there somewhere I can learn a little more about this feature?

2

Sunday, December 27th 2015, 10:42pm

Here is an example which puts a video in the centre of the screen, clicking it will make it play, clicking again will pause it.

<plugin name="partnership7-video-tablet-html5"
url="../plugins/videoplayer.swf"
alturl="../plugins/videoplayer.js"
videourl="../video/partnership7-iphone.m4v"
posterurl="../hotspots/partnership7.jpg"
align="centre" x="0" y="0"
scale="2.5"
volume="1.0"
loop="true"
pausedonstart="true"
directionalsound="true"
range="100"
rangefalloff="5.0"
outofrangevolume="0.1"
onclick="togglepause();"
visible="false"
/>