X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex.php;h=562dac8a85480991c972a5efb40275febe9f1d90;hb=dc3f30321bc6e59593e37e6716b7f85c82b94ed8;hp=155935ad7324f11f0e2ad068d84c1aef9b7c6f3c;hpb=302c97f7ac81dfcc6fc8d8d44359f4f432e4618a;p=brisk.git diff --git a/web/index.php b/web/index.php index 155935a..562dac8 100644 --- a/web/index.php +++ b/web/index.php @@ -685,8 +685,9 @@ google_color_url = "000000"; @@ -995,11 +996,11 @@ supported by:
'.$altout_support_big.'
- + ' . ( /* NOTE: here facebook or fake facebook */ (!$G_is_local && $_cookie_law_3party == 'true') ? '
-' : '' ) . '
+' : '' ) . '
%s %s @@ -1043,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; @@ -1070,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(); } //--> @@ -1214,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; @@ -1252,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();
'.$banner_top_left.'
'.(($G_with_topbanner || $G_with_donors) ? '
' : '').'
- - '.$mlang_room['headline'][$G_lang].'
+ ' +/* ciao Prof' */ + .$mlang_room['headline'][$G_lang].'
'.( ($G_with_topbanner || $G_with_donors) ? sprintf('
%s
', ($G_with_topbanner ? $G_topbanner : "
donatori
") ) : '').'