X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex.php;h=cc4390146e0040a155114493539ffef4203bf73f;hb=592e26ff713393b42690190ef9496acde56ccd9a;hp=478d8805632d14175120907dde3d2db5f54bc42f;hpb=c0cc54c9494acf8f43b92a0517d32d38b5006aa0;p=brisk.git
diff --git a/web/index.php b/web/index.php
index 478d880..cc43901 100644
--- a/web/index.php
+++ b/web/index.php
@@ -1000,7 +1000,7 @@ supported by:
' . ( /* NOTE: here facebook or fake facebook */
(!$G_is_local && $_cookie_law_3party == 'true') ?
'
-' : '' ) . '
+' : '' ) . '
%s
%s
@@ -1024,7 +1024,6 @@ supported by:
-
@@ -1044,7 +1043,7 @@ var g_tables_auth_n = echo TABLES_AUTH_N; ?>;
var g_tables_cert_n = echo TABLES_CERT_N; ?>;
var g_prefs, g_prefs_new = null;
var g_listen;
-var g_withflash = false;
+var g_jukebox = null;
var g_is_spawn = 0;
var g_nd = null;
var g_brow = null;
@@ -1071,12 +1070,13 @@ window.onload = function() {
sidebanners_init($G_sidebanner_idx);
?>
- g_withflash = DetectFlashVer(6,0,0);
- if (g_withflash == false) {
- $("proflash").innerHTML = 'Audio con Flash.
';
+ g_jukebox = new jukebox([]);
+ if (g_jukebox.is_enabled() == false) {
+ $("proaudio").innerHTML = 'Audio HTML5 non supportato.';
+ }
+ else {
+ $("proaudioext").innerHTML = "";
}
- else
- $("proflashext").innerHTML = "";
$("nameid").focus();
}
//-->
@@ -1196,7 +1196,6 @@ cookie_law(null);
-
@@ -1215,7 +1214,7 @@ cookie_law(null);
var g_prefs, g_prefs_new = null;
var g_listen;
var g_is_spawn = 0;
- var g_withflash = false;
+ var g_jukebox = null;
var g_imgct = 0;
var g_imgtot = g_preload_img_arr.length;
var g_brow = null;
@@ -1253,17 +1252,18 @@ cookie_law(null);
sidebanners_init($G_sidebanner_idx);
?>
sess = "";
-xstm = new xynt_streaming(window, , 2, null /* console */, gst, 'index_php', 'sess', sess, $('sandbox'), 'index_rd.php', function(com){eval(com);});
+ xstm = new xynt_streaming(window, , 2, null /* console */, gst, 'index_php', 'sess', sess, $('sandbox'), 'index_rd.php', function(com){eval(com);});
xstm.hbit_set(heartbit);
tra = new train($('room_tit'));
window.onunload = onunload_cb;
window.onbeforeunload = onbeforeunload_cb;
- g_withflash = DetectFlashVer(6,0,0);
- if (g_withflash == false) {
- $("proflash").innerHTML = 'Audio con Flash.
';
+ g_jukebox = new jukebox([]);
+ if (g_jukebox.is_enabled() == false) {
+ $("proaudio").innerHTML = 'Audio HTML5 non supportato.';
+ }
+ else {
+ $("proaudioext").innerHTML = "";
}
- else
- $("proflashext").innerHTML = "";
// console.log("session from main: "+sess);
xstm.start();