Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Resisable YouTube bbc Details »»
Resisable YouTube bbc
Version: 1.00, by ti07shadow ti07shadow is offline
Developer Last Online: Jan 2013 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.8.x Rating:
Released: 02-18-2009 Last Update: Never Installs: 13
 
No support by the author.

Re-sizable You Tube


THIS WAS AND HAS BEEN TESTED ON MOZILLA FIREFOX AND THE SCREEN SHOTS PROVIDED ARE DIRECTLY FROM MOZILLA FIREFOX.

What this basically does is displays a youtube video, however it allows you to enlarge the video, and go to the video directly.

Title: YouTube Video
BB Code Tag Name: youtube

In Replacement add:
Code:
<center><table class="tborder" cellpadding="6" cellspacing="1" border="0" width="400" style="margin:10px 0">
<thead>
	<tr>
		<td class="tcat" colspan="2" style="text-align:center">
			<span style="float:right;margin-left:5px;cursor:pointer;font-weight:bolder;" title="Increase this video's size" onClick="
				if ( this.innerHTML == '+' ) {
					this.innerHTML = '-';
					this.title = 'Reset video size';
					this.parentNode.parentNode.parentNode.parentNode.width=638;
					this.parentNode.parentNode.parentNode.parentNode.getElementsByTagName('object')[0].width=638;
					this.parentNode.parentNode.parentNode.parentNode.getElementsByTagName('object')[0].height=515;
				} else {
					this.innerHTML = '+';
					this.title = 'Increase this video\'s size';
					this.parentNode.parentNode.parentNode.parentNode.width=425;
					this.parentNode.parentNode.parentNode.parentNode.getElementsByTagName('object')[0].width=425;
					this.parentNode.parentNode.parentNode.parentNode.getElementsByTagName('object')[0].height=355;
				}
			">+</span>
			<a href="http://www.youtube.com/watch?v={param}" title="View this video at YouTube in a new window or tab" target="_blank">YouTube Video</a>
		</td>
	</tr>
</thead>

<tbody>
	<tr>
		<td class="panelsurround" align="center">
			<object width="425" height="355" type="application/x-shockwave-flash" data="http://www.youtube.com/v/{param}">
				<param name="movie" value="http://www.youtube.com/v/{param}" />
				<param name="wmode" value="transparent" />
				<em><strong>ERROR:</strong> If you can see this, then <a href="http://www.youtube.com/">YouTube</a> is down or you don't have Flash installed.</em>

			</object>
		</td>
	</tr>
</tbody>
</table></center>
Example: [youtube]video id[/youtube]
Description: Place the video id in between the codes and wallah a youtube player

Button Image (Optional): http://i27.tinypic.com/6j28pg.gif


Screenshots




Show Your Support

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

Comments
  #12  
Old 03-17-2009, 06:13 PM
vijayninel's Avatar
vijayninel vijayninel is offline
 
Join Date: Mar 2009
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Thanks, a really cool one.
Reply With Quote
  #13  
Old 03-25-2009, 09:27 AM
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Location: Telford, England
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In Firefox in 3.8.1 it displays the video twice. One above the other, one in the header cell and one in the body cell of the table.
Ah ignore me - I had the passivevid hack installed as well.
Reply With Quote
  #14  
Old 04-13-2009, 06:23 PM
Jasem's Avatar
Jasem Jasem is offline
 
Join Date: Feb 2006
Location: www.menokia.com
Posts: 594
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you
Reply With Quote
  #15  
Old 04-21-2009, 03:16 AM
ti07shadow ti07shadow is offline
 
Join Date: Apr 2008
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yea guys as said before this has been fully tested of bugs. however if it doesn't work well for you try the following.

- Disabled 1 mod at a time and find out which one may be conflicting with the bbc

if that doesn't work then you may have java script disabled or you cant for some reason see you tube videos. This may be do to your flash player not being up to date or you may not have flash player.

- non of those? well I don't know. all I know is it works for me a many others.
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 02:28 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.06377 seconds
  • Memory Usage 2,254KB
  • Queries Executed 20 (?)
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
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)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