vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - AME3 - Auto Media Embeding and Video Extender (https://vborg.vbsupport.ru/showthread.php?t=230707)

The Geek 03-04-2010 04:09 PM

Quote:

Originally Posted by kpierce (Post 1997040)
Might have something to do with the browser. I'm using Chrome. I just randomly clicked through a bunch of videos and almost all of them were: watch#!v=

very odd as I use chrome and it redirects me to the normal format.

Bottom line is this: The youtube definition that AME3 uses is vB's. If you put the url with the #! as the parameter start in the popup video box, it won't work either. If indeed that is the case, it needs to be reported as a bug in vB4 so that the base definition is updated.

The Geek 03-04-2010 04:10 PM

Quote:

Originally Posted by cad2go (Post 1997063)
I had re-run it a few times to no avail before. When I edited out the "'s in that one tag and it not only translated that fine but also all the others in the same thread that hadn't worked properly previously. I've yet to see any others it hasn't converted properly since.

Cheers

Sorry, I got confused by your reply. Removing the " from the tag(s) made it convert correctly?

cad2go 03-04-2010 04:32 PM

Quote:

Originally Posted by The Geek (Post 1997084)
Sorry, I got confused by your reply. Removing the " from the tag(s) made it convert correctly?

yep

I only removed them from one post and then converted. In the process it converted a lot of others it had missed. :up::erm::confused:

satlazone 03-04-2010 05:00 PM

Quote:

Originally Posted by testbot (Post 1997041)
oh... forgot the www. was optional on mega video. try the new attachment.

When I add it between [video] tags it does work.
But it doesn't get embedded automatically when I just post the link.
YouTube for example, does work perfect.

May you help please?

testbot 03-04-2010 05:20 PM

Quote:

Originally Posted by satlazone (Post 1997112)
When I add it between [video] tags it does work.
But it doesn't get embedded automatically when I just post the link.
YouTube for example, does work perfect.

May you help please?

weird. works perfect just pasting the link on my board. try to manual add it.

Provider:
MegaVideo

Tagoption:
megavideo

URL
http://www.megavideo.com

Regex URL
Code:

http:\/\/(?:www\.)?megavideo\.com\/?.*v=([a-zA-Z 0-9]+)
Regex Scrape

Embed
Code:

<object type="application/x-shockwave-flash" width="640" height="468" data="http://www.megavideo.com/v/{vb:raw code}"><param name="movie" value="http://www.megavideo.com/v/{vb:raw code}"></param>
<param name="allowFullScreen" value="true"></param>
<embed src="http://www.megavideo.com/v/{vb:raw code}" type="application/x-shockwave-flash" allowfullscreen="true" width="640" height="468"></embed>
</object>


Digital Jedi 03-04-2010 05:49 PM

Quote:

Originally Posted by kpierce (Post 1997036)
Sorry, I didn't mean I used that same link. Here's an example:

This works: http://www.youtube.com/watch?v=ZxXlq...ature=featured

This doesn't: http://www.youtube.com/watch#!videos...&v=I3J-JGO24bo

Quote:

Originally Posted by kpierce (Post 1997040)
Might have something to do with the browser. I'm using Chrome. I just randomly clicked through a bunch of videos and almost all of them were: watch#!v=

Quote:

Originally Posted by The Geek (Post 1997081)
very odd as I use chrome and it redirects me to the normal format.

Bottom line is this: The youtube definition that AME3 uses is vB's. If you put the url with the #! as the parameter start in the popup video box, it won't work either. If indeed that is the case, it needs to be reported as a bug in vB4 so that the base definition is updated.

Okay, I posted a video last night and it had the same "#!" in it, and I never noticed. I'm in Chrome too, but this is the first time it's ever done that to me. URLs looks the same as usual now. I guess the RegEx will need to be tweaked. Someone posted this in my thread last week, and they were only getting a "#", without the "!". Well, at least it's not a semicolon. :)

satlazone 03-04-2010 07:05 PM

Quote:

Originally Posted by testbot (Post 1997128)
weird. works perfect just pasting the link on my board. try to manual add it.

Provider:
MegaVideo

Tagoption:
megavideo

URL
http://www.megavideo.com

Regex URL
Code:

http:\/\/(?:www\.)?megavideo\.com\/?.*v=([a-zA-Z 0-9]+)
Regex Scrape

Embed
Code:

<object type="application/x-shockwave-flash" width="640" height="468" data="http://www.megavideo.com/v/{vb:raw code}"><param name="movie" value="http://www.megavideo.com/v/{vb:raw code}"></param>
<param name="allowFullScreen" value="true"></param>
<embed src="http://www.megavideo.com/v/{vb:raw code}" type="application/x-shockwave-flash" allowfullscreen="true" width="640" height="468"></embed>
</object>


Yes it's very weird... still doesn't work for me even if I add it manually.
Maybe the author of this can help me? what do you think The Geek? :)

ddaybofb 03-04-2010 08:45 PM

I just made a second definition for youtube and just edited a few things so both youtube links work on my forum now

kpierce 03-04-2010 08:53 PM

Quote:

Originally Posted by ddaybofb (Post 1997280)
I just made a second definition for youtube and just edited a few things so both youtube links work on my forum now

Can you post how you did it for the noobs like me?

testbot 03-04-2010 08:55 PM

Quote:

Originally Posted by satlazone (Post 1997216)
Yes it's very weird... still doesn't work for me even if I add it manually.
Maybe the author of this can help me? what do you think The Geek? :)

sorry i couldn't do more.


All times are GMT. The time now is 10:30 PM.

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.01896 seconds
  • Memory Usage 1,755KB
  • 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
  • (4)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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