vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBRadio v1.0 (https://vborg.vbsupport.ru/showthread.php?t=72227)

lanc3lot 01-07-2005 03:06 AM

The solution u point out for Firefox Users, is to be done by the user right? not the server.

Can someone please tell me, how can i put a link in the "radio" page in which i say the Firefox users, to go a see this link?
It could be great if this is shown only for Firefox users:)

SVTBlackLight01 01-07-2005 11:10 AM

Quote:

Originally Posted by spence2
Congratulations! Is there any way that you could shed some light on this for those of us who are less able? Would be much appreciated.

It was really just a matter of installing the ActiveX plugin by following the steps listed here: http://forums.mozillazine.org/viewto...?t=167260#FF_1

The problem I had the first time was addressed at Step 0. (must have missed it the first time)
Quote:

IMPORTANT. If you use the Adblock Extension, you must make sure that the setting for OBJ-TABS is disabled. Otherwise, your system will run almost any ActiveX control. See Note 5.
Are you having problems installing the plugin?


lanc3lot,

Yes, the user has to perform these steps to update their Firefox installation.

To add the link, look in the RADIO template, near the botom find </fieldset>, and just below it add

Code:

<br />
<if condition="is_browser('firefox')">
Firefox users: If this player doesn't work, <a target="_blank" href="http://forums.mozillazine.org/viewtopic.php?t=167260">Click Here</a> for a possible solution.
</if>


Sal Collaziano 01-07-2005 04:13 PM

VERY, VERY COOL! Installed. :) Still, it would be nice if it worked with Firebird.. It works perfect with Explorer...

Sal Collaziano 01-07-2005 05:04 PM

Quote:

Originally Posted by SVTBlackLight01
It was really just a matter of installing the ActiveX plugin by following the steps listed here: http://forums.mozillazine.org/viewto...?t=167260#FF_1

The problem I had the first time was addressed at Step 0. (must have missed it the first time)Are you having problems installing the plugin?


lanc3lot,

Yes, the user has to perform these steps to update their Firefox installation.

To add the link, look in the RADIO template, near the botom find </fieldset>, and just below it add

Code:

<br />
<if condition="is_browser('firefox')">
Firefox users: If this player doesn't work, <a target="_blank" href="<a href="http://forums.mozillazine.org/viewtopic.php?t=167260">Click">http://forums.mozillazine.org/viewtopic.php?t=167260">Click Here</a> for a possible solution.
</if>


Hey. When I add that code in, it doesn't show up in the window that Firefox opens.. It's still blank - just like before.. Any advice?

Thanks...

paulz 01-07-2005 06:04 PM

Quote:

Originally Posted by Sal Collaziano
Hey. When I add that code in, it doesn't show up in the window that Firefox opens.. It's still blank - just like before.. Any advice?

Thanks...

the whole window is blank, or the player applet?

if it's the whole window, you're having a seperate issue then what he's fixing.

Sal Collaziano 01-07-2005 06:05 PM

Yeah, it's the whole window that pops up.. What could this mean?

paulz 01-07-2005 06:07 PM

Quote:

Originally Posted by Sal Collaziano
Yeah, it's the whole window that pops up.. What could this mean?

i would try installing the hack step by step again.

paulz 01-07-2005 06:31 PM

I got this player working perfectly in both IE and Firefox. Thanks to all of you for your combined help.

http://www.musicsourcenow.com

Here is my RADIO template to help anyone else out. Note everything else as far as the hack goes is untouched.

Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
        <title>vBRadio</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='1'>"
        newRadio += "<PARAM name='ShowStatusBar' value='0'>"
        newRadio += "<PARAM name='ShowDisplay' value='0'>"
        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='1' "
        newRadio += "showstatusbar='1' "
        newRadio += "showdisplay='1' "
        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'>vBRadio</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/>

       
<if condition="is_browser('firefox')">
Firefox users: If this player doesn't work, Firefox users: If this player doesn't work, <a target="_blank" href="http://forums.mozillazine.org/viewtopic.php?t=167260">Click Here</a> for a possible solution.for the solotion.
</if>
</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='1'>
        <PARAM name='ShowStatusBar' value='1'>
        <PARAM name='ShowDisplay' value='1'>
        <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>

Be sure to check it out in IE and Firefox to see if you like the changes I made and that it works for your installation.

Sal Collaziano 01-07-2005 07:01 PM

Quote:

Originally Posted by paulz
i would try installing the hack step by step again.

Even if it works flawlessly with IE. :(

paulz 01-07-2005 07:17 PM

Quote:

Originally Posted by Sal Collaziano
Even if it works flawlessly with IE. :(

are you trying it in Firefox or something else? Also, what version of Windows Media are you using, cuz this only works right on 9 or above, but preferrably 10.


All times are GMT. The time now is 08:44 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01474 seconds
  • Memory Usage 1,765KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete