VoilÃ
steven07
This multi media frame has been tested and realized on my site with my theme, so to adapt to your theme.
I also add writing to the css for guidance on color changes, ect.
__________________________________________________________________________
Ce frame multi media a ete testé et réaliser sur mon site avec mon theme, donc a vous adapter a votre theme.
j'ai de meme ajouter des ecrit au css pour vous guidé sur les modification de couleur, ect.
Example in image:
[ATTACH type="full" width="1005px" alt="5274"]5274[/ATTACH]
1) Download the compressed file named Media by spirit blue @ 2019.rar
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Télécharger le fichier compressé du nom de Media by spirit blue @2019.rar
2) In the folder of the name of Media by spirit blue @ 2019 you add to the root of the website mediaplayer.asx and mediaplayer.pls and the folder of the name of player in the folder images.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dans le dossier du nom de Media by spirit blue @2019 vous ajouter a la racine du site mediaplayer.asx et mediaplayer.pls etle dossier du nom de player dans le dossier images.
[color=rgb(209, 72, 65)]
NOTE: [/color][color=rgb(255, 255, 255)]
Make the changes in both files and replace the writings (ADD TETX INFO HERE!) And (NAME DOMAINE HERE) and [/color]
$ip = "HERE IP"; // IP or hostname (without
http://)
$port = "HERE PORT"; // Port
[color=rgb(255, 255, 255)]
~~~~~~~~~~~~~~~~~~~~~~~~~\\ [/color]
[color=rgb(209, 72, 65)]
NOTE: [/color]
Faire les modifications dans les deux fichiers et remplacer les ecrits (ADD TETX INFO HERE!) et (NAME DOMAINE HERE) et
$ip = "HERE IP"; // IP or hostname (without
http://)
$port = "HERE PORT"; // Port
3) The frame.txt file and code-add-themes-at-theme.txt are just a copy copy paste or you like it.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Le fichier frame.txt et code-add-themes-at-theme.txt sont juste une copie a copier coller ou il vous plais.
Example to add to index.php? or other frame :
// Multi Media By @Spiritblue [30-Nov-2019]
// Shoutcast Simple PHP Stats
// dlnetworks.net
$dnas = "2"; // DNAS Version Shoutcast (1 or 2)
$ip = "HERE IP"; // IP or hostname (without http://)
$port = "HERE PORT"; // Port
$sid = "1"; // Stream ID (dans 2 only)
$timeout = "5"; // Number of seconds before connecton times out.
$fp = @fsockopen($ip,$port,$timeout);
if ($dnas == '1') {
fputs($fp, "GET /7.html HTTP/1.0\r\nUser-Agent: Mozilla/5.0\r\n\r\n");
} else {
fputs($fp, "GET /7.html?sid=$sid HTTP/1.0\r\nUser-Agent: Mozilla/5.0\r\n\r\n");
}
while (!feof($fp)) {
$info = fgets($fp);
}
$info = str_replace('<html><head><meta http-equiv="Pragma" content="no-cache"></head><body>', "", $info);
$info = str_replace('</body></html>', "", $info);
$stats = explode(',', $info,7);
$song = $stats[6];
$listeners = $stats[0];
$max = $stats[3];
$bitrate = $stats[5];
$peak = $stats[2];
stdhead(T_("Radio Shoutcast By @spiritblue"));
begin_frame(T_("Radio Shoutcast By @spiritblue"));
?>
<div class="block">
<table width="80%" cellspacing="0" cellpadding="2" border="0" align="center">
<td class="ttable_head" colspan='2'>Shoutcast Online</td>
<tr>
<div align="left">
<td id="mediaimg">
Choose Your Media!
<br/><br/>
<a href='https://crazyspirits.com/mediaplayer.asx' target='new'><img src='../images/player/mediaplayer.png' width='70' height='70' border="0" alt='Écouter Avec Windows Media Player ♪' title='Écouter Avec Windows Media Player ♪' /></a>
<a href='https://crazyspirits.com/mediaplayer.pls' target='new'><img src='../images/player/winamp.png' width='70' height='70' border="0" alt='Écouter Avec Winamp ♪' title='Écouter Avec Winamp ♪' /></a>
<br/>
<img src='../images/player/egaliseur.gif' width='170' height='50' border="0" alt='' title='' />
</td>
</div>
<div align="right">
<td id="infomedia">
Song: <div style="display: inline" id="loaddiv1"><?php print "$song";?></div><br/>
Listeners: <div style="display: inline"id="loaddiv2"><?php print "$listeners";?></div><br/>
The Auditors In 24Hrs: <?php print "$peak";?><br/>
Auditor's Capability: <?php print "$max";?><br/>
Frequency Issued: <?php print "$bitrate";?> Kbps<br/>
</td>
</div>
</tr>
</table>
</div>
<br/>
<!-- Actualisation JS By spiritblue -->
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.0/jquery.min.js"></script>
<script type="text/javascript">
////Refresh Chanson
var auto_refresh = setInterval(
function()
{
$('#loaddiv1').fadeOut('slow').fadeIn("slow");
}, 10000);
/////Refresh Auditeur
var auto_refresh = setInterval(
function()
{
$('#loaddiv2').fadeOut('slow').fadeIn("slow");
}, 20000);
</script>
</head>
<!-- End Actualisation -->
<?php
end_frame();
// End
Add to your default theme :
/* Multi Media Player By Spiritblue */
.block {
position: relative;
margin: 22px auto 0;
width: 70%;
height: 250px;
background-image: url("https://zupimages.net/up/19/48/9dv6.jpg"); /* background images */
background-repeat: no-repeat;
background-size: cover;
background-color: #000000a3; /* background refresh */
}
.block:before, .block:after {
content: '';
position: absolute;
left: -2px;
top: 2px;
background: linear-gradient(45deg, #fb0094, #0000ff, #00ff00,#ffff00, #ff0000, #fb0094, #0000ff, #00ff00,#ffff00, #ff0000); /* border color */
background-size: 400%; /* size */
width: calc(100% + 4px);
height: calc(100% + 4px);
z-index: -1;
animation: steam 20s linear infinite; /* speed 20s */
}
@keyframes steam {
0% {
background-position: 0 0;
}
50% {
background-position: 400% 0; /* size */
}
100% {
background-position: 0 0;
}
}
.block:after {
filter: blur(50px);
}
#mediaimg{
display: block;
position: relative;
width: 70%;
font-family: Goudy Old Style;
color: #F0F8FF;
font-size: 25px;
text-align: center;
line-height: 16px;
padding-top: 55px;
padding-right: 20px;
line-height: -30%;
border:2px solide red;
}
#mediaimg:hover {
border: 0;
border: initial;
}
#infomedia {
width: 70%;
text-shadow: 5px 5px 10px black;
font-family: Goudy Old Style;
color: #F0F8FF;
font-size: 22px;
text-align: center;
line-height: -30%;
padding-top: 35px;
padding-left: 180px;
}
/* End */
...If need help, let me know ! ;)
~~~~~~~~~~~~~~~~~~~~~~~~
...Si besoin d'aide fait le moi savoir ;)
Capture.JPG