﻿var flashvars = {};
var params = {};
var attributes = {};
			params.codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0';
						params.width='100%';
params.height='100%';
params.quality='high';
params.align='middle';
params.play='true';
params.loop='true';
params.scale='showall';
params.wmode='window';
params.devicefont='false';
params.bgcolor='#2e2e2e',
params.allowFullScreen='true';
params.allowScriptAccess='sameDomain';
params.salign='';

// SETUP
					flashvars.forcewidth='320'
flashvars.forceheight='240'
flashvars.skin='black'
flashvars.fullscreenbutton='on'
flashvars.infobutton='off'
flashvars.videopath='/bisham-abbey.flv'
flashvars.playonload='off'
flashvars.initialvolume='25'
flashvars.startbufferonload='on'

// stretch type, choose between 'original size', 'zoom to fit', 'stretch to fit'

flashvars.defaultstretch='zoom to fit'
flashvars.buffersize='5'
flashvars.infotext="<b><p><font size='18' face='Arial' color='#C6E4FF'>Informations Display</font>/p></b>p><font size='12' face='Arial' color='#FFFFFF'>It will support <b>html tags</b>so that it can be formatted in a nice manner. It will of course be multiline and it will resize acording to the size of the inputed text. The title is not independent, it’s containted in the same text, but it’s larger and has a different color because of html formatting. Supports <b>bold</b> <i>italic</i> <font color='#e55dea'>color</font>etc.</font>/p>";
						
attributes.id = 'video player';

swfobject.embedSWF('/flv-player.swf', 'flash-video', '320', '240', '9.0.0', '/flv-player-install.swf', flashvars, params, attributes);
