X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex.php;fp=web%2Findex.php;h=562dac8a85480991c972a5efb40275febe9f1d90;hb=dc3f30321bc6e59593e37e6716b7f85c82b94ed8;hp=478d8805632d14175120907dde3d2db5f54bc42f;hpb=d9138fdcbe87ae699ba97079812ff489b3566b2e;p=brisk.git diff --git a/web/index.php b/web/index.php index 478d880..562dac8 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 @@ -1044,7 +1044,7 @@ var g_tables_auth_n = ; var g_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 +1071,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(); } //--> @@ -1215,7 +1216,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 +1254,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();