The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
VB AnyMedia Player / Media Sites (youtube, google and many more) Details »» | |||||||||||||||||||||||||||||
VB AnyMedia Player / Media Sites (youtube, google and many more)
Developer Last Online: Nov 2023
Some of you might be looking for Anymedia. Well this has replaced it. It's a total rewrite from the ground up. A huge thanks goes to Sir Adrian for creating the framework. He can't cook soup but he sure can code. Why the name goldbrck? From Wikipedia: Quote:
Quote:
What's new in Goldbrick?
Goldbrick's Requirements:
Goldbrick Version 1.5: - Fixed Vbadvanced integration - Fixed extensions permissions checking - Added pickup of old [media] tags - More code changes for later features Goldbrick Version 1.4: - Fixed Apple trailers - Added Added Viemo videos - More code changes for later features Goldbrick Version 1.3: - Fixed Images - Fixed MP3's - Fixed Myspace, now supports myspacetv.com - Added Increase or decrease video size for the classic player (testebr gets the credit for this one) - Added Added ESPN videos - Added Veoh video site. Goldbrick Version 1.2: - Added Videos for Profiles for vbulletin 3.7 - Added Classic Skin - Added Vblog Support - Added Vbadvanced Support - Fixed Attachments - Rewrote some of the code Planned Features: - Youtube like interface - Video Comments - Media Tags - Media Searching Please report any issues or suggestions. Show Your Support
|
Comments |
#932
|
|||
|
|||
yes I try . But not work . Can help?
|
#933
|
||||
|
||||
the mp3's refused to play so I had to add:
Code:
so$media[id].addVariable("type","mp3"); |
#934
|
|||
|
|||
Hi, can you attach the anymedia Template with your modifications please??
|
#935
|
||||
|
||||
I made all the changes to the anymediaold template. Note that I uploaded the full mp3 player instead of using the modified version. here is my full modified version of the template:
Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="$media[layout]">
<tr>
<td class="tcat"<if condition="$media['type'] == 'p2p'"> colspan="2"</if>>
<span style="float:$stylevar[right]"><a href="#" onclick="return toggle_collapse('media_$media[id]')"><img id="collapseimg_media_$media[id]" src="$stylevar[imgdir_button]/collapse_tcat.gif" border="0" /></a></span>
<a href="#" onclick="return toggle_collapse('media_$media[id]')"><if condition="$vboptions['anymediatitle']"> $vboptions[anymediatitle]<else />$vbphrase[anymedia_player]</if></a></td>
</tr>
<tbody id="collapseobj_media_$media[id]"<if condition="$vboptions['anymediacollapse']"> style="display:none;"</if>>
<if condition="$media['type'] != 'p2p'">
<tr>
<td class="alt1" align="center">
<if condition="$media['type'] == 'adobe_flash' AND !in_array($media['extension'], array('mp3','mtv','flv','youporn','godtube'))">
<div id="vid-$media[id]">
<script type="text/javascript">
// <![CDATA[
var so$media[id] = new SWFObject("$media[url]", "anymediavidsites", "$media[width]", "$media[height]", "7", "#FFFFFF");
<if condition="$media['url2']">so$media[id].addVariable("$media[url2]");</if>
so$media[id].addParam("wmode", "transparent");
so$media[id].write('vid-$media[id]');
// ]]>
</script>
</div>
</if>
<if condition="$media['extension'] == 'mp3'">
<div id="vid-$media[id]">
<script type="text/javascript">
var so$media[id] = new SWFObject("players/mp3player.swf", "line", "420", "20", "7");
so$media[id].addVariable("file","$media[link]");
so$media[id].addVariable("width","420");
so$media[id].addVariable("repeat","$media[loop]");
so$media[id].addVariable("type","mp3");
so$media[id].addVariable("showdigits","true");
so$media[id].addVariable("showdownload","$media[download]");
so$media[id].addVariable("autostart","$media[autoplay]");
so$media[id].write('vid-$media[id]');
</script>
</div>
</if>
<if condition="$media['attachment'] == 'flv'">
<!-- Adobe Flash -->
<div id="$media[id]">
<script type="text/javascript">
// <![CDATA[
var so$media[id] = new SWFObject("$media[url]", "flvattach", "$media[width]", "$media[height]", "7", "#FFFFFF");
so$media[id].addVariable("file","$media[url3]");
so$media[id].addParam("wmode", "transparent");
so$media[id].addVariable("image","anymedia/anyMediaplay.gif");
so$media[id].addVariable('type','flv');
so$media[id].write('$media[id]');
// ]]>
</script></div>
</if>
<if condition="$media['extension'] == 'flv' AND $media['attachment'] != 'flv'">
<div id="vid-$media[id]">
<script type="text/javascript">
// <![CDATA[
var so$media[id] = new SWFObject("$media[url]", "anymediaflash", "$media[width]", "$media[height]", "7", "#FFFFFF");
so$media[id].addVariable("file","$media[link]");
so$media[id].addParam("wmode", "transparent");
so$media[id].addVariable("image","anymedia/anyMediaplay.gif");
so$media[id].addVariable('type','flv');
so$media[id].write('vid-$media[id]');
// ]]>
</script>
</div>
</if>
<if condition="$media['extension'] == 'mtv'">
<div id="vid-$media[id]">
<script type="text/javascript">
// <![CDATA[
var so$media[id] = new SWFObject("$media[url]", "anymediavidsitesmtv", "$media[width]", "$media[height]", "7", "#FFFFFF");
so$media[id].addVariable("CONFIG_URL","$media[url2]");
so$media[id].addParam("AllowScriptAccess", "never");
so$media[id].addParam("base", ".");
so$media[id].addParam("wmode", "transparent");
so$media[id].write('vid-$media[id]');
// ]]>
</script>
</div>
</if>
<if condition="$media['extension'] == 'godtube'">
<div id="vid-$media[id]">
<script type="text/javascript">
// <![CDATA[
var so$media[id] = new SWFObject("$media[url]", "anymediavidsitesgodtube", "$media[width]", "$media[height]", "7", "#FFFFFF");
so$media[id].addVariable("type","$media[url2]");
so$media[id].addParam("wmode", "transparent");
so$media[id].write('vid-$media[id]');
// ]]>
</script>
</div>
</if>
<if condition="$media['type'] == 'divx_video'">
<!-- Divix -->
<object codebase="http://download.divx.com/webplayer/stage6/windows/DivXBrowserPlugin.cab" height="$media[height]" width="$media[width]" classid="clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616"><param name="autoplay" value="false"><param name="src" value="$media[url]" /><param name="custommode" value="Stage6" /><param name="showpostplaybackad" value="false" /><embed type="video/divx" src="$media[url]" pluginspage="http://go.divx.com/plugin/download/" showpostplaybackad="false" custommode="Stage6" autoplay="false" height="$media[height]" width="$media[width]" /></object>
</if>
<if condition="$media['type'] == 'quick_time'">
<!-- Quick Time -->
<script type="text/javascript" src="clientscript/anymedia.js"></script>
<div id="anymedia_container_$media[id]"></div>
<script type="text/javascript">anymedia_quicktime('$media[id]', '$media[url]', '$media[mime]', '$media[width]', '$media[height]', '$media[autoplay]', '$media[loop]');</script>
</if>
<if condition="$media['type'] == 'real_media'">
<!-- Real Media -->
<script type="text/javascript" src="clientscript/anymedia.js"></script>
<div id="anymedia_container_$media[id]"></div>
<script type="text/javascript">anymedia_realmedia('$media[id]', '$media[url]', '$media[mime]', '$media[width]', '$media[height]', '$media[autoplay]', '$media[loop]');</script>
</if>
<if condition="$media['type'] == 'windows_media'">
<!-- Windows Media -->
<script type="text/javascript" src="clientscript/anymedia.js"></script>
<div id="anymedia_container_$media[id]"></div>
<script type="text/javascript">anymedia_windowsmedia('$media[id]', '$media[url]', '$media[mime]', '$media[width]', '$media[height]', '$media[autoplay]', '$media[loop]');</script>
</if>
<if condition="$media['type'] == 'adobe_pdf'">
<!-- Adobe PDF -->
<script type="text/javascript" src="clientscript/anymedia.js"></script>
<div id="anymedia_container_$media[id]"></div>
<script type="text/javascript">anymedia_adobepdf('$media[id]', '$media[url]', '$media[mime]', '$media[width]', '$media[height]', '$media[autoplay]');</script>
</if>
<if condition="$media['type'] == 'image'">
<!-- Image -->
<script type="text/javascript" src="clientscript/anymedia.js"></script>
<img src="$media[url]" id="anymedia_image_$media[id]" border="0" onload="if(this.width>$media[width]) {this.resized=true; this.width='$media[width]'; this.alt='$vbphrase[anymedia_resized]';}" onmouseover="if(this.resized) this.style.cursor='pointer';" onclick="if(!this.resized) {return false;} else {window.open('$media[url]');}" onmousewheel="return imgzoom(this);" />
</if>
<if condition="$media['type'] == 'pplive'">
<!-- PPLive -->
<script type="text/javascript" src="clientscript/anymedia.js"></script>
<div id="anymedia_container_$media[id]"></div>
<script type="text/javascript">anymedia_pplive('$media[id]', '$media[url]', '$media[mime]', '$media[width]', '$media[height]', '$media[autoplay]');</script>
</if>
<if condition="$media['type'] == 'torrent_error'">
<!-- Torrent Error -->
$vbphrase[anymedia_torrent_error]
</if>
<if condition="$media['type'] == 'unknown'">
<!-- Wrong Type -->
$vbphrase[anymedia_wrong_type]
</if>
<if condition="$media['type'] == 'error'">
<!-- Error -->
$vbphrase[anymedia_error]
</if>
<if condition="$media['type'] == 'vidsiteoff'">
<!-- Error -->
$vbphrase[anymedia_vidsiteoff]
</if>
</td>
</tr>
<else />
<if condition="$media['extension'] == 'torrent'">
<!-- Torrent -->
<if condition="$media['extra']['name']">
<tr>
<td class="alt2" width="20%">$vbphrase[anymedia_torrent_name]: </td>
<td class="alt1">{$media[extra][name]}<if condition="$media['extra']['length']"> ( {$media[extra][length]} )</if></td>
</tr>
</if>
<if condition="$media['extra']['publisher']">
<tr>
<td class="alt2" width="20%">$vbphrase[anymedia_torrent_publisher]: </td>
<td class="alt1"><if condition="$media['extra']['publisher_url']"><a href="{$media[extra][publisher_url]}" target="_blank" title="$vbphrase[anymedia_torrent_publisher_url]">{$media[extra][publisher]}</a><else />{$media[extra][publisher]}</if></td>
</tr>
</if>
<if condition="$media['extra']['created_by']">
<tr>
<td class="alt2" width="20%">$vbphrase[anymedia_torrent_created_by]: </td>
<td class="alt1">{$media[extra][created_by]}</td>
</tr>
</if>
<if condition="$media['extra']['creation_date']">
<tr>
<td class="alt2" width="20%">$vbphrase[anymedia_torrent_creation_date]: </td>
<td class="alt1">{$media[extra][creation_date]}</td>
</tr>
</if>
<if condition="$media['extra']['encoding']">
<tr>
<td class="alt2" width="20%">$vbphrase[anymedia_torrent_encoding]: </td>
<td class="alt1">{$media[extra][encoding]}<if condition="$media['extra']['codepage']"> ( $vbphrase[anymedia_torrent_codepage]: {$media[extra][codepage]} )</if></td>
</tr>
</if>
<if condition="$media['extra']['piece_length']">
<tr>
<td class="alt2" width="20%">$vbphrase[anymedia_torrent_piece_length]: </td>
<td class="alt1">{$media[extra][piece_length]}</td>
</tr>
</if>
<if condition="$media['extra']['announce']">
<tr>
<td class="alt2" width="20%">$vbphrase[anymedia_torrent_announce]: </td>
<td class="alt1">{$media[extra][announce]}</td>
</tr>
</if>
<if condition="$media['extra']['nodes']">
<tr>
<td class="alt2" width="20%">$vbphrase[anymedia_torrent_nodes]: </td>
<td class="alt1">{$media[extra][nodes]}</td>
</tr>
</if>
<if condition="$media['extra']['files']">
<tr>
<td class="alt2" width="20%">$vbphrase[anymedia_torrent_files]: </td>
<td class="alt1">{$media[extra][files]}</td>
</tr>
</if>
</if>
<if condition="$media['extension'] == 'foxy' || $media['extension'] == 'emule'">
<!-- Foxy -->
{$media[extra][content]}
<tr class="alt2">
<td align="left" width="80%">
<script type="text/javascript" src="clientscript/anymedia.js"></script>
<span style="float: right;"><input type="button" value="$vbphrase[anymedia_download_checked]" onClick="anymedia_download('$media[id]', 0, 1)" class="button"> <input type="button" value="$vbphrase[anymedia_copy_checked]" onClick="anymedia_copy('$media[id]')" class="button"><div id="copy_anymedia_$media[id]" style="position:absolute;height:0px;width:0px;overflow:hidden;"></div></span> <input type="checkbox" id="checkall_anymedia_$media[id]" onClick="anymedia_checkall('$media[id]', this.checked)" checked="checked" /> <label for="checkall_anymedia_$media[id]">$vbphrase[anymedia_check_all]</label>
</td>
<td align="center" width="20%" class="alt1">
$vbphrase[anymedia_total_size]<span id="size_anymedia_$media[id]">{$media[extra][size]}</span>
</td>
</tr>
</if>
</if>
<if condition="$media['download']">
<tr>
<td class="tfoot" align="center"<if condition="$media['type'] == 'p2p'"> colspan="2"</if>><a href="$media[link]" target="_blank"><if condition="$media['title']">$media[title]<else />$vbphrase[anymedia_download]</if></a></td>
</tr>
<else />
<tr>
<td class="tfoot" align="center"<if condition="$media['type'] == 'p2p'"> colspan="2"</if>><strong>$media[title]</strong></td>
</tr>
</if>
</tbody>
</table>
|
#936
|
|||
|
|||
thx now it works
|
#937
|
|||
|
|||
Ya can you please check.....
|
#938
|
|||
|
|||
I am being told to upgrade my flash player and it just puts the M logo in the spot
help! |
#939
|
|||
|
|||
Nice Mod! Thanks!
Any chance you'll ever get NFL.com videos to work? |
#940
|
||||
|
||||
I'll take a look at them. Didn't know they had videos.
I have this working in the vblogs. I'll release it sometime this week. |
#941
|
|||
|
|||
Here's a sample of their video link they provide if that helps at all. :up:
http://www.nfl.com/videos?videoId=09000d5d8026755c Once again....GREAT MOD! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|