Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
AnyMedia BBCode for 3.5.x Details »»
AnyMedia BBCode for 3.5.x
Version: 3.0.4, by Crist Crist is offline
Developer Last Online: Jun 2014 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 01-23-2006 Last Update: 06-09-2006 Installs: 936
Uses Plugins Template Edits
Additional Files  
No support by the author.

###############################
# Jun.7th, 2006 17:00 GMT+8 #
# AnyMedia BBCode 3.0.4 Release #
###############################

@ Overview
---------------------------------
Products to Import: 1
Template Modifications: 4
File to Upload: 7 (2 swf, 1 gif, 3 php, 1 js)

@ Description
---------------------------------
Use only ONE bbcode to post almost 60 kinds of file,
and flash videos from more than 10 sites.

@ Credits
---------------------------------
Author of the Hack -- Crist Chsu
Author of Flash Single MP3 Player -- Jeroenwijering.COM
Author of Flash Video Player -- Jeroenwijering.COM
Author of PHP BEncode Library -- Gerard Krijgsman
Special thanks to Andreas's great suggestion, which made the mod become a plugin.

@ Translations
---------------------------------
Simplified Chinese by Crist Chsu (http://www.QuChao.com)
Traditional Chinese by Crist Chsu (http://www.QuChao.com)
German by Oberguru (http://www.webgurus.de)
Arabic by Coffee (http://www.shinqit.net)
Hebrew by Dacho (http://www.dacho.co.il)
Italian by Fulvio di Stefano (http://www.internetdiffusion.com)

@ Supported Extensions
---------------------------------
Adobe Flash:
swf, spl, flv

Quick Time:
mov, qt, mqv, mpeg, mpg, m1s, m1v, m1a, m75, m15, mp2, mpm, mpv, mpa, flc, fli, cel, rtsp, rts, 3gp, 3gpp, 3g2, 3gp2, sdv, amc, mp4, sdp

Real Media:
rm, rmvb, ra, rv, ram, smil

Windows Media:
mp3, wma, wav, ogg, ape, mid, midi, asf, asx, wm, wmv, wsx, wax, wvx, avi

Adobe PDF:
pdf, fdf, xfdf, xdp, xfd

Image File:
gif, jpg, jpeg, bmp, png, xpm

P2P File:
torrent, emule, foxy, pplive

@ Supported Flash Video Sites
---------------------------------
Google (http://video.google.com/)
Youtube (http://www.youtube.com/)
vSocial (http://www.vsocial.com/)
iFilm (http://www.ifilm.com/)
MetaCafe (http://www.metacafe.com/)
DailyMotion (http://www.dailymotion.com/video/)
CurrentTV (http://www.current.tv/studio/)
Vimeo (http://www.vimeo.com/)
Sharkle (http://www.sharkle.com/video/)
FreeVideoBlog (http://video.freevideoblog.com/)
MyVideoDe (http://www.myvideo.de/)

@ Features
---------------------------------
You're allowed to ...
1. Custom the tag name;
2. Custom the title of the player;
3. Decide which usergroup could see the download link;
4. Use Flash Single Mp3 Player to play the mp3 file;
5. Custom the width & height of the media;
6. Decide whether to make the media autostart by default;
7. Decide whether to collapse the player box by default;
8. Play the Google Videos via proxy;
9. Auto-detect the attachment type;
10. Use AnyMedia player to play attachments;
11. Custom the default value of loop;
12. Filter the AnyMedia BBCodes in Quote tags;
13. Choose which extension could be supported;
14. Choose whether to use AnyMedia Player or not for each supported video site;

@ How to Use
---------------------------------
Tag without options:
[MEDIA]url_of_the_file[/MEDIA]

ex.
[MEDIA]http://server/file.mp3[/MEDIA]
Shown as a mp3 player (Use the flash mp3 player by default).

Tag with options:
[MEDIA="width, height, autostart, loop, extension"]url_of_the_file[/MEDIA]
[MEDIA="width, height, autostart, loop"]url_of_the_file[/MEDIA]
[MEDIA="width, height, autostart"]url_of_the_file[/MEDIA]
[MEDIA="width, height"]url_of_the_file[/MEDIA]

ex.
[MEDIA="300,380,yes,2,rm"]http://server/file.mp3[/MEDIA]
It will use the real player to play the file.mp3,
the object is 300px width, 380px height,
it will autostart and will repeat for twice.

[MEDIA=250,150,0,3]http://server/file.flv[/MEDIA]
It will use the flash player to play the file.flv,
the object is 250px width, 150px height,
it'll NOT autostart but will repeat for 3 times.

[MEDIA=400,480,false]http://server/file.swf[/MEDIA]
It will use the flash player to play the file.swf,
the object is 400px width, 480px height,
and it'll NOT autostart.

[MEDIA=421,211]http://server/file.pdf[/MEDIA]
It will post the pdf object on the page,
the object is 421px width, 211px height.

Other Rules:
1.WIDTH and HEIGHT are both required if you want to add options;
2.Available values for the AUTOSTART option: 1, true & yes.
3.Separate the options with commas.

@ Change Logs
---------------------------------
[1.1.0]
[BUG] Hide the "download link" will show a warning
[NEW] Usergroup Permission Restriction

[1.2.0]
[DEL] Codes Modifications (Thanks to Andreas's suggestion)
[CHG] Allow every group to use anymedia by default
[NEW] Cache the Templates

[1.3.0]
[CHG] Use Google Video Player to play the Google's.
[NEW] Allow to play the wsx, wav and the flv files from google, youtube, vsocial .
[NEW] Allow you to custom the tag name.
[NEW] Allow you to set the title for the player box.
[NEW] Allow you to collapse the player box by default.
[BUG] Playing a WMV file with no pictures.

[2.0.0]
[CHG] Change the method of loading, Fix the "Bug" that long loading.
[NEW] "Fix" the 'Activating Active Content' issues in the new IE Update. (It means that, if you've installed the new IE update, there's no need to Click the media object before you want to play it

[2.1.0]
[BUG] Fix the bug that cannot autoplay a wmv (& etc.) file.
[BUG] Fix the bug that when custom the video size of google/youtube/vsocial will get a non-supportted error.
[NEW] Let you to choose whether to play a google video through a proxy. It's useful for Chinese users.

[2.2.0]
[BUG] Fix the bug that cannot autoplay a wmv on Firefox.
[BUG] Fix the bug that auto play a google/youtube/vsocial video when disable it.

[2.3.0]
[BUG] Fix a tiny bug with bt parsing.
[NEW] Support the attachments from your own forum, and you could switch it off.

[3.0.0]
[CHG] Rebuild the code of the whole AnyMedia.
[CHG] Use flvplayer to play Google Video again.
[BUG] Fix the bug that error with parsing when allow_url_fopen's off.
[BUG] Fix a bug with url parsing.
[BUG] Fix the parsing error of youtube video.
[NEW] eMule & foxy types added.
[NEW] loop option added.
[NEW] Use AnyMedia Player to play the attachment when upload one.
[NEW] 8 More flash video sites supported.
[NEW] Chinese versions added.

[3.0.1]
[BUG] Fixed the bug that cannot autoplay a wmv (& etc.) file.
[BUG] Fixed the bug that always insert a tag named [media].
[CHG] Hide AnyMedia button in editor when disable it.
[CHG] Hide AnyMedia Player for unsupported attachment.
[NEW] Multi-Language Documents added. It will auto-detect the language when you open it.
[LAN] German version by Oberguru (http://www.webgurus.de) added.
[LAN] Arabic version by Coffee (http://shinqit.net) added.

[3.0.2]
[BUG] Fixed the bug that cannot disable extensions in admincp .
[BUG] Fixed the bug with youtube playing session.
[CHG] Used a special player to play youtube video.
[NEW] Added an option to switch the youtube video playing method.
[NEW] You could use 'Ctrl + wheel' to resize the image now.
[NEW] New option added in admincp, you could choose whether to disable AnyMedia BBCode in Quote tags.

[3.0.3]
[BUG] Fixed the bug with mp3's (flash player) autoplay issue.
[BUG] Fixed the bug with flv's autoplay issue.
[BUG] Fixed the bug with 3gp files' parsing error.
[BUG] Fixed the bug with iamges' resize issue.
[BUG] Fixed the bug with attachments' autoplay issue.
[NEW] Support the latest Google Movie Preview (http://video.google.com/movietrailers.html).
[LAN] Hebrew version by Dacho (http://www.dacho.co.il) added.

[3.0.4]
[BUG] Get Google Video back to work again.
[NEW] PPLive supported. You could watch the World Cup Live on your board with your members now. Which team will be the biggest winner this time? :banana: (It can only work with IE, sigh...:surprised: )
[NEW] New option group added in admincp, you could choose whether to use build-in player for each supported sites.


@ Frequently Asked Questions
---------------------------------
Q: I got white screen when playing a google video.
A: AnyMedia fetch the correct video url, but there's sth wrong with the flvplayer.swf, try to refresh the page to solve it.

Q: When using mp3player.swf to play mp3, it's played fast/slowly.
A: Flash doesn't support vbr (variable bit rate) mp3 files.It only support a mp3 with a fixed bitrate of 64/96/128 kbps ,a sample frequency of 22.05kHz and joint stereo. To solve it, turn the option off in admincp to make it be played by WMP.

Q: I have to click play button twice to play a google video.
A: Emmm... Even using the google player, you also have to click twice. I don't know why, and I'm trying to fixed it. If you know, just tell me.

Q: The supported extensions checkbox are always unchecked even if I check them all.
A: The permission cache is not updated. Overwrite the 'includes/xml/bitfield_anymedia.xml' file, and log into your admincp to visit 'admincp/index.php?do=buildbitfields' to rebuild the permission cache.

Q: When I use build-in player to play Youtube, it will be loading all the time.
A: To use the build-in player to play Youtube videos, your server have to enable the 'allow_url_fopen' option, or enable the 'fsockopen / curl_init' functions. If failed, turn the 'Use AnyMedia Player for Youtube Video' option off in admincp.

Q: I cannot get the PPLive working with my Firefox or etc.
A: As far as I know, the pplive object can only work with IE. And if you know how to embed it on FireFox, just tell me.

@ Todo
---------------------------------
1. Add a Playlist.
2. Integrate it with CMPS, Link & Download Sys, and etc.
3. read ID3 tag.

@ Notes
---------------------------------
1. We need other translations, if you made one, just PM me.

If you like the hack, Please click .

I DO NOT know whether I should update the hack.
I'm not a coder of vBulletin-Chinese Team now, as I left there weeks ago.
Sorry about this, and I'll tell you how the update's going if it's really on the way.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #342  
Old 04-03-2006, 08:05 AM
Crist's Avatar
Crist Crist is offline
 
Join Date: Sep 2005
Location: China
Posts: 379
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ang2el
I installed everything as instructed by nothing is seen just code is seen like
[media]site[/media]

Help please
Have you enable the permission for the usergroup?
Reply With Quote
  #343  
Old 04-03-2006, 08:14 AM
Crist's Avatar
Crist Crist is offline
 
Join Date: Sep 2005
Location: China
Posts: 379
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozstudynet
??我只是抱怨一下为什么没在中文官方更新??
饿了??煮饭去?? 等复活节放假的时候帮你看看吧^_^
+我MSN, ttiger#ttiger.com
中文那边因故我不想更新了??
至于英文版??
大伙儿似乎也看得懂我的Chinglish
就不用劳烦您了??
Reply With Quote
  #344  
Old 04-03-2006, 08:17 AM
Crist's Avatar
Crist Crist is offline
 
Join Date: Sep 2005
Location: China
Posts: 379
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ang2el
Yh, I uploaded all the file and the product and then went to style managar and edited as per the instruction in editor_toolbar_on

where could be the the defect?
nothing defect.
Have you checked the permissions of every usergroup?
Reply With Quote
  #345  
Old 04-04-2006, 07:15 AM
smdani smdani is offline
 
Join Date: Nov 2004
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the news, Crist.

For me all issues are solved but only for firefox.
I love firefox, but most of my users are using IE and they can’t see the videos that are played with flvplayer.swf (youtube, vsocial, flv) I try to use another flvplayer like before, but the issue persists. Then I looked at the code of the generated page and this is what I see:

With firefox:
HTML Code:
 <!-- AnyMedia BBCode for vBulletin 3.5.x by Crist Chsu @ VBZH.com Start -->
<table class="tborder" border="0" cellpadding="2" cellspacing="1" width="168">
<tbody><tr>
	<td class="tcat">
	<span style="float: right;"><a href="#" onclick="return toggle_collapse('media_1659645334')"><img id="collapseimg_media_1659645334" src="agora_style/buttons/collapse_tcat.gif" border="0"></a></span>
	<a href="#" onclick="return toggle_collapse('media_1659645334')"> multimedia</a></td>
</tr>
</tbody><tbody id="collapseobj_media_1659645334">

<tr>
	<td class="alt1" align="center">
	
	<!-- Abode Flash -->
		<script type="text/javascript" src="clientscript/anymedia.js"></script>
		<div id="anymedia_container_1659645334"><object data="URL_OF_MY_VIDEO" type="application/x-shockwave-flash" height="140" width="160"><param name="play" value="true"><param name="wmode" value="opaque"><param name="quality" value="high"></object></div>
		<script type="text/javascript">anymedia_flash('1659645334', 'URL_OF_MY_VIDEO', 'application/x-shockwave-flash', '160', '140', 'true');</script>
	</td>
</tr>

</tbody>
</table>
<!-- Anymedia BBCode for vBulletin 3.5.x by Crist Chsu @ VBZH.com End -->

With IE:
HTML Code:
 <!-- AnyMedia BBCode for vBulletin 3.5.x by Crist Chsu @ VBZH.com Start -->
<table class="tborder" cellpadding="2" cellspacing="1" border="0" width="168">
<tr>
	<td class="tcat">
	<span style="float:right"><a href="#" onclick="return toggle_collapse('media_1659645334')"><img id="collapseimg_media_1659645334" src="agora_style/buttons/collapse_tcat.gif" border="0" /></a></span>
	<a href="#" onclick="return toggle_collapse('media_1659645334')"> multimedia</a></td>
</tr>
<tbody id="collapseobj_media_1659645334">

<tr>
	<td class="alt1" align="center">
	
	<!-- Abode Flash -->
		<script type="text/javascript" src="clientscript/anymedia.js"></script>
		<div id="anymedia_container_1659645334"></div>
		<script type="text/javascript">anymedia_flash('1659645334', 'URL_OF_MY_VIDEO', 'application/x-shockwave-flash', '160', '140', 'true');</script>
	</td>
</tr>


</tbody>
</table>
<!-- Anymedia BBCode for vBulletin 3.5.x by Crist Chsu @ VBZH.com End -->
Both are including and calling the function anymedia.js and both creates a div to put the object, but this div is empty in the case of IE, it looks like this
HTML Code:
 <div id="anymedia_container_1659645334"></div>
?May be it the problem?

I’ve try to reinstall last version, uninstall and reinstall a previous one and it doesn’t solves
Reply With Quote
  #346  
Old 04-04-2006, 04:36 PM
H@K@N H@K@N is offline
 
Join Date: Dec 2004
Location: Dortmund
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice Hack, thx ...
Reply With Quote
  #347  
Old 04-05-2006, 05:39 AM
scruby scruby is offline
 
Join Date: Feb 2005
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

are .fla files available for customizing the flash?
Reply With Quote
  #348  
Old 04-05-2006, 08:52 AM
Crist's Avatar
Crist Crist is offline
 
Join Date: Sep 2005
Location: China
Posts: 379
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by smdani
Thanks for the news, Crist.

For me all issues are solved but only for firefox.
I love firefox, but most of my users are using IE and they can?t see the videos that are played with flvplayer.swf (youtube, vsocial, flv) I try to use another flvplayer like before, but the issue persists. Then I looked at the code of the generated page and this is what I see:

With firefox:
HTML Code:
 <!-- AnyMedia BBCode for vBulletin 3.5.x by Crist Chsu @ VBZH.com Start -->
<table class="tborder" border="0" cellpadding="2" cellspacing="1" width="168">
<tbody><tr>
	<td class="tcat">
	<span style="float: right;"><a href="#" onclick="return toggle_collapse('media_1659645334')"><img id="collapseimg_media_1659645334" src="agora_style/buttons/collapse_tcat.gif" border="0"></a></span>
	<a href="#" onclick="return toggle_collapse('media_1659645334')"> multimedia</a></td>
</tr>
</tbody><tbody id="collapseobj_media_1659645334">

<tr>
	<td class="alt1" align="center">
	
	<!-- Abode Flash -->
		<script type="text/javascript" src="clientscript/anymedia.js"></script>
		<div id="anymedia_container_1659645334"><object data="URL_OF_MY_VIDEO" type="application/x-shockwave-flash" height="140" width="160"><param name="play" value="true"><param name="wmode" value="opaque"><param name="quality" value="high"></object></div>
		<script type="text/javascript">anymedia_flash('1659645334', 'URL_OF_MY_VIDEO', 'application/x-shockwave-flash', '160', '140', 'true');</script>
	</td>
</tr>

</tbody>
</table>
<!-- Anymedia BBCode for vBulletin 3.5.x by Crist Chsu @ VBZH.com End -->

With IE:
HTML Code:
 <!-- AnyMedia BBCode for vBulletin 3.5.x by Crist Chsu @ VBZH.com Start -->
<table class="tborder" cellpadding="2" cellspacing="1" border="0" width="168">
<tr>
	<td class="tcat">
	<span style="float:right"><a href="#" onclick="return toggle_collapse('media_1659645334')"><img id="collapseimg_media_1659645334" src="agora_style/buttons/collapse_tcat.gif" border="0" /></a></span>
	<a href="#" onclick="return toggle_collapse('media_1659645334')"> multimedia</a></td>
</tr>
<tbody id="collapseobj_media_1659645334">

<tr>
	<td class="alt1" align="center">
	
	<!-- Abode Flash -->
		<script type="text/javascript" src="clientscript/anymedia.js"></script>
		<div id="anymedia_container_1659645334"></div>
		<script type="text/javascript">anymedia_flash('1659645334', 'URL_OF_MY_VIDEO', 'application/x-shockwave-flash', '160', '140', 'true');</script>
	</td>
</tr>


</tbody>
</table>
<!-- Anymedia BBCode for vBulletin 3.5.x by Crist Chsu @ VBZH.com End -->
Both are including and calling the function anymedia.js and both creates a div to put the object, but this div is empty in the case of IE, it looks like this
HTML Code:
 <div id="anymedia_container_1659645334"></div>
?May be it the problem?

I?ve try to reinstall last version, uninstall and reinstall a previous one and it doesn?t solves
Did you replace the swf files with the new ones?
And if you still cannot solve this prob,
just contact me with IM.
Reply With Quote
  #349  
Old 04-05-2006, 08:54 AM
Crist's Avatar
Crist Crist is offline
 
Join Date: Sep 2005
Location: China
Posts: 379
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by scruby
are .fla files available for customizing the flash?
You mean the players?
No,they're not my works,
two of them from http://jeroenwijering.com/ (You could down the fla files from the site)
and another from google.
Reply With Quote
  #350  
Old 04-05-2006, 04:29 PM
Ins Ins is offline
 
Join Date: Jan 2006
Location: South Africa
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent! Installed and worked without any issues
Reply With Quote
  #351  
Old 04-07-2006, 05:05 AM
GrCh_Jeff's Avatar
GrCh_Jeff GrCh_Jeff is offline
 
Join Date: Dec 2005
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Crist
1.Never download it to your server
what do you mean?:surprised:
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:06 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07619 seconds
  • Memory Usage 2,380KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_html
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete