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 09:14 AM

Quote:

Originally Posted by ddaybofb (Post 1996498)
This isn't working for me, i followed all the steps.

But when i just post a youtube link, like http://www.youtube.com/watch#!videos...&v=gI6sARmxEuc
it stays as a url, i have "Automatically convert links into videos" ticked and when i put video bb code tags instead of url tags it still doesn't convert to a video.

Any help? Thanks

I have 4.0.2 installed

That link won't work even if you put it in the default vB video popup because it contains invalid characters

ddaybofb 03-04-2010 12:33 PM

Quote:

Originally Posted by ddaybofb (Post 1996498)
This isn't working for me, i followed all the steps.

But when i just post a youtube link, like http://www.youtube.com/watch#!videos...&v=gI6sARmxEuc
it stays as a url, i have "Automatically convert links into videos" ticked and when i put video bb code tags instead of url tags it still doesn't convert to a video.

Any help? Thanks

I have 4.0.2 installed

I kind of figured it out, the link for youtube videos changed, their links are now http://www.youtube.com/watch#!v=gI6sARmxEuc instead of http://www.youtube.com/watch?v=eOUq4Z6R7xI

The Geek 03-04-2010 12:36 PM

Odd, I just clicked through a random 10 videos and none had that format. I just copied and pasted your new format and it redirected me to the standard version.

Digital Jedi 03-04-2010 01:34 PM

Quote:

Originally Posted by ddaybofb (Post 1996867)
I kind of figured it out, the link for youtube videos changed, their links are now http://www.youtube.com/watch#!v=gI6sARmxEuc instead of http://www.youtube.com/watch?v=eOUq4Z6R7xI

Quote:

Originally Posted by The Geek (Post 1996872)
Odd, I just clicked through a random 10 videos and none had that format. I just copied and pasted your new format and it redirected me to the standard version.

Yeah, this is something new. It's only doing this for certain language/locations, like Arabic.

ddaybofb 03-04-2010 01:46 PM

I just created another definition, so both ways work now but it is odd.

testbot 03-04-2010 03:21 PM

what if there's a need for more than one {vb:raw code} ?

kpierce 03-04-2010 03:24 PM

Quote:

Originally Posted by Digital Jedi (Post 1996609)
Is that the only link you've tried, because it's saying it's an invalid link when I click on it. Also, it's not one I've ever seen before, but it's not one what would work anyway.

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

kpierce 03-04-2010 03:29 PM

Quote:

Originally Posted by Digital Jedi (Post 1996934)
Yeah, this is something new. It's only doing this for certain language/locations, like Arabic.

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=

testbot 03-04-2010 03:29 PM

1 Attachment(s)
Quote:

Originally Posted by satlazone (Post 1996708)
Well thank you, but I tried it and it doesn't work for me.
Maybe is there something wrong I did? I have just imported it and then posted a new thread with megavideo link on it.

Thank you again.

oh... forgot the www. was optional on mega video. try the new attachment.

cad2go 03-04-2010 03:47 PM

Quote:

Originally Posted by The Geek (Post 1996383)
hehe, thanks for the kind words - I think Freddies done a pretty good job with the video system, it isn't as functional as AME (yet) but it is tight and focused so for most video jobs Its much better. I suspect it won't be long until they incorporate the rest of AME's feature set. Not because its so bad ass (though it is!) but more because thats a pretty logical evolution for them.

Now on to your problem...

If you re-run the tool will the above work? If not, will it work if you edit the post and remove the "'s within the first tag? Just wondering if thats what is causing it. Technically it should be totally fine.

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

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.

BSViper 03-07-2010 10:15 PM

Spend two days - no success...

Fresh forum - AME work perfect.. After restore post table - same bug..
Youtube links stop working... Always displayed as text, even in [video] tags...

Finded in post table AME TAG.. Uninstall AME, delete, install AME - dos't matter. Not working.. :(

OK. AME3 don't work.. But why don't work standard vbulletin links?

Any ideas?

stickskills 03-08-2010 05:10 AM

Can this mod allow certain usergroups to NOT do video embedding while others CAN?

BSViper 03-09-2010 08:25 AM

At last i foundout what my problem is...
It's not AME - it's forum...

I start new thread about this problem here:
https://vborg.vbsupport.ru/showthread.php?t=237873

Sow, as soon as i fixed this bug, i install AME3 again - it's very useful mod...

sticky 03-11-2010 04:00 AM

Can it do embed images automatically as well? So I don't need [ IMG ] each time?

testbot 03-11-2010 04:27 AM

Quote:

Originally Posted by sticky (Post 2001332)
Can it do embed images automatically as well? So I don't need [ IMG ] each time?


hmm... i haven't tried it but logically the following would work:

Regex URL:
Code:

http:\/\/([a-zA=Z0-9-_./]+)\.jpg
Embed:
Code:

<img src="http://{vb:raw code}.jpg">
you would have to make one for each extension.

i would advise against that though because whenever you post a url like that outside of the img bbc codes it would use the video codes. meaning it would post the bbc code like
video=wmv;example.com/image.jpg /video instead of img /img

then if you removed ame or vbulletin changes the way videos are handled in a future release you would have to do some serious work to get your img bbc code converted back.


all of the above is just my opinion. there might be a better way to do it or it might not work at all cuz i haven't tested it. it's just theory and opinion :D

YankForum 03-11-2010 07:56 AM

i don't know y i installed with no problem
tnx

milaszewski 03-12-2010 02:13 AM

is there any way of programming this mod to automatically embed mp3 attachments in a small flash mp3 player?

testbot 03-12-2010 02:44 AM

give the following a try. it should work. it uses google's flash player. i haven't tested it but it should work fine.

Provider:
MP3

Tagoption:
mp3

URL:
http://www.example.com/mysong.mp3

Regex URL:
Code:

http:\/\/([a-zA=Z0-9-_./]+)\.mp3
Embed:
Code:

<embed type="application/x-shockwave-flash" src="http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl=http://{vb:raw code}.mp3" width="400" height="27" allowscriptaccess="never" quality="best" bgcolor="#ffffff" wmode="window" flashvars="playerMode=embedded" />

way2xtreme 03-12-2010 02:59 AM

Hi everyone,

Just check if hulu is working with AME? It seems hulu has changed their codes.

If anyone have it working, could you share the display code?

Thanks
WC

milaszewski 03-12-2010 03:07 AM

Quote:

Originally Posted by testbot (Post 2001915)
give the following a try. it should work. it uses google's flash player. i haven't tested it but it should work fine.

Provider:
MP3

Tagoption:
mp3

URL:
http://www.example.com/mysong.mp3

Regex URL:
Code:

http:\/\/([a-zA=Z0-9-_./]+)\.mp3
Embed:
Code:

<embed type="application/x-shockwave-flash" src="http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl=http://{vb:raw code}.mp3" width="400" height="27" allowscriptaccess="never" quality="best" bgcolor="#ffffff" wmode="window" flashvars="playerMode=embedded" />

I am looking for something like this:
http://www.youtube.com/watch?v=LPCVrPDN_sE
automatic playback of mp3 files attached to vbulletin posts, not for links to mp3 files

Digital Jedi 03-12-2010 03:41 AM

Quote:

Originally Posted by milaszewski (Post 2001922)
I am looking for something like this:
http://www.youtube.com/watch?v=LPCVrPDN_sE
automatic playback of mp3 files attached to vbulletin posts, not for links to mp3 files

This won't work for attachments, as AME can't distinguish the file types.

testbot 03-12-2010 06:03 PM

Quote:

Originally Posted by milaszewski (Post 2001922)
I am looking for something like this:
http://www.youtube.com/watch?v=LPCVrPDN_sE
automatic playback of mp3 files attached to vbulletin posts, not for links to mp3 files

won't work for attachments.

i like where your head is at though. i started creating a mod for this. our main forum is all about music so i can see how it would be useful. i just need to get a few things sorted but if it goes well i'll upload it this weekend.

zapiy 03-14-2010 04:07 PM

Anyone able to help me why youtube movies are hit and miss at embedding please?

The Geek 03-14-2010 09:56 PM

do you mean with AME3? Do you have it installed? If so, can you give an example? Primarily a link to a video that isn't embedding (make sure that the editor option to "do not auto embed" is off)

Zillo 03-18-2010 09:47 AM

Anyone able to add zSHARE video? This one seems to be complicated. Example: http://www.zshare.net/video/73858495b3ed8be8/

KURTZ 03-18-2010 11:44 AM

i'm wondering about the position of the video into the post: is possible to center it?

A693BCBAFD72 03-18-2010 06:34 PM

5 Stars!

testbot 03-18-2010 10:36 PM

you can prolly change the .css template or just go into each AMP CP>Display and add
HTML Code:

<center></center>
tags to the embed code.

KURTZ 03-19-2010 11:46 AM

Quote:

Originally Posted by testbot (Post 2006130)
you can prolly change the .css template or just go into each AMP CP>Display and add
HTML Code:

<center></center>
tags to the embed code.

i tried, but nothing happens ...

testbot 03-19-2010 02:55 PM

i could use assistance with todaysbigthing


All times are GMT. The time now is 03:43 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.03285 seconds
  • Memory Usage 1,855KB
  • 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
  • (10)bbcode_code_printable
  • (2)bbcode_html_printable
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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