/** * @(#) $RCSfile$ $Revision$ $Date$ * * Copyright 2003-2007 Olaf Havnes. All Rights Reserved. * http://www.havnes.com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. *//** * Individual browser configuration of Flash movies. * * @author      Olaf Havnes * @version     $Revision$ $Date$ * @since       SWFIT2.0 */var url_params = new Array ();var u = 0;// ------------------------------------------------// configure external parameters// ------------------------------------------------video_file = "/Game/FourGates.flv";url_params[u++] = "video_file";video_title = "Tversummer";url_params[u++] = "video_title";video_text = "Still alle tallparene slik at tverrsummen deres tilsvarer tallet 'utenfor porten'.";url_params[u++] = "video_text";player_type = "standalone";url_params[u++] = "player_type";home_url = document.location.href.indexOf ('?') > 0 ?    document.location.href.substring (0, document.location.href.indexOf ('?')) :    document.location.href;url_params[u++] = "home_url";// ------------------------------------------------// configure the movie// ------------------------------------------------var swf_src = 'Video/VideoPlayer.swf';var swf_width = 610;var swf_height = 377;var swf_col = '#990000';// ------------------------------------------------// generate the html code// ------------------------------------------------swf_src += '?';for (i = 0; i < url_params.length; i++) swf_src += urlEncVarMX (url_params[i]);document.writeln ( flash7Code (swf_src, swf_width, swf_height, swf_col) );
