<!-- 
/*
/////////////////////////////////////////
//               This                  //
// "Get-What-You-Deserve Video Script" //
// is created by www.planetcrypton.com //
//       GVS © Planet Crypton          //
/////////////////////////////////////////
//    It determines whether to use     //
//  QuickTime or MediaPlayer or Flash  //
//          and in which size          //
/////////////////////////////////////////


For each film, make sure you save a X-number of filmsizes (for example; small,medium,large) for QuickTime (.mov)
and 3 films for MediaPlayer (.wmv) in one specefic folder.
Give them all the same name followed by "_size1" or "_size2" or "_size3" and so on.
According to my example it would looklike this:

___ 
\__\| noerfilm
	     |
		 + - scariemovie_size1.mov
		 + - scariemovie_size2.mov
		 + - scariemovie_size3.mov
		 + - scariemovie_size1.wmv
		 + - scariemovie_size2.wmv
		 + - scariemovie_size3.wmv
		 
If you have two different films (ex. 'scarymovie' and 'funnymovie') it would looklike this

___ 
\__\| noerfilm
	     |
		 + - scariemovie_size1.mov
		 + - scariemovie_size2.mov
		 + - scariemovie_size3.mov
		 + - scariemovie_size1.wmv
		 + - scariemovie_size2.wmv
		 + - scariemovie_size3.wmv
		 |
		 + - funnymovie_size1.mov
		 + - funnymovie_size2.mov
		 + - funnymovie_size3.mov
		 + - funnymovie_size1.wmv
		 + - funnymovie_size2.wmv
		 + - funnymovie_size3.wmv


::: EDIT 1 ::: 

Edit this data:
var path       		: path to folder containing the films (ex. "./media/noerfilm/" or "http://www.site.com/media/noerfilm/")
var name			: is the identification name of the video (ex. var name = "scarymovie" so save the videos as: scarymovie_size1.mov + scarymovie_size2.mov + scarymovie_size3.mov     +     scarymovie_size1.wmv + scarymovie_size2.wmv + scarymovie_size3.wmv)
var embed      		: "yes" if video should play within the webpage, "no" if the video should be played on top of the webpage
var cookies 		: "yes" if cookies should remember the users plugins and connectionspeed, "no" if users plugins and connectionspeed should be checked on every request (might be slightly more efficient since a connectionspeed might vary, but takes about extra 30 kbyte downloading)
var cookie_expdays 	: Number of days these cookies should exist;
var dimensions 		: specify width and height for each filmsize ( width, height, connectionspeed-floored- in kbps )

NOTE: If you want to add / remove more filmsizes (for example to have a more specified filmsize for
a scpecific connectionspeed), you only will have to add items to the array dimensions.
For example you can add an array size4,size5 with their dimension-properties, or remove size3 if you
want to schrink down the amount of films.
-> "size1" is always the smallest filmsize and the "size-" number increases as the filmsizes gets larger
-> "dimensions.size1.speedbound" is always "0"
*/

var path = "/video/";
var name = "Dansk";
var embed = "yes";
var cookies = "no";
var cookie_expdays = 7;

var dimensions = new Array();

dimensions.size1  = new Array();
dimensions.size1.width   = 480;
dimensions.size1.height  = 270;
dimensions.size1.speedbound = 0;

dimensions.size2 = new Array();
dimensions.size2.width  = 565;
dimensions.size2.height = 360;
dimensions.size2.speedbound = 256;


// -->