vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - MySpace/YouTube/Google Video Addon (best yet) (https://vborg.vbsupport.ru/showthread.php?t=133235)

Arjan 12-05-2006 03:11 PM

I simply added all of them to my BBcode section.
I don't see why I should hack the vbulletin_textedit.js file in version 3.6.x


I got metcafe to work.
But I added .swf after the {param} tag in the HTML code
And a little note to my users who copy and paste the video code from the URL bar to remove the trailing slash.
See here:
http://www.simmerspaintshop.com/foru....html#post4152

Stangsta 12-05-2006 08:13 PM

Can this be used for standard videos hosted on the web? WMV, AVI, etc. If not, can you add that functionality?

Mr Chad 12-05-2006 09:24 PM

not sure but i think its possible if i make the java script search for the format endings.

i just dont know how compatable the code would be:

Code:

<embed name="RAOCXplayer" src="{param}" width="352" height="300" autostart="true">
like i dont know how many extensions work with that code above. If i did then i could make an if statement checking for the valid file extensions.

popmyzit 12-05-2006 09:28 PM

Thanks but The bb code instructions aren't complete.

popmyzit 12-05-2006 09:48 PM

Googlevideo doesn't work on this for me. Youtube is fine...

Mr Chad 12-05-2006 10:47 PM

what happens?

lazytown 12-05-2006 11:17 PM

Everything works except metacafe. And of course the annoying script warning every time in IE7. I don't think that's your fault though -- VB has to do something about working properly with IE7 defaults.

The way the template edits were listed was VERY confusing so I could see people not getting it to work right. I was able to figure it out.

-vissa

perfphysio 12-06-2006 12:30 PM

Yeah the BB instructions are not complete. We need to know what to put in the example in each case.

I have done this and by and large it works. The issue is though that since my upgrade to 3.6.4 none of my bb codes are working correctly. I get a message to install a plugin but when I do so the thing says it cannot find any.

You can see an example of what the page does at: http://www.physiobob.com/forum/showt...=9361#post9361

I am now not sure if this is a code issue or a server issue? Any ideas

e.g. you the youtube example be: [youtube]http://www.youtube.com/watch?v=40k78zzAFj8[/youtube]

or [youtube]40k78zzAFj8[/youtube]

Mr Chad 12-06-2006 12:58 PM

the thing is you are supposed to enter [youtube]40k78zzAFj8[/youtube]

but when you use the little button on the tool bar it strips the link http://www.youtube.com/watch?v=40k78zzAFj8 and turns it into [youtube]40k78zzAFj8[/youtube]

Arjan 12-06-2006 01:58 PM

Quote:

Originally Posted by vissa (Post 1132862)
Everything works except metacafe. And of course the annoying script warning every time in IE7. I don't think that's your fault though -- VB has to do something about working properly with IE7 defaults.

The way the template edits were listed was VERY confusing so I could see people not getting it to work right. I was able to figure it out.

-vissa


From the code that is returned by the Javascript the trailing slash must be removed. (No idea how to do that in JS)

Change the metacafe BB HTML code to
Code:

<embed src="http://www.metacafe.com/fplayer/{param}.swf" width="400" height="345" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>


All times are GMT. The time now is 07:03 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01333 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete