﻿////////////
// GLOBAL //
////////////

var params = 
{
	// properties of the embed and object html tags
	menu: 	"true",
	scale: 	"noscale", 
	wmode: 	"transparent"
};

/////////////////////////////////
// Header videoPlayer varibles //
/////////////////////////////////
var flashvars = 
{
	//custom flash vars go here as JavaScript object properites
	//use native data types where necessary i.e. Boolean, Number, String
	dataPath: "/content/xml/live/" + xmlPath,
	sitePath: path,
	webServicePath: servicePath 
};

var attributes = 
{
	// any custom HTML attributes
	id: 	"flashMovie",
	name: 	"flashMovie"
};

/////////////////////////
// Mini Video varibles //
/////////////////////////
var miniPlayerFlashvars = 
{
	//custom flash vars go here as JavaScript object properites
	//use native data types where necessary i.e. Boolean, Number, String
	videoPath: miniVideoPath,
	sitePath: path
};


var miniPlayerAttributes = 
{
	// any custom HTML attributes
	id: 	"miniFlashMovie",
	name: 	"miniFlashMovie"
};

///////////////////////////////
// Header video Player embed //
///////////////////////////////

// does the actual embed, replace all values wrapped in <>
swfobject.embedSWF(path + "/flash/" + videoPlayerType, "media_inner", "981", "271", "9.0.0", "js/swfobject/expressInstall.swf", flashvars, params, attributes);

//////////////////////////
//Min Video Plaer embed //
//////////////////////////

// does the actual embed, replace all values wrapped in <>
swfobject.embedSWF(path + "/flash/Mini" + videoPlayerType, "vidTestimonial_inner", "241", "201", "9.0.0", "js/swfobject/expressInstall.swf", miniPlayerFlashvars, params, miniPlayerAttributes);
