Quote:
Originally Posted by Allan
For Firefox, no fix ?
|
I'm not sure whether or not this is possible.
For now, I've removed the javascript controls and have directed users to an ActiveX control for FireFox.
This is my
RADIO template:
HTML Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>Gamers Euphoria Radio</title>
$headinclude
<script language="JavaScript">
<!--
function changeMute(){
Player.settings.mute = 'true';
mute.innerHTML='<a href="#" onClick="changeMute2();">Mute*</a>';
}
function changeMute2(){
Player.settings.mute = 'false';
mute.innerHTML='<a href="#" onClick="changeMute();">Mute</a>';
}
function initiateStation(){
toPlay = document.getElementById('thisStation')
toPlay = toPlay.options[toPlay.options.selectedIndex].value
newRadio = "";
newRadio += "<OBJECT ID='Player' height='250' width='300' CLASSID='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6'>"
newRadio += "<PARAM name='URL' value='" + toPlay + "' id='insert_1'>"
newRadio += "<PARAM name='uiMode' value='mini'>"
newRadio += "<PARAM name='mute' value='false'>"
newRadio += "<PARAM name='ShowControls' value='0'>"
newRadio += "<PARAM name='ShowStatusBar' value='0'>"
newRadio += "<PARAM name='ShowDisplay' value='0'>"
newRadio += "<PARAM name='Volume' value='100'>"
newRadio += "<EMBED type='application/x-mplayer2' "
newRadio += "pluginspage = 'http://www.microsoft.com/Windows/MediaPlayer/' "
newRadio += "SRC='" + toPlay + "' "
newRadio += "name='Player' "
newRadio += "width='300' "
newRadio += "height='250' "
newRadio += "AutoStart='true' "
newRadio += "showcontrols='0' "
newRadio += "showstatusbar='0' "
newRadio += "showdisplay='0' "
newRadio += "id='insert_2'>"
newRadio += "</EMBED>"
newRadio += "</OBJECT>"
document.getElementById('radio').innerHTML = newRadio
}
-->
</script>
</head>
<body>
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">
<a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_radio')"><img id="collapseimg_forumhome_radio" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a>
<div align='center'>Gamers Euphoria Radio</div></td>
</tr>
</thead>
<tbody id="collapseobj_forumhome_radio" style="{$vbcollapse['collapseobj_forumhome_radio']}">
<tr>
<td class="thead" width="50%" align="center">Stations/Control</td>
<td class="thead" width="50%" align="center">Currently Playing</td>
</tr>
<tr>
<td class='alt2' valign='top'>
<fieldset class="fieldset">
<legend>Available Stations</legend>
<center>
{$Station_Select}<br /><br />
<input type='button' value='Play This Station' class='button' onclick='initiateStation()' />
</center>
</fieldset>
<br/>
<fieldset class="fieldset">
<legend>Player Information</legend>
Gamers Euphoria Radio is powered by <a href="http://www.infernotechnologies.net/" target="_blank">vBRadio</a>.<br /><br />Firefox users should install this <a href="http://forums.mozillazine.org/viewtopic.php?t=206213" target="_blank">ActiveX plugin</a> to take full advantage of the player.<br /><br />Want to report a dead radio station or suggest a new radio station to add? <a href="$vboptions[bburl]/sendmessage.php" target="_blank">Let us know!</a>
</fieldset>
</td>
<td class='alt2' align='center' id='radio'>
<OBJECT ID='Player' height='250' width='300' CLASSID='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6'>
<PARAM name='URL' value='' id='insert_1'>
<PARAM name='uiMode' value='mini'>
<PARAM name='mute' value='false'>
<PARAM name='ShowControls' value='0'>
<PARAM name='ShowStatusBar' value='0'>
<PARAM name='ShowDisplay' value='0'>
<PARAM name='Volume' value='100'>
<EMBED type='application/x-mplayer2'
pluginspage = 'http://www.microsoft.com/Windows/MediaPlayer/'
SRC=''
name='Player'
width='300'
height='250'
AutoStart='true'
showcontrols='0'
showstatusbar='0'
showdisplay='0'
id='insert_2'>
</EMBED>
</OBJECT>
</td>
</tr>
</table>
</body>
</html>
It contains a lot of hardcoded stuff, edit it as you want.
Screenshot attached for you Allan..