<!--
	krpano 1.0.8
	- video-hotspot example
-->

<krpano version="1.0.8" onstart="showtext('[b][i]krpano[br]video hotspot example[/i][/b]', infostyle);">

	<!-- use the editor for moving,rotating,scaling hotspots -->
	<plugin name="editor"  url="%SWFPATH%/plugins/editor.swf"  devices="flash" />
	<plugin name="options" url="%SWFPATH%/plugins/options.swf" devices="flash" />
	

	<!-- text styles for startup text and onhover text -->
	<textstyle name="infostyle"
	           origin="center" edge="center" textalign="center" yoffset="-170" background="false" border="false"
	           fontsize="40" textcolor="0xFFFFFF" bold="false" effect="glow(0xFFFFFF,0.7,4,2);glow(0x000000,1,4,2);dropshadow(3,45,0x000000,2,0.6);"
	           showtime="4.0" fadetime="1.0" fadeintime="1.0"
	           />

	<textstyle name="videohoverstyle"
	           background="false" border="false" textalign="center"
	           fontsize="20" textcolor="0xFFFFFF" effect="glow(0xFFFFFF,0.7,4,2);glow(0x000000,1,4,2);dropshadow(3,45,0x000000,2,0.6);"
	           fadetime="0.2" fadeintime="0.5"
	           />


	
	<!-- use only a grid preview pano to save download space ;-) -->
	<preview type="grid(cube,16,16,512,0xCCCCCC,0xFFFFFF,0x999999);" details="16" />



	<!-- note - the url of the video must be always relative to the main krpano swf file -->
	<hotspot name="videospot" 
			 url="%SWFPATH%/plugins/videoplayer.swf" 
			 alturl="%SWFPATH%/plugins/videoplayer.js" 
			 videourl="%SWFPATH%/examples/plugin-examples/video-hotspot/cats-short.flv"
			 altvideourl="%SWFPATH%/examples/plugin-examples/video-hotspot/cats-short.m4v"
			 posterurl="%SWFPATH%/examples/plugin-examples/video-hotspot/poster.jpg"
			 distorted="true"
			 ath="0"
			 atv="0"
			 edge="center"
			 scale="1.0"
			 rx="0"
			 ry="0"
			 rz="0"
			 loop="true"
			 pausedonstart="true"
			 directionalsound="true"
			 range="110"
			 volume="0.7"
			 onhover="if(ispaused, showtext(click to play, videohoverstyle), showtext(click to pause, videohoverstyle));"
			 onclick="togglepause();"
			 />


</krpano>

