vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBRadio v1.0 (https://vborg.vbsupport.ru/showthread.php?t=83132)

cat4m 05-02-2006 02:52 PM

I have this installed and everything is in the right place but I cant get it to work ?? Can anyone help please ?

john_robot 05-03-2006 05:07 AM

Hi, can some one pls integrate following in to this , If the Real Player not detected on their system This gives you a message
Quote:

Your browser has not detected a RealPlayer plug-in. It may be that you need to download RealPlayer or adjust your browser settings.

For help downloading or upgrading RealPlayer for free, visit our audio/video help page

Alternatively you can try to play the clip in the standalone player or change your preferences.
http://www.bbc.co.uk/mediaselector/c...news=1&prefs=1
Quote:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<title>BBC Media Player</title>

<link REL="stylesheet" HREF="/mediaselector/includes/en/style.css">

<script language="JavaScript">
<!--
var isMac = (navigator.userAgent.indexOf("Mac") != -1);
var isIE = (navigator.userAgent.indexOf("MSIE") != -1);
var isOpera = (navigator.userAgent.indexOf("Opera") != -1);
function testForActiveXPlayer(){
if(document.layers && (!document.documentElement)){return false} //exclude NS4 which can't handle try/catch blocks
if(document.all){return true} //IE family post 4 will have activeX and IE4 can't handle try/catch
if(player){return player;} //we don't want to spawn players willy-nilly
try{
if(window.ActiveXObject){
return new ActiveXObject("WMPlayer.OCX.7");
}else if (window.GeckoActiveXObject){
return new GeckoActiveXObject("WMPlayer.OCX.7");
}else {
return false;
}
} catch(oError) { return false; }
}

function testForPlugin() {
if(document.layers){return navigator.mimeTypes['application/x-mplayer2'].enabledPlugin;} //NS family always have mimeTypes
if(document.all){return false} //IE should use activeX objects
try{
if(navigator.mimeTypes){
return navigator.mimeTypes['application/x-mplayer2'].enabledPlugin;
}
}catch (oError) { return false;}

}
function setPage() {
self.focus()
}
var subtitleWidth = 0;
var subtitleHeight = 0;

var transportBar = 0;

transportBar = 58;
var minWidth = 280;


function resize(w,h) { //take in the height and width of the plugin window
if(minWidth < subtitleWidth){
minWidth = subtitleWidth;
}
var contentFurnitureHeight = 64; //the sum height of the html elements on the page EXCLUDING the video window
if(w < minWidth){
width = minWidth;
}else{
width = w;
}
height = h + (contentFurnitureHeight + transportBar + subtitleHeight);
resizeForContentSize(width,height);
}

function resizeForContentSize(contentWidth,contentHeight) {
var titleBar = 26;
var windowBarWidth = 0;
var statusHeight = 0;
var xpSecurityInfo = 23;
var firefoxStatus = 23;
var flickoverMargin = 20; //for mozilla which puts scrollbars on the window by default unless it's oversized first
if(navigator.platform == 'Win32'){
windowBarWidth = 12;
titleBar = 32;
statusHeight = 6;
}
if(document.all){
statusHeight += xpSecurityInfo; //for security zone info on MSIE
}else if(document.layers){
statusHeight = 0;
}
height = contentHeight + titleBar + statusHeight;
width = contentWidth + windowBarWidth;
if (!(document.layers || document.all)){
height += firefoxStatus;
window.resizeTo(width + flickoverMargin , height + flickoverMargin);
}
window.resizeTo(width , height);
}


fullscreen_on = new Image();
fullscreen_on.src = '/mediaselector/images/en/fullscreen_on.gif';

function switchOn(img) {
document.images[img].src = '/mediaselector/images/en/' + img + '_on.gif';
}
function switchOff(img) {
document.images[img].src = '/mediaselector/images/en/' + img + '_off.gif';
}

function changePrefs(){
resizeForContentSize(425,298);
location.href='http://www.bbc.co.uk/mediaselector/check/media/video/otdvideo/86/05/03/3118_03-05-86?bgc=6699CC&nbram=1&bbram=1&size=4x3&news=1&pref s=1';
}
function closeMe() {
setTimeout('self.close()',1000);
}
//-->
</script>

<script language="Javascript">
<!--
if ((navigator.userAgent.indexOf('MSIE') != -1) && (navigator.userAgent.indexOf('Win') != -1)){
document.write('<style type="text/css">');
document.write('body {overflow: auto;}');
document.write('</style>');
}
-->
</script>

</head>

<body bgcolor="#000000" text="#000000" link="#000000" vlink="#000000" alink="#0000000" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0"
onload="setPage();resize(192,144);">

<table width="100%" cellspacing="0" cellpadding="0" border="0" bgcolor="#000000">
<tr>
<td align="center">

<!-- Top Banner table --><!--width="91" height="24" -->
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td height="32" valign="top" bgcolor="#6699CC" width="96"><img src="/mediaselector/images/logo_6699CC.gif" alt="BBC" border="0"></td>
<td bgcolor="6699CC" align="right"><div class="redBanner">&nbsp;</div></td>
</tr>
<tr><td colspan="2"><img src="/furniture/tiny.gif" alt="" width="1" height="5"></td></tr>
<tr><td bgcolor="#626668" height="22"><div class="greyBanner"><a href="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram" onclick="closeMe();" class="vidHead"><font size="1">Launch this in standalone player</font></a></div></td>
<td bgcolor="#626668" align="right">

<img src="/furniture/tiny.gif" alt="" width="1" height="5">

</td></tr>
<tr><td colspan="2"><img src="/furniture/tiny.gif" alt="" width="1" height="5"></td></tr>
</table>
<!-- Top Banner table -->

<script language="JavaScript">
<!--
if ( navigator.appName == "Netscape" )
{
navigator.plugins.refresh();
}
//-->
</script>


<table cellspacing="0" cellpadding="0" border="0" bgcolor="#000000">
<tr><td bgcolor="#000000" valign="bottom" align="center" width="100%">

<!-- Real Embed SSITool (Embed pt1 of 2) v1.1 - do not copy, see http://intracat/ssi/ for usage -->
<script language="Javascript">
<!-- //
var ssit_RealPresent=0;
var ssit_RealPlayer4=0;
var ssit_RealPlayer5=0;
var ssit_RealPlayerG2=0;
var ssit_bIsMac5=((navigator.appVersion.indexOf("Macin tosh") != -1) && (navigator.appVersion.indexOf("MSIE 5") != -1));
var ssit_bIsOpera=(navigator.userAgent.indexOf("Opera" ) != -1);
if ((navigator.userAgent.indexOf("MSIE")<0 ) || (ssit_bIsMac5) || (ssit_bIsOpera)) {
numPlugins = navigator.plugins.length;
for (ssit_i = 0; ssit_i < numPlugins; ssit_i++) {
plugin = navigator.plugins[ssit_i];
if ((plugin.name.indexOf("RealPlayer") != -1) || (plugin.name.indexOf("RealOne") != -1) || (plugin.name=="rpnp.so")){
ssit_RealPresent=1;
}
}
}

if ((navigator.userAgent.indexOf('MSIE') != -1) && (navigator.userAgent.indexOf('Win') != -1) && (!ssit_bIsOpera)){
document.writeln(' <script language="VBScript"> ');
document.writeln(' on error resume next ');
document.writeln(' ssit_RealPlayerG2 = (NOT IsNull(CreateObject("rmocx.RealPlayer G2 Control"))) ');
document.writeln(' ssit_RealPlayer5 = (NOT IsNull(CreateObject("RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)"))) ');
document.writeln(' ssit_RealPlayer4 = (NOT IsNull(CreateObject("RealVideo.RealVideo(tm) ActiveX Control (32-bit)"))) ');
document.writeln(' <\/script> ');
}

// Set Mac IE3 and IE4 opt-out - attempts to play regardless
var ssit_bIsMac = ((navigator.appVersion.indexOf("Macintosh") != -1) && ((navigator.appVersion.indexOf("MSIE") != -1) && (!ssit_bIsMac5)));
// End Mac IE3/4 opt-out


if (ssit_RealPresent || ssit_RealPlayerG2 || ssit_RealPlayer5 || ssit_RealPlayer4 || ssit_bIsMac)


{
document.write ('<object id="rp1" name="rp1" classid="CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" width="192" height="144" border="0"><param name="autostart" value="true"><param name="src" value="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram"><param name="controls" value="ImageWindow"><param name="console" value="av"><embed name="rp1" id="rp1" border="0" src="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram" width="192" height="144" autostart="true" controls="ImageWindow" console="av" type="audio/x-pn-realaudio-plugin"></embed></object><noembed><a href="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram">Play the clip in RealPlayer</a></noembed>'); }
else {
document.write('<div class="downloadPrompt" align="left"><font size="1" color="#00FF66"><b>Your browser has not detected a RealPlayer plugin. It may be that you need to download RealPlayer or adjust your browser settings.<br><br>');
document.write('For help downloading or upgrading RealPlayer for free, visit our <a href="http://www.bbc.co.uk/radio/audiohelp.shtml?focuswin" target="_blank" class="downloadLink">audio/video help</a> page<br><br>');
document.write('Alternatively you can try to <a href="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram" class="downloadLink">play the clip in the standalone player</a> or <a href="http://www.bbc.co.uk/mediaselector/check/media/video/otdvideo/86/05/03/3118_03-05-86?bgc=6699CC&nbram=1&bbram=1&size=4x3&news=1&pref s=1" onclick="changePrefs()" class="downloadLink">change your preferences</a>.</b></font></div>');
}
function setFullScreen() {
if (isIE) {
playerObj = "document.all.rp1";
} else {
playerObj = "document.embeds['rp1']";
}
playState = eval(playerObj + ".GetPlayState()");
if((playState==0) || (playState==1)) {
alert("A clip must be started before you can set it to full size.");
}
else {
alert("Switching to fullscreen mode...\n\n(Press Esc to return to the desktop)");
eval(playerObj +".SetFullScreen()");
}
}
//function setFullScreen() {
//playState = document.rp1.GetPlayState();
// if((playState==0) || (playState==1)) {
// alert("A clip must be started before you can set it to full size.");
// }
// else {
// alert("Press Esc to return to the original size.");
// document.rp1.SetFullScreen();
// }
//}


// -->
</script>
<noscript><object id="rp1" name="rp1" classid="CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" width="192" height="144" border="0"><param name="autostart" value="true"><param name="src" value="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram"><param name="controls" value="ImageWindow"><param name="console" value="av"><embed name="rp1" id="rp1" src="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram" width=192" height="144" autostart="true" controls="ImageWindow" console="av" type="audio/x-pn-realaudio-plugin"></embed></object></noscript>
<!-- END Real Embed SSITool -->

</td></tr>

<script language="JavaScript">
<!--

if (ssit_RealPresent || ssit_RealPlayerG2 || ssit_RealPlayer5 || ssit_RealPlayer4 || ssit_bIsMac) {
document.write('<tr><td align="center" height="30"><object id="rp2" name="rp2" classid="CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" width="192" height="30" border="0"><param name="autostart" value="true"><param name="src" value="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram"><param name="controls" value="StatusBar"><param name="console" value="av"><embed name="rp2" id="rp2" src="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram" width="192" height="30" controls="StatusBar" console="av" type="audio/x-pn-realaudio-plugin"></embed></object></td></tr>'); document.write('<tr><td align="center" height="28"><object id="rp3" name="rp3" classid="CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" width="192" height="28" border="0"><param name="autostart" value="true"><param name="src" value="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram"><param name="controls" value="ControlPanel"><param name="console" value="av"><embed name="rp3" id="rp3" src="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram" width="192" height="28" controls="ControlPanel" console="av" type="audio/x-pn-realaudio-plugin"></embed></object></td></tr>');
}


// -->
</script>
<noscript>
<tr><td align="center" height="30"><object id="rp2" name="rp2" classid="CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" width="192" height="30" border="0"><param name="autostart" value="true"><param name="src" value="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram"><param name="controls" value="StatusBar"><param name="console" value="av"><embed name="rp2" id="rp2" src="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram" width="192" height="30" controls="StatusBar" console="av" type="audio/x-pn-realaudio-plugin"></embed></object></td></tr> <tr><td align="center" height="28"><object id="rp3" name="rp3" classid="CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" width="192" height="28" border="0"><param name="autostart" value="true"><param name="src" value="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram"><param name="controls" value="ControlPanel"><param name="console" value="av"><embed name="rp3" id="rp3" src="http://news.bbc.co.uk/media/video/otdvideo/86/05/03/nb/3118_03-05-86_4x3_nb.ram" width="192" height="28" controls="ControlPanel" console="av" type="audio/x-pn-realaudio-plugin"></embed></object></td></tr>
</noscript>



</table>



</td></tr></table>

</body>
</html>

pls can somebody tell me how to integrate this to vBRadio v1.0 ?

Sychev_S 05-06-2006 07:13 PM

Quick Question: How can I install TWO vbradio plugins, one for Radio and the other one for TV?
I already have Radio one installed.

davidw 05-06-2006 07:35 PM

I've reinstalled this hack now that I can make it work with firefox - I just can't make the controls work - I will probably remove them.

Sychev_S 05-07-2006 03:16 AM

Quote:

Originally Posted by Sychev_S
Quick Question: How can I install TWO vbradio plugins, one for Radio and the other one for TV?
I already have Radio one installed.

Just REPLACED "radio" to "tv" in all fo the files and installed.
You can see it on my site on top, where icon of radio and tv is.:banana:

Devil Woman 05-09-2006 08:51 PM

Quote:

Originally Posted by Mastar
I don't have it installed but,

Find:
Code:


<script type="text/javascript">
<!--

function OpenRadio(){
Radio = window.open('vBRadio.php','vBRadio','directories=no,height=320,width=650,location=no,menubar=no,resizable=no,status=no,toolbar=no')

return false;
}

-->
</script>
<td class="vbmenu_control"><a href="#" onclick="return OpenRadio()">vBRadio</a></td>

Replace with:
Code:

<if condition="!$bbuserinfo['userid']">
<script type="text/javascript">
<!--

function OpenRadio(){
Radio = window.open('vBRadio.php','vBRadio','directories=no,height=320,width=650,location=no,menubar=no,resizable=no,status=no,toolbar=no')

return false;
}

-->
</script>
<td class="vbmenu_control"><a href="#" onclick="return OpenRadio()">vBRadio</a></td>
</if>

See if that works!

Where would I look to find this would it be radio template or somewhere else?

Thanks

simon. 05-18-2006 12:40 PM

Ok Install went good for me, many people are tuning in (>40 a day). However... On "Online Users" it says "Unknown Location - vbradio.php". Is there anyway of making it say "Listening to the Radio".

Let me know!

Thanks.

Gizmo5h1t3 05-18-2006 04:08 PM

Quote:

Originally Posted by simon.
Ok Install went good for me, many people are tuning in (>40 a day). However... On "Online Users" it says "Unknown Location - vbradio.php". Is there anyway of making it say "Listening to the Radio".

Let me know!

Thanks.

here ya go mate....

https://vborg.vbsupport.ru/showthrea...ght=custom+wol

hack to add custom WOL loactions...works a treat..and the best is, u can call em wot u want...heh heh..open to abuse if ya wanna get ure own back on a member....lol

realbiggig 05-20-2006 01:18 PM

nice looking hack but it just wont install for me.. no idea why

i keep getting this error while i'm trying to install it and i know for a fact the file is in the my admin directory
Code:

Error. vbradio.xml located in directory '' was not found. Please make sure it is uploaded then press the submit button below
anyone have any idea's how to get around this?

davidw 05-20-2006 01:40 PM

Where did you upload the vbradio.xml file?


All times are GMT. The time now is 03:30 PM.

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.02107 seconds
  • Memory Usage 1,824KB
  • 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
  • (5)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