Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

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
  #12  
Old 06-28-2008, 03:10 PM
nothing4me nothing4me is offline
 
Join Date: Oct 2007
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Isn't this kind of illegal? Like you're claiming someone else's work or somewhat related to it...
It already has that Youtube logo. I mean, it's like not you did anything to help the Youtube/Google corporation, you're just branding it your own for no reason at all.
Reply With Quote
  #13  
Old 06-28-2008, 05:28 PM
srkrocks srkrocks is offline
 
Join Date: Jun 2008
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed!
Thanks
Reply With Quote
  #14  
Old 06-28-2008, 10:03 PM
ETDC ETDC is offline
 
Join Date: Aug 2007
Location: United Kingdom
Posts: 354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nothing4me View Post
Isn't this kind of illegal? Like you're claiming someone else's work or somewhat related to it...
YouTube makes a living from hosting illegal content...

What kind of bandwidth overhead does this hack have?

Reply With Quote
  #15  
Old 06-28-2008, 10:50 PM
ETDC ETDC is offline
 
Join Date: Aug 2007
Location: United Kingdom
Posts: 354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed - works a treat! :up: :up: :up:
Reply With Quote
  #16  
Old 06-29-2008, 07:29 AM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

friend, i saw in your screens that you have the 'video avatars' how you made this?
Reply With Quote
  #17  
Old 06-29-2008, 10:19 AM
friend01 friend01 is offline
 
Join Date: Jan 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KURTZ View Post
friend, i saw in your screens that you have the 'video avatars' how you made this?
hi KURTZ! read link theard youtube Avatar: :up:
https://vborg.vbsupport.ru/showthread.php?t=150574
Reply With Quote
  #18  
Old 06-30-2008, 10:46 AM
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Location: Deutschland
Posts: 901
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks and installed: but how come i can't make it work or play? it keep buffering only... using vB 3.6.8 PL2 here...
Reply With Quote
  #19  
Old 07-01-2008, 01:57 AM
calldaffer's Avatar
calldaffer calldaffer is offline
 
Join Date: Mar 2002
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed, thank you! I've been waiting for a bbcode version of this. I did not want to install some beta hack audio/video player when I knew sooner or later a bbcode verion would become available!
Reply With Quote
  #20  
Old 07-02-2008, 02:33 AM
ricky_s ricky_s is offline
 
Join Date: Jun 2008
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey thanks for the mod.

couple of questions:
1) how can I add direct link to flv files?
I mean, I would like to view youtube videos on my forum, but I would also like to view my custom made flv videos. When I paste "http:\\whatever.com/video.flv" in between the BB code nothing happens.

2) How can I embed High Quality you tube videos?
I have uploaded some videos on youtube that are only watchable in High Quality. How can I make the custom player, play those High Quality videos?

http://youtube.com/watch?v=FOOcNT-7d88&
that is a link to normal quality video

http://youtube.com/watch?v=FOOcNT-7d88&fmt=6
that is a link to high quality video.

3) wold it be possible to let the video player adjust to the size of the video? Right now the dimensions are H:344 W:425.
If I upload a video thats H:480 W:640 the video player should show the video in its true size.

4) great mod! Props!
Reply With Quote
  #21  
Old 07-02-2008, 09:32 PM
calldaffer's Avatar
calldaffer calldaffer is offline
 
Join Date: Mar 2002
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any idea why I seem to randomly get "this file will be replaced" when I post a video? Doesn't happen all the time, can't figure out why its doing that to some of my video posts
Reply With Quote
Reply

Thread Tools

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:42 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.04424 seconds
  • Memory Usage 2,303KB
  • 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
  • (2)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
  • (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