//MediaPlayer Configuration Data - Copyright Jean-Jacques Oppringils //Web Site: http://www.jjo-art.eu - FaceBook: https://www.facebook.com/jj.oppringils - Youtube: https://www.youtube.com/watch?v=zpFnV-nDn7g&list=UUQVLsvWNjaX4NuzvodgOzrA&index=1 //VERY IMPORTANT WARNING: Each line in this file must end with the Carriage Return + Line Feed characters //Beginning of the Javascript part of this .TXT file //Default User Interface Language //Language code list available here : http://www.lingoes.net/en/translator/langcode.htm var User_Interface_Language='en-US'; //English //var User_Interface_Language='fr-FR'; // Français //var User_Interface_Language='xx-XX'; // Language_X //Developer Name var Developer_Name='Jean-Jacques Oppringils'; //Developer Email var Developer_Email='jean-jacques@jjo-art.eu'; //Program Name var Program_Name='MediaPlayer - #TEST#'; //Mediaplayer Version var Mediaplayer_Version='2.0'; //Mediaplayer Version Number var Mediaplayer_Version_Number='10'; //This parameter allows to add a "repeat" button if there are only MP3 files in the user's playlist ; value : 'Y' or 'N' //The "repeat" button has no effect in case of Web Radios var prg_mp3_files = 'N'; //Javascript functions can be also added in this .TXT file if necessary function hexToRgb(hex, alpha) { hex = hex.replace('#', ''); var r = parseInt(hex.length == 3 ? hex.slice(0, 1).repeat(2) : hex.slice(0, 2), 16); var g = parseInt(hex.length == 3 ? hex.slice(1, 2).repeat(2) : hex.slice(2, 4), 16); var b = parseInt(hex.length == 3 ? hex.slice(2, 3).repeat(2) : hex.slice(4, 6), 16); if ( alpha ) { return 'rgba(' + r + ', ' + g + ', ' + b + ', ' + alpha + ')'; } else { return 'rgb(' + r + ', ' + g + ', ' + b + ')'; } } function getURLParameterlanguage(name) { return decodeURIComponent((new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.search) || [null, ''])[1].replace(/\+/g, '%20')) || null; } //Get the language of the user interface var lng = getURLParameterlanguage('lang'); if (lng == null ) { lang = User_Interface_Language; } else { lang = lng; } //Program_Animation_Page ; See the "Mediaplayer_First_Menu_Link" parameter below and the "animation_000_int.php" page //var Program_Animation_Page='http://www.jjo-art.eu/amazing_pictures.php?prog=framePG&step=1&user=JJO'; var Program_Animation_Page='http://www.jjo-art.eu/amazing_pictures.php?prog=framePG&step=1&user=JV'; //See language definitions in the "mediaplayer_languages.js" file (and the following link : http://www.lingoes.net/en/translator/langcode.htm) getlanguagestrings(); //Mediaplayer Font and Colors Definition var Font_Name='ARIAL'; var Big_Font_Color='#F8CD9C'; var Big_Font_Color_1='#009be3'; var Small_Font_Color='#C88D5C'; var Background_Color='#000030'; var Background_Page_Color='#080C38'; var Background_Alpha_1='0.2'; var Background_Alpha_2='0.4'; var Background_Alpha_3='0.6'; var Background_Alpha_4='0.8'; var Border_Color='#008CBA'; //var Border_Color_1='#009be3'; var Border_Color_1=hexToRgb("#009be3", Background_Alpha_2); var Border_Color_2='#383838'; var Link_Color='#B08050'; var WebKit_Background_Color='#000030'; //var WebKit_Background_Color=hexToRgb(Background_Color, Background_Alpha_2); var WebKit_On_Over_Color='#F8CD9C'; //Playlist Selection Menu Position from top var PlaylistPosition = '18%'; //Developer Document Directory //WARNING: If this parameter is not set as "DEFAULT" it MUST be an existing web path in plain text and without ANY javascript code var Developer_Doc_Dir='DEFAULT'; //Mediaplayer Home Link (must end with a '/' character) //The following path must be modified if the Mediaplayer HTML, PHP, JS, JPG files are NOT hosted on the http://www.jjo-art.eu web site var mediaplayer_home_link="http://www.jjo-art.eu/"; //Mediaplayer Pages Link (must end with a '/' character) //The following path must be modified if the Mediaplayer HTML, PHP, JS, JPG files are NOT hosted on the http://www.jjo-art.eu web site var mediaplayer_pages_link="http://www.jjo-art.eu/mediaplayer/"; //The following paths must be modified if the Mediaplayer HTML, PHP, JS, JPG files are NOT hosted on the http://www.jjo-art.eu web site //IMPORTANT REMARK : the "users/" subdirectory must exist and is mandatory as follows for example : http://www.jjo-art.eu/mediaplayer/users/ var hpath = mediaplayer_home_link; var bpath = mediaplayer_pages_link; var mpath = mediaplayer_pages_link + "users/"; var ppath = mediaplayer_home_link + "jjoprograms/pages/"; var ipath = mpath; //Paths for the direct Internet Mediaplayer version (not using the Mediaplayer Program; see the Config.ini file in this case) var start_menu_path = "animation_000_int.php?menu=Y"; var animation_menu_path = ppath + "loader_index_menu.html?menu=Y"; //The next 2 parameters allow to create a different version used by the Mediaplayer program //Mediaplayer First Menu Link (see the #START_PATH# "flag" in the mediaplayer_menu.js file) //WARNING: This parameter MUST be plain text without ANY javascript code. // This file is downloaded at start by the Mediaplayer program (can be used in OFFLINE mode; see below the Mediaplayer_OFFLINE... parameters). // This file can be made of HTML or PHP codes, but it will be automatically renamed and available by the Mediaplayer program under the "animation_000_int.html" name. // If this file is used locally by the Mediaplayer program, do not miss the "cross domain" issue if you use "