Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
Online Radio
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2.08 Mods Completed

Unknown User
2013-08-27 11:12:15
This is an multi-station radio that is open into a pop-up window.

So you can navigate anywhere with your browser without affecting in any way the radio window.

Even if you close your browser, the radio will still work.

online-radio.php:

<?php
require_once("backend/functions.php");
dbconn(false);
loggedinonly();

$th = @mysql_fetch_array(@sql_query_exec("select uri from stylesheets where id=".$CURUSER["stylesheet"]));
if ($th)
$THEME = $th[uri];
?>
<link rel="stylesheet" type="text/css" href="<?php echo $site_config['SITEURL'];?>/themes/<?php echo $THEME;?>/theme.css" />
<script type="text/javascript" src="backend/java_klappe.js"></script>

<div style="margin-top:15px; margin-bottom:10px" align="center">
<script type="text/javascript">
<!--
function song(){ document.getElementById('music1').innerHTML="<embed type='application/x-mplayer2' id='music2' pluginspage='http://www.microsoft.com/Windows/MediaPlayer/' src='"+document.getElementById('cancion').value+"' name='MediaPlayer1' width='400' height='64' controltype='1' showcontrols='1' showstatusbar='1' AutoStart='true'></embed>"; }
//-->
</script>

<div id="jukebox" style="margin-top:10px">
<select id="cancion" onchange="song()" size="1">
<option value="none">&nbsp; Select Station &nbsp;</option>
<option value="http://asculta.radiomafia.ro:8000">&nbsp; Radio Mafia &nbsp;</option>
<option value="http://stream.radiozu.ro:8020">&nbsp; Radio ZU &nbsp;</option>
<option value="http://live.radio-hit.ro:8585">&nbsp; Radio HIT &nbsp;</option>
<option value="http://radiobeat.ro:8000">&nbsp; Radio BEAT &nbsp;</option>
<option value="http://80.86.106.136:80">&nbsp; Kiss FM &nbsp;</option>
</select>

<div style="margin-top:15px">
<span id="music1">
<embed type="application/x-mplayer2" id="music1"
pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"
src=""
name="MediaPlayer1"
width="400"
height="64"
controltype="1"
showcontrols="1"
showstatusbar="1"
AutoStart="0">
</embed>
</span>
</div>
</div>
</div>



online-radio_block.php:

<?
begin_block("Online Radio");

print ("<div style="margin-top:5px" align="center">");

print ("<table>
<tr>
<td>
<a href="javascript:void(0);" onclick="window.open('/online-radio.php', 'mywindow5', 'width=450, height=130, menubar=no, toolbar=no, scrollbars=no');">
<img src="images/online-radio.png" border="0">
</a>
</td>
</tr>
</table>");

print ("</div>");

end_block();
?>


However, these files are already included in the online-radio.zip archive.

All you need to do is to upload all files included in this archive into your root (public_html).

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6920"]online-radio.zip[/url]



online-radio.zip
Download
online-radio.png
online-radio.png
radio-block.png
radio-block.png
2013-09-01 00:53:16
Add

<option value="http://crazyspirits.com/crazyspirits.asx">&nbsp; Radio CrazySpirits &nbsp;</option>


 ;)
2021-07-04 18:42:00
Hi guys,
how to change this line in online-radio.php:
<embed type='application/x-mplayer2' id='music2' pluginspage='http://www.microsoft.com/Windows/MediaPlayer/' src='"+document.getElementById('cancion').value+"' name='MediaPlayer1' width='400' height='64' controltype='1' showcontrols='1' showstatusbar='1' AutoStart='true'></embed>

to play radio online.
When I click on radio block a new window opens and radio did not work


Thanks you all
2021-07-04 21:44:53
Strange mate same code works on older browser and php editor but not on live server






www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
2021-07-06 13:24:56
Since Firefox and Google Chrome have blocked flash players and stopped supporting this, they have introduced this code instead


<figure>
<center><img src="https://exyusubs.com/images/online-radio.png" border="0"></center>
   <figcaption>Listen to the Naxi Radio Blues:</figcaption>
<audio controls>
 <source src="https://naxidigital-blues128ssl.streaming.rs:8312/;stream.nsv" type="audio/mpeg">
 <source src="https://naxidigital-blues128ssl.streaming.rs:8312/;stream.nsv" type="audio/mpeg">
 <source src="https://naxidigital-blues128ssl.streaming.rs:8312/;stream.nsv" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
</figure>



www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
Last edited by Botanicar on 2021-07-06 13:34:54
2021-07-06 18:43:15
Attaching two files with two different possibility for online radio, if you have more an one radio station, use option one otherwise use that second one.

Good luck and enjoy



Online-Radio-01.v.zip
File missing



www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
2021-07-06 18:44:01
V2
Online-Radio-02.v.zip
File missing



www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
2021-07-07 14:15:35
:thumb
2021-07-07 16:38:21
thanks Botanicar  :thumb
2021-07-07 19:59:19
spiritblue:
thanks Botanicar  :thumb  


tu es toujours le bienvenu mon ami


PS
It coming more skins for that MOD


www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
2024-05-14 11:02:53
Thanksssssss
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 2
  • Members: 0
  • Guests online: 2
  • Comments: 3
  • Messages: 1,728