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
  #22  
Old 07-03-2008, 04:24 AM
elmati elmati is offline
 
Join Date: Mar 2007
Location: Argentina
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, as i see using swfobject we can't post 2 o more videos inline because we duplicate the id's...
any js coder maybe can show us the way to change the ID via javascript

Nice mod anyway!
Reply With Quote
  #23  
Old 07-03-2008, 11:36 AM
Jamesmaps Jamesmaps is offline
 
Join Date: May 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome!

Thanks a lot
Reply With Quote
  #24  
Old 07-14-2008, 12:20 AM
ETDC ETDC is offline
 
Join Date: Aug 2007
Location: United Kingdom
Posts: 354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What's the bandwidth overhead on this hack? Does the media player (1.6Mb) get downloaded everytime? Could be a bandwidth wrecker!
Reply With Quote
  #25  
Old 07-14-2008, 05:03 AM
xoutlawz00x xoutlawz00x is offline
 
Join Date: May 2008
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

same question
Reply With Quote
  #26  
Old 07-15-2008, 04:48 AM
Rideharder's Avatar
Rideharder Rideharder is offline
 
Join Date: Jan 2008
Location: Florida
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What's the bandwidth overhead ?

GOOD WORK ON THIS I like it alot!
Reply With Quote
  #27  
Old 07-15-2008, 01:13 PM
ETDC ETDC is offline
 
Join Date: Aug 2007
Location: United Kingdom
Posts: 354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks like this isn't supported anymore (dev last online June 27th)
Reply With Quote
  #28  
Old 07-19-2008, 10:58 AM
reloadit reloadit is offline
 
Join Date: Jul 2008
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it possible dto use yout own skin?
Reply With Quote
  #29  
Old 07-19-2008, 11:17 AM
ETDC ETDC is offline
 
Join Date: Aug 2007
Location: United Kingdom
Posts: 354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes - just use your own graphic (png). Take a look at the instructions.
Reply With Quote
  #30  
Old 07-19-2008, 01:29 PM
reloadit reloadit is offline
 
Join Date: Jul 2008
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no i mean my own stlye in a swf-skin
Reply With Quote
  #31  
Old 07-30-2008, 11:51 PM
ETDC ETDC is offline
 
Join Date: Aug 2007
Location: United Kingdom
Posts: 354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still using this but it's real flakey. As posted above, you can't post any more than one video in one post (and I hope it's not in one thread. )

The other thing is that when you edit, the YT link drops out and you get 'This text will be replaced' instead of the video.

Can this be fixed please?
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 07:14 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.05934 seconds
  • Memory Usage 2,298KB
  • Queries Executed 26 (?)
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
  • (3)pagenav_pagelink
  • (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