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

Reply
 
Thread Tools
Play Youtube Video and more on you forums with you images and logo Details »»
Play Youtube Video and more on you forums with you images and logo
Version: 1.1, by friend01 friend01 is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.7.x Rating:
Released: 06-26-2008 Last Update: 06-27-2008 Installs: 49
 
No support by the author.

NEW YOUTUBE VIDEO BBCODE and more file type on you forums with you images and logo.


code by: friend01
http://thuytinh.name

Suport: on vBB v3.6x and vBB v3.7.x
and folge file type: Youtube video, images(jpg,png,gif....), mp3, rtmp stream,swf,flv.


Install:

1. Upload the contents of the "upload" folder to you root forums.

2. Goto: ACP > Custom BB Codes > add new BB code

Title: Play Youtube Video

BB Code Tag Name: ttyoutube

Replacement:

Code:
<script type="text/javascript" src="http://youhome.com/forums/mediaplayer/swfobject.js"></script>
 
<div id="player">This text will be replaced</div>
 
<script type="text/javascript">
var so = new SWFObject('http://youhome.com/forums/mediaplayer/mediaplayer.swf','mpl','425','344','8');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addVariable('height','344');
so.addVariable('width','425');
so.addVariable('file','{param}');
so.addVariable('image','http://youhome.com/forums/mediaplayer/ttimages.png');
so.addVariable('logo','http://youhome.com/forums/mediaplayer/ttplayerlogo.png');
so.addVariable('displayheight','344');
so.addVariable('searchbar','false');
so.write('player');
</script>


Example:
[ttyoutube]http://de.youtube.com/watch?v=6yYBdiCoR9A[/ttyoutube]

Description: Play Youtube Video on you forums with you images and logo

Use {option}: no

Button Image (Optional): images/youtube.gif

3. click: save
4. :up: ...
//////////////////////////////////////////////////////////////////////////////////////////

Importal:
a. Replace link in Red color with you forums pach.

b. Replace link in Green color with you with you bachground images. (support file jpg, png)

c. Replace link in Blue color with you with you logo images. (support file jpg, png)

//////////////////////////////////////////////////////////////////////////////////////////
Update: Add javascript!

Supporters / CoAuthors

Show Your Support

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

Comments
  #32  
Old 07-31-2008, 09:38 PM
221123 221123 is offline
 
Join Date: Apr 2008
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i have a problem , it does show a video in a post only , when i reply and try to put a new video from you tube , it says text will be replaced

note im using VB 3.6.8
Reply With Quote
  #33  
Old 08-02-2008, 08:55 PM
ETDC ETDC is offline
 
Join Date: Aug 2007
Location: United Kingdom
Posts: 354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uninstalled. Nightmare mod...
Reply With Quote
  #34  
Old 08-03-2008, 11:16 PM
Rhoody@philippi Rhoody@philippi is offline
 
Join Date: Feb 2008
Location: Dumaguete Philippines
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get always:
this text will be replaced (as a link to the vid)
this text will be replaced (without link to thew video)

guess it's just me...
Reply With Quote
  #35  
Old 08-07-2008, 02:00 PM
gpc10347 gpc10347 is offline
 
Join Date: May 2008
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone know what might prevent audio from working for certain users? The volume control apparently appears to work, but doesn't... The same clip when embedded using the YouTube code sounds fine to the same user...

And as usual, it works for me...
Reply With Quote
  #36  
Old 08-10-2008, 12:50 PM
Sedition-Guild Sedition-Guild is offline
 
Join Date: Jul 2008
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This didn't work at all for me, I ended up uninstalling it.

But I found this, and it still works!

It was much easier!
Reply With Quote
  #37  
Old 08-11-2008, 09:59 PM
MasterofWorlds MasterofWorlds is offline
 
Join Date: Aug 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anyway to modify this BBCode to work with interactive flash files? In other words like playing the Foamy Video's or any other FLV file that needs you to use the mouse to click on a part of the flash to have it continue on?

Thanks
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:23 AM.


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.04511 seconds
  • Memory Usage 2,266KB
  • Queries Executed 24 (?)
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
  • (1)bbcode_code
  • (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
  • (2)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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