View Full Version : BB Code Enhancements - AME3 - Auto Media Embeding and Video Extender
Thanks for developing this mod, which is really great.
But I have one problem when using it
When there is a link in a post like this http://www.google.com/search?rlz=1C1CHOT_enAM350AM351&sourceid=chrome&ie=UTF-8&q=vbulletin, and afterwards the post is quoted, in the quoted post there appear unnecessary symbols like "/".
The same post is normally quoted when AME 3 is disabled.
You can see this behavior here in my forum (http://www.akumb.am/showthread.php?50866-AME-3-testing)
Also I have noticed that this problem doesn't appear with all links, but I can't figure out this special cases.
Can you please have a look at this, and provide some help.
The Geek
01-06-2010, 06:10 PM
Doesn't work for me.
http://www.mifbody.com/vbulletin/showthread.php?34280-Welcome-to-MiFbody-com-VBulletin-4!&p=529143#post529143 (http://www.mifbody.com/vbulletin/showthread.php?34280-Welcome-to-MiFbody-com-VBulletin-4%21&p=529143#post529143)
I have it in there and the checkbox is checked to parse it into video. Youtube is defined and it's a new post that was done after installing AME so it's not a matter of rebuilding posts. It's simply not doing anything to the youtube link.
Did you make the change outlined in the installation instructions to the required hook?
Thanks for developing this mod, which is really great.
But I have one problem when using it
When there is a link in a post like this http://www.google.com/search?rlz=1C1CHOT_enAM350AM351&sourceid=chrome&ie=UTF-8&q=vbulletin, and afterwards the post is quoted, in the quoted post there appear unnecessary symbols like "/".
The same post is normally quoted when AME 3 is disabled.
You can see this behavior here in my forum (http://www.akumb.am/showthread.php?50866-AME-3-testing)
Also I have noticed that this problem doesn't appear with all links, but I can't figure out this special cases.
Can you please have a look at this, and provide some help.
Ill see if I can replicate and fix tomorrow.
Lighting90
01-06-2010, 09:12 PM
Hi Geek,
I am having problems with the installation on VB4 Patch 2, I have followed your instructions to the letter... well, I think I did... and it is not showing up as it was before..
For example this post showed it as an embedded video when it was vB3.8, now it isn't...
http://forum.landrovernet.com/showthread.php?184466-Landrover-Films
Tried a few times now going over the instructions again, just to make sure, including editing the files again as per the instructions... and still the same result... not sure if they have changed something somewhere else or I have not switched something else on or switched it off...
The Geek
01-06-2010, 09:17 PM
That link is borked. For some odd reason you have [/url[url] going on. Thats just wrong. Are other posts doing that? Was that a conversion from AME2x?
Lighting90
01-06-2010, 10:11 PM
Yep, they are, and was an upgrade from 2.0, not sure what happened, but even new links just put in give the video tag and still no embedding.
Though I am slowly working through the system, so I may have missed something
InfoAddict
01-06-2010, 11:02 PM
I too have the same problem - vb4 upgrade from vb3 and previous version of AME.
I then upgraded to AME3 and did a convert on my posts to change all ame= to the below video format.
For instance - check this page:
http://dev.gamers-underground.com/media-centre/32193-nintendo-64-kid-nearly-meets-his-match.html
This is the code for the link:
http://www.youtube.com/watch?v=apWrS2uPBTg
Only thing I can think of is that I left the vb3 version installed when I did the upgrade.
I have removed the link from the hook xml file - it just doesn't seem to kick in.
Ill see if I can replicate and fix tomorrow.
The problem was solved after deleting the following string in ame_prep.php file:
$text = preg_replace('%(\[(quote|php|html|code|nomedia)([^\]]*)\](.*?)\[/(\2)\])%sime', '$this->substitute(\'\1\', $this->_subbed)', $text);
May I leave this file without that string?
Cface
01-07-2010, 06:23 AM
Mine doesn't work :\
"This product is not compatible with version 4.0.0 Beta 4 of vBulletin. (Compatible starting with 4.0.0)"
And i don't have a includes/xml/hooks_vbcms.xml file.
Lighting90
01-07-2010, 10:01 AM
@ The Geek
Just to let you know, I can post a video with the video tags and it embeds okay, I assume that is the vB version as it is fairly basic...
The Geek
01-07-2010, 01:09 PM
Mine doesn't work :\
"This product is not compatible with version 4.0.0 Beta 4 of vBulletin. (Compatible starting with 4.0.0)"
And i don't have a includes/xml/hooks_vbcms.xml file.
You can edit the includes/product-ame.xml product and remove this line:
<dependency dependencytype="vbulletin" minversion="4.0.0" maxversion="" />
You don't have to do the hook edit if you don't have hooks_vbcms.xml
HTHs
The Geek
01-07-2010, 01:11 PM
The problem was solved after deleting the following string in ame_prep.php file:
$text = preg_replace('%(\[(quote|php|html|code|nomedia)([^\]]*)\](.*?)\[/(\2)\])%sime', '$this->substitute(\'\1\', $this->_subbed)', $text);
May I leave this file without that string?
Yes, you can comment out that line in the meantime. Its job is to prevent auto embedding videos within quote blocks and such. However it isn't overly useful yet simply because it isn't stripping out videos from that spot either. Comment it out for now and Ill try to resolve the bug in the next build.
meissenation
01-07-2010, 01:16 PM
I'm a doofus - disregard about it not working. I didn't see the edit and save of the plugin. Funny how you have to edit the plugin and then hit save? Either way - works now.
The Geek
01-07-2010, 01:32 PM
I too have the same problem - vb4 upgrade from vb3 and previous version of AME.
I then upgraded to AME3 and did a convert on my posts to change all ame= to the below video format.
For instance - check this page:
http://dev.gamers-underground.com/media-centre/32193-nintendo-64-kid-nearly-meets-his-match.html
This is the code for the link:
http://www.youtube.com/watch?v=apWrS2uPBTg
Only thing I can think of is that I left the vb3 version installed when I did the upgrade.
I have removed the link from the hook xml file - it just doesn't seem to kick in.
Did you then save the AME hook? As to the code above, that looks correct to me. Running the conversion tool will convert old AME bbcode into URLs which can be converted to video codes. If you edit that first post which is just an youtube link, does it embed the video or not?
Lighting90
01-07-2010, 03:08 PM
Right, I can get the video embedding to work only in the admin forum, editing the post I put up earlier it doesn't work... I have added a post after it with the same link, and not working, also tried in another part of the forum, also not working...
Is there any permissions I should go and look at...:confused:
The Geek
01-07-2010, 07:08 PM
nope. All AME3 does is look to see if you have a video in your URL tags. If do, its changes the url tag to a video tag. Nothin too fancy. Most of AME's key features are the ability to manage and import/export definitions through the admincp.
InfoAddict
01-07-2010, 11:30 PM
Did you then save the AME hook? As to the code above, that looks correct to me. Running the conversion tool will convert old AME bbcode into URLs which can be converted to video codes. If you edit that first post which is just an youtube link, does it embed the video or not?
Yes - I even then disabled it and re-enabled it. I then uninstalled the product and re-installed it.
Editing that post doesn't fix it neither does a new post.
Still no go.
I know a bit of PHP, is there some way I can insert some debug code to see if it's starting or not?
EDIT: I just turned on vb's debug mode and the hook "data_preparse_bbcode_video_start" isn't called at all.
The Geek
01-08-2010, 06:53 AM
Then follow the steps again. It isn't being called because they put that hook in the wrong section of the hooks_vbcms.xml file. Deleting it means that next time the cache of hooks is saved (via savinga hook) it will build correctly. See the link in the first post to the bug tracker.
HTHs
Delilahs
01-08-2010, 09:39 AM
Does this also do VShare ?
Lighting90
01-08-2010, 09:55 AM
nope. All AME3 does is look to see if you have a video in your URL tags. If do, its changes the url tag to a video tag. Nothin too fancy. Most of AME's key features are the ability to manage and import/export definitions through the admincp.
Arh, thanks, that makes it a lot clearer, so it is something else wrong then as I have the video tags... it's just not emebedding the video's. So This means I need to have a good look through the forum settings.... I must have messed something up somewhere.. :) (Not unusual for me....)
Birute
01-08-2010, 12:06 PM
Love it, thanks. It worked great!!! :)
There are some posts with just the url for the youtube video without any tags around the url, any suggestions on how to convert these to tagged url's without spending hours on editing each post then running the rebuild?
The Geek
01-08-2010, 03:57 PM
Love it, thanks. It worked great!!! :)
There are some posts with just the url for the youtube video without any tags around the url, any suggestions on how to convert these to tagged url's without spending hours on editing each post then running the rebuild?
Thanks :) Use the AME CP->Tools->Rebuild options
Arh, thanks, that makes it a lot clearer, so it is something else wrong then as I have the video tags... it's just not emebedding the video's. So This means I need to have a good look through the forum settings.... I must have messed something up somewhere.. :) (Not unusual for me....)
No problem. Hope you get it sorted :)
Does this also do VShare ?
AFAIK there isn't a defintiion for vshare out.
Lighting90
01-08-2010, 05:28 PM
Just an update, and useful for anyone else who has a similar problem, it turns out that for some reason, when we upgraded the forum, it switched the IMG code option off on all the forums that had it on and the ones which had it off suddenly had it on... :rolleyes:
So we have it sorted now... many thanks for the help...
(Next Gars.... ;) ... )
The Geek
01-08-2010, 06:52 PM
Good luck with Gars, not sure if Morgan is upgrading it or not. Personally I think it would be a freaking massive workload to pull off.
Thanks for sharing the solution!
Stryker412
01-08-2010, 06:58 PM
Geek, I just installed AME on my test vb4 server. I made a post with Youtube, Vimeo, and Hulu to see how it worked.
Youtube and Vimeo worked fine just posting the links, but not Hulu. I had to manually edit the post and add the [video] tags then it worked.
The Geek
01-08-2010, 07:56 PM
thanks for the heads up. Can you give me the link that was borking out for you?
Sascha108
01-08-2010, 08:20 PM
Hmm, I installed AME without problems and removed the hook. but nothing happens. Any idea what else to do?
This is the page in the CMS:
http://issaforum.snake-style.org/content.php?30-ISSA-Videos
jaffaman
01-08-2010, 09:31 PM
I think its because you are using this link on the top video....
http://www.youtube.com/user/IpTaiChi#p/u/1/300fvly1mXA
Try using this link m8 its on the share tab of the video as the above is the users link.
http://www.youtube.com/watch?v=300fvly1mXA
Try using this link on the second video.
http://www.youtube.com/watch?v=02ODqfpVXME
Sascha108
01-09-2010, 06:21 AM
1000 blessings!
Thanks for the fast help, it worked :)
Abo Al-Waleed
01-09-2010, 07:13 AM
is this add-ons working with VB 3.8.3?/
Digital Jedi
01-09-2010, 08:28 AM
is this add-ons working with VB 3.8.3?/
The 3.8 version does. This is the 4.0 version.
Sushubh
01-09-2010, 09:29 AM
and we are supposed to use the definitions from the 3.8 section?
The Geek
01-09-2010, 09:46 AM
No, those are specific to AME2.5x
Sushubh
01-09-2010, 09:52 AM
mmm so where are the definitions for this version for vb4? i am missing something i guess!
The Geek
01-09-2010, 09:56 AM
AME is designed to allow users to create, modify and share definitions with one another. AMR3 comes supporting all of the sites vB4 supports and there have been a couple others released in this thread. Whether other users start to create and share more is up to the community, I suspect DJ (who has done ~180 definitions for AME2x) will most likely take the lead on porting many of his over, but until then its up to the community.
Sushubh
01-09-2010, 10:01 AM
ah alright thanks! i was trying to import the old ones but of course it did not work out... :) i would try to see if i can make my own for the services that are popular on the forum.
ericgtr
01-09-2010, 05:29 PM
Thanks for the update, I have a question regarding embeded MP3 attachments, I would like those to play inline in this version. Does this do that and if so can you direct me on how to implement it?
Digital Jedi
01-09-2010, 10:49 PM
One more quick question, Geek. When creating a def through the AME CP you get some empty closed off tags on creation of the XML. e.g. <regex_scrape /> Do those tags need to be there when I create the XML from scratch?
Oh yeah, what was that about semicolons again?
ToNetU
01-09-2010, 11:44 PM
why i have to rebuild posts [AME CP > tools] each time i post video link?
i think it should convert automatically after i post the video link without rebuilding it via AME CP?
am the only one who has this issue or it works like this!? [wierd]
thanks for this Mod. Geek
The Geek
01-10-2010, 08:20 AM
Why on earth would you need to do that? Did you follow the installation instructions to edit your hook?
KURTZ
01-10-2010, 12:29 PM
hi Geek, i've a trouble when i try to cache the ame ... i got this:
Warning: dir(/cache/) [function.dir]: failed to open dir: No such file or directory in [path]/includes/ame_cache.php on line 95
also i tried to leave blank (obviously i've cmodded 777 the ame folder)
Cannot write to . Check permissions on folder. File caching disabled until resolved.
VTXCafe.com
01-10-2010, 01:45 PM
Cool mod, great work as usual Mr. Geek...I cannot get Hulu to work at all and Metacafe will work if I use tool>rebuild. I read and re-read this thread and the manual and can't see why it would not work. I have a clean install, running 4.0.0, and did the edit of includes/xml/hooks_vbcms.xml.
My question is this, in the title post after that you say "And save. Then Edit the plugin titled: AME - Auto Convert URLs. And click save." What do we edit in that plugin?
KURTZ
01-10-2010, 02:06 PM
My question is this, in the title post after that you say "And save. Then Edit the plugin titled: AME - Auto Convert URLs. And click save." What do we edit in that plugin?
if i understand correctly no edit is required ...
ToNetU
01-10-2010, 02:28 PM
Why on earth would you need to do that? Did you follow the installation instructions to edit your hook?
i think it's not that hard to install it? i will tell you excatly what i did:
1- uploaded the files.
2- import the xml file from the server.
3- delete: <hook>data_preparse_bbcode_video_start</hook> from includes/xml/hooks_vbcms.xml file!
4- rebuild posts.
done!
after that when i rebuilt posts the mod works fine but after i post another video link [youtube] i have to do the rebuild posts again because it shown the link not the video!
thanks! hope you can help me with this!
i think it's not that hard to install it? i will tell you excatly what i did:
1- uploaded the files.
2- import the xml file from the server.
3- delete: <hook>data_preparse_bbcode_video_start</hook> from includes/xml/hooks_vbcms.xml file!
4- rebuild posts.
done!
after that when i rebuilt posts the mod works fine but after i post another video link [youtube] i have to do the rebuild posts again because it shown the link not the video!
thanks! hope you can help me with this!
Looks like you missed the step of going into the AME - Auto Convert URLs.
It's in the instructions, so it's probably pretty important.
ericgtr
01-10-2010, 03:29 PM
Thanks for the update, I have a question regarding embeded MP3 attachments, I would like those to play inline in this version. Does this do that and if so can you direct me on how to implement it?
^ So is that a no?
ToNetU
01-10-2010, 03:34 PM
Looks like you missed the step of going into the AME - Auto Convert URLs.
It's in the instructions, so it's probably pretty important.
can you tell me excatly please what i have to do?
can you tell me excatly please what i have to do?
AdminCP - Plugin Manager - find the plugin called "AME - Auto Convert URLs", open it, click Save (no need to edit anything).
(Plugin Manager and Plugins, NOT Product Manager and Products. We are looking for an individual Plugin that belongs to the AME product.)
ToNetU
01-10-2010, 04:38 PM
AdminCP - Plugin Manager - find the plugin called "AME - Auto Convert URLs", open it, click Save (no need to edit anything).
(Plugin Manager and Plugins, NOT Product Manager and Products. We are looking for an individual Plugin that belongs to the AME product.)
thanks alot mate works perfect now! :up:
Digital Jedi
01-10-2010, 09:12 PM
Cool mod, great work as usual Mr. Geek...I cannot get Hulu to work at all and Metacafe will work if I use tool>rebuild. I read and re-read this thread and the manual and can't see why it would not work. I have a clean install, running 4.0.0, and did the edit of includes/xml/hooks_vbcms.xml.
My question is this, in the title post after that you say "And save. Then Edit the plugin titled: AME - Auto Convert URLs. And click save." What do we edit in that plugin?
Nothing. You just open it up and then save.
^ So is that a no?
Not until a definition for MP3s is developed by someone.
Chicken Racer
01-10-2010, 09:19 PM
Hi
I'm having trouble knowing what details to enter for , Regex URL, embed for this phpmotion site, www.realtytube.com.au
Can any one help me out with the correct details to add?
Thanks
Digital Jedi
01-10-2010, 09:22 PM
Hi
I'm having trouble knowing what details to enter for , Regex URL, embed for this phpmotion site, www.realtytube.com.au
Can any one help me out with the correct details to add?
Thanks
There's a good RegEx tutorial at this site that explains the basics of what you need to know to develop Regular Expressions:
http://www.regular-expressions.info/
ericgtr
01-10-2010, 09:32 PM
Not until a definition for MP3s is developed by someone.
Thanks for the response. I will keep an eye out for that.
team76
01-11-2010, 09:30 AM
hello
Where is the product XML file?
The Geek
01-11-2010, 09:36 AM
includes/product-ame.xml as per the readme.
KURTZ
01-11-2010, 10:22 AM
what about my trouble? :)
The Geek
01-11-2010, 10:44 AM
Sorry, you hadn't clicked install so I figured you had removed it.
The error is telling you that you have turned on file caching and given a path for the file cache that either doesn't exist or is not writeable (i.e. chmodded 0777 as per the readme).
HTHs
KURTZ
01-11-2010, 11:23 AM
i haven't clicked 'install' cause right now i'm playing with my testing board ... :) but i'll use your hack for sure :P
anyways, i cmodded 777 the 'ame' folder ... but i can't cache the files ... (i also tried to create a new folder called 'cache' in the 'ame' folder - also 777 - but nothing to do ... any tip?
another question: what about the old features Geek? have you planned something?
The Geek
01-11-2010, 12:01 PM
Then you need to double check the setting for the file cache. It needs to be the full path to the ame folder. That error is from a test I run to see if AME can write to the folder - she is saying she can't.
What other features are you after? For the most part vB4 + AME3 gives you about the same feature set as AME2.5x. As far as definitions, I seldom do those and leave it to the community to do (though its generally DJ that ends up doing them all :D )
Chicken Racer
01-11-2010, 12:04 PM
There's a good RegEx tutorial at this site that explains the basics of what you need to know to develop Regular Expressions:
http://www.regular-expressions.info/
Thanks but 2 hours of reading and a download later I'm still confused as hell.
Can any one please help me out with what I require to enter into the Regex URL and Embed sections?
Site www.realtytube.com.au phpmotionv3
KURTZ
01-11-2010, 12:10 PM
in the vB4 in the settings menu ive only the cache option, instead in the vB3 i've all the features ... i mean this ...
however, i just put all the path not only the folder, and it seems to be correct, but when i go to the 'tools' menu and i click 'update cache' i've this 'could not find phrase ame saved'
if you need i can give you an admin account so you can see averything onto my testing board ... :)
The Geek
01-11-2010, 12:18 PM
The missing phrase is a known issue and only cosmetic so I have't bothered to update the package as it doesn't affect anything.
As to the other ame2.5x settings, the options really wouldn't work with vB4.
@Chicken - if you want someone to write a custom definition for you, you are best posting the request with a few different URLs and their embed code as examples to work from.
Chicken Racer
01-11-2010, 12:28 PM
The Geek
Sorry for my lack of knowledge but I have tried to understand the tutorial but my eyes are burning and clearly it went over my head.
I hope I have pasted the correct details required as examples?
http://www.realtytube.com.au/videos/16/lou-rendina-auction-profile-rendina-real-estate-kensington
http://www.realtytube.com.au/play.php?vid=16
<object type="application/x-shockwave-flash" data="http://www.realtytube.com.au/flvplayer.swf" quality="high" width="480" height="336"><param name="movie" value="http://www.realtytube.com.au/flvplayer.swf" /><param name="allowFullScreen" value="true" /><param name="FlashVars" value="file=1rPSvuussPDFbEKJ3Rfc.flv&streamer=http://www.realtytube.com.au/includes/xmoov.php&width=480&height=336&displaywidth=480&displayheight=336&stretching=exactfit&autostart=false&logo=http://www.realtytube.com.au/themes/promotion/images/logo-player.png&image=http://www.realtytube.com.au/uploads/player_thumbs/1rPSvuussPDFbEKJ3Rfc.jpg&backcolor=cccccc&frontcolor=213F20&lightcolor=2f772e&screencolor=666666&plugins=drelated-1&drelated.dxmlpath=http://www.realtytube.com.au/recommendations.php&drelated.dposition=bottom&drelated.dskin=http://www.realtytube.com.au/grayskin.swf&drelated.dtarget=_parent" /><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="always" /></object>
Stryker412
01-11-2010, 06:49 PM
thanks for the heads up. Can you give me the link that was borking out for you?
http://www.hulu.com/watch/112304/family-guy-something-something-something-darkside-trailer
Digital Jedi
01-11-2010, 07:00 PM
What other features are you after? For the most part vB4 + AME3 gives you about the same feature set as AME2.5x. As far as definitions, I seldom do those and leave it to the community to do (though its generally DJ that ends up doing them all :D )
I don't know what your talking about.
>_>
<_<
>_>
Stop looking at me.
Hey, did you by chance see my last post? I think it got lost in all the concussion.
L-Mane
01-11-2010, 07:17 PM
Are there going to be ones for WorldstarHipHop, MTV, OnSmash?
insidedesign
01-11-2010, 10:38 PM
If I want to change the video embed display size of all new and existing video embeds, what would be the process of doing this?
I have already updated the display code. What do I do next to fix the videos already in place throughout the forum?
The Geek
01-12-2010, 07:38 AM
Edit the definitions you want to change (the embed code). This will change all instances of that definition except for those posts that vB has in its cache (if you have it on). Turn it off and/or rebuild the last weeks worth of posts or what not.
Thanks
@et. all: Should get to any other outstanding issues today.
Chicken Racer
01-12-2010, 10:39 AM
The Geek
Sorry for my lack of knowledge but I have tried to understand the tutorial but my eyes are burning and clearly it went over my head.
I hope I have pasted the correct details required as examples?
http://www.realtytube.com.au/videos/16/lou-rendina-auction-profile-rendina-real-estate-kensington
http://www.realtytube.com.au/play.php?vid=16
<object type="application/x-shockwave-flash" data="http://www.realtytube.com.au/flvplayer.swf" quality="high" width="480" height="336"><param name="movie" value="http://www.realtytube.com.au/flvplayer.swf" /><param name="allowFullScreen" value="true" /><param name="FlashVars" value="file=1rPSvuussPDFbEKJ3Rfc.flv&streamer=http://www.realtytube.com.au/includes/xmoov.php&width=480&height=336&displaywidth=480&displayheight=336&stretching=exactfit&autostart=false&logo=http://www.realtytube.com.au/themes/promotion/images/logo-player.png&image=http://www.realtytube.com.au/uploads/player_thumbs/1rPSvuussPDFbEKJ3Rfc.jpg&backcolor=cccccc&frontcolor=213F20&lightcolor=2f772e&screencolor=666666&plugins=drelated-1&drelated.dxmlpath=http://www.realtytube.com.au/recommendations.php&drelated.dposition=bottom&drelated.dskin=http://www.realtytube.com.au/grayskin.swf&drelated.dtarget=_parent" /><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="always" /></object>
Any one? help please with my question?
I'm having trouble knowing what details to enter for , Regex URL, embed for this phpmotion site
KURTZ
01-12-2010, 12:22 PM
The missing phrase is a known issue and only cosmetic so I have't bothered to update the package as it doesn't affect anything.
As to the other ame2.5x settings, the options really wouldn't work with vB4.
@Chicken - if you want someone to write a custom definition for you, you are best posting the request with a few different URLs and their embed code as examples to work from.
so no content box and resize for the vB4? :(
The Geek
01-12-2010, 02:52 PM
@Kurt: Nope. There isn't the ability to override vB4's way of displaying the output. You could technically add container code around the output of the bbcode_video template, but it will get overwritten when vB or AME rebuilds the template. Furthermore vB only puls 1 parameter from offsite so you wouldn't be able to pull the title in like AME2.x
Sizes are also limited as vB hard codes these into the embed code, but gets around some of these limitations via CSS. So technically you can override the size via teh CSS technique (this is how AME'fy does it).
@Chicken: This is why I avoid getting into custom definitions. It over takes your life and these aren't always quick and easy to do. Saying that I did one for you but noticed an AME bug in the process that I will need to fix before I release it.
Chicken Racer
01-13-2010, 07:11 AM
The Geek, if its not easy ... I have no chance then..lol
I would be very great full if you could help me out as I have searched, read and asked all over the net.
The guys from phpmotion suggested I ask the creator of the mod, I guess it was a little to difficult for them.
I hope you find a fix soon.
Thanks again for your time.
dieKetzer
01-13-2010, 08:48 AM
works perfect, just as i expected it would.
thanks mate.
VTXCafe.com
01-13-2010, 12:15 PM
Humm....I upgraded to 4.0.1 last night and when I enable this mod the new post and new thread goes to a blank page when trying to submit either. I double checked the file edit on includes/xml/hooks_vbcms.xml and that is still removed.
Anyone else did the upgrade and having this problem?
The Geek
01-13-2010, 12:58 PM
The Geek, if its not easy ... I have no chance then..lol
I would be very great full if you could help me out as I have searched, read and asked all over the net.
The guys from phpmotion suggested I ask the creator of the mod, I guess it was a little to difficult for them.
I hope you find a fix soon.
Thanks again for your time.
The issue I had wasn't the definition it was a bug I found in a routine. Anyway. Here it is.
The Geek
01-13-2010, 01:00 PM
Humm....I upgraded to 4.0.1 last night and when I enable this mod the new post and new thread goes to a blank page when trying to submit either. I double checked the file edit on includes/xml/hooks_vbcms.xml and that is still removed.
Anyone else did the upgrade and having this problem?
I've just checked 4.0.1 and all is fine here that I can see. They even fixed the hook_vbcms.xml bug. Can you try a reinstall?
The Geek
01-13-2010, 01:04 PM
I have updated the package which takes care of a missing phrase and a potential bug rebuilding templates.
Upgrade as normal by replacing all files and reimporting the product xml.
Note that I am going ahead and releasing as completed as the only real issue was the 4.0.0 bug mentioned in the OP. Since that is now taken care of, I can't really think of anything else to do with it.
Note that upgrading vB MAY replace your custom definitions. If that is the case, use the AME CP > Tools > Restore option thats what its there for! Just note that option restores your definitions up to the last time you saved one. IMO its always a good idea to export your definitions as a backup anyway.
nJoy
The Geek
01-13-2010, 01:05 PM
BTW: For those of you that haven't tried the AMEfy addon... you really should. I think it seriously rocks :)
https://vborg.vbsupport.ru/showthread.php?t=231814
Big-Pete
01-13-2010, 01:19 PM
Cheers Geek, Much appreciated :up::D
KURTZ
01-13-2010, 01:21 PM
I've just checked 4.0.1 and all is fine here that I can see. They even fixed the hook_vbcms.xml bug. Can you try a reinstall?
with the 4.0.1 and the older version, no troubles here :)
VonDoom
01-13-2010, 01:41 PM
BTW: For those of you that haven't tried the AMEfy addon... you really should. I think it seriously rocks
thats an understatement. it freaking rocks ba**s :D
Doctor Death
01-13-2010, 02:51 PM
Did VB 4.0.1 get rid of the
<hook>data_preparse_bbcode_video_start</hook>
issue or does that file still need to be edited???
Thanks, great mod.
The Geek
01-13-2010, 03:21 PM
Yup. You only need to do that on versions pre 4.0.1
Doctor Death
01-13-2010, 03:22 PM
Excellent news, thank you!
ShawnV
01-13-2010, 03:35 PM
thats an understatement. it freaking rocks ba**s :D
Agreed, now if we could only get some "Music Playlist" definitions. :D
Chicken Racer
01-13-2010, 09:08 PM
The Geek ...you rock , thanks awesome ...works great. I owe you!
VTXCafe.com
01-14-2010, 12:17 AM
I've just checked 4.0.1 and all is fine here that I can see. They even fixed the hook_vbcms.xml bug. Can you try a reinstall?
Geek, I reinstalled and posting works with this mod now. However Youtube and Metacafe seem to work, can't get Viemo, Google, Facebook, or Hulu to convert...it only shows the links.
Any suggestions?
InfoAddict
01-14-2010, 04:03 AM
Same here still.
It manages to create the correct code when a YouTube link is posted:
http://www.youtube.com/watch?v=NvlbAItBdK4
But just displays it as a link:
http://gamers-underground.com/media-centre/32320-hubble-3d-imax-trailer-released.html
So it's like half working - just not the good half :)
The Geek
01-14-2010, 08:42 AM
But vtx just said youtube was working? THat link works for me? If you edit and save does it work?
fishmaster
01-14-2010, 09:42 AM
....... ......... .........
The Geek
01-14-2010, 11:03 AM
sure
The Geek
01-14-2010, 11:20 AM
Peeps, also make sure that your post options to convert URLs and also to convert videos is on.
VTXCafe.com
01-14-2010, 01:17 PM
Peeps, also make sure that your post options to convert URLs and also to convert videos is on.
You are talking about the two check boxes in the posting area? If so they are checked by default. In my case the mod is working but just for a few of the services...any ideas?
The Geek
01-14-2010, 01:27 PM
You need to post URLs that aren't working. IIRC there was also a bug in vB4 where the automatically convert URLs wasn't always ticked.
VTXCafe.com
01-14-2010, 01:37 PM
You need to post URLs that aren't working. IIRC there was also a bug in vB4 where the automatically convert URLs wasn't always ticked.
Here is one that will not convert:
http://www.vimeo.com/hd#8677818
The Geek
01-14-2010, 01:54 PM
The problem is that vB4 won't parse that. I am assuming it is in a different format than vB4 expects.
If it won't work via the video popup box, it won't work with AME3. A custom definition or altered one will have to be made.
Digital Jedi
01-14-2010, 05:12 PM
It's the pound symbol added to the HD links. I doubt the default definition accounted for that, as I never even noticed it when I did the custom one for 2.5. And I spent quite a while on Vimeo checking for alternate URLs.
movslow
01-14-2010, 06:33 PM
Just upgraded the forum to 4.0.1, and upgraded AME as well to the lastest version, seems good so far.
:up:
InfoAddict
01-14-2010, 07:24 PM
Peeps, also make sure that your post options to convert URLs and also to convert videos is on.
How do I check this?
Digital Jedi
01-14-2010, 07:32 PM
How do I check this?
Right below your text editor.
InfoAddict
01-14-2010, 07:40 PM
This post:
http://gamers-underground.com/media-centre/32320-hubble-3d-imax-trailer-released.html
Did not have auto-convert-videos ticked. I ticked it - still no go.
I then removed the link (and it's associated encoding) and reposted it and saved it with the auto-convert-video ticked. It redid the code part:
[video=youtube;NvlbAItBdK4]http://www.youtube.com/watch?v=NvlbAItBdK4
But as you can see still displays it as a link rather than an embed.
The Geek
01-14-2010, 07:56 PM
I downloaded a fresh 4.0.1 and the exact version of AME uploaded here and installed. Pasted that link and its fine.
If you are getting the video code like above, AME is doing her 'thing'. AME3 takes what WAS a link in a [url] tag and puts it in the correct video tag for vB4 to process. AME3 no longer does the actual parsing.
Can you check your bbcode_video template to ensure that there is the correct youtube dembed code in there?
InfoAddict
01-14-2010, 08:46 PM
Here is the relevant section for YouTube:
<vb:elseif condition="$provider == 'youtube'" />
<object class="restrain" type="application/x-shockwave-flash" width="540" height="325" data="http://www.youtube.com/v/{vb:raw code}">
<param name="movie" value="http://www.youtube.com/v/{vb:raw code}" />
<param name="wmode" value="transparent" />
</object>
Digital Jedi
01-14-2010, 09:19 PM
If there are any brave souls out there willing to give this a try, here's a BETA version of my Master XML. But it's COMPLETELY untested. If it imports okay for you, then I'll go ahead and start a new mod thread and we can troubleshoot anything else from there.
Just remember, I don't have vB 4 installed, so I'll need feedback once the new thread is started to sort these things out.
TyPenn613
01-15-2010, 05:17 AM
I followed the instructions and everything seems to be correct except my video links don't automatically code themselves.
I took out the line of code, edit the AME and click save. No errors or anything, but no results either. Am I missing something?
SemperFideles
01-15-2010, 01:02 PM
I first want to say thank you as I don't want you to believe I am ungrateful for this hack. When I upgraded to v4.0.1, AME still works but I am now receiving a very odd problem related to the Report Post feature of the board.
I reported this as a bug and it could not be reproduced: http://www.vbulletin.com/forum/project.php?issueid=35302
I then disabled all my plugins and the "bug" went away. I proceeded to disable all plugins one at a time and narrowed it down to AME causing the problem.
Without having to go to the link provided, if a user reports a post in which something is surrounded in quotes as "p's" and "q's" then when the reported post appears in the Reported Post forum, escape characters are being inserted.
For instance. If a user reports a post that contains:
Mind your "p's" and "q's"
It comes out in Reported Posts as
Mind your \"p's\" and \"q's\"
I don't know why AME would interfere with the Reported Post feature but, as I stated, if I disable the plugin, then the problem goes away. In the grand scheme of bugs, it is an annoyance but one I hope you can fix.
SemperFideles
01-15-2010, 01:27 PM
If there are any brave souls out there willing to give this a try, here's a BETA version of my Master XML. But it's COMPLETELY untested. If it imports okay for you, then I'll go ahead and start a new mod thread and we can troubleshoot anything else from there.
Just remember, I don't have vB 4 installed, so I'll need feedback once the new thread is started to sort these things out.
Uploaded, installed and then tried an Amazon link and it didn't work. The link was gone once I saved.
The Geek
01-15-2010, 01:56 PM
I think I know what may be causing the issue you mentioned and AME3 is most likely the culprit. I will look into best way to resolve and let you know and/or update the package.
HTHs
Digital Jedi
01-15-2010, 04:00 PM
Uploaded, installed and then tried an Amazon link and it didn't work. The link was gone once I saved.
But the file did import okay? Alright, then, I just wanted to make sure it would actually go through first. If it at least a couple of other people can verify they had a successful import, I'll go ahead and start a new thread and handle more specific support questions there, so we don't clog the main AME thread with definition specific questions. Thanks.
jaffaman
01-15-2010, 04:27 PM
Trying on a test site and the DJ's Master XML (AME 3) did import ok the test site is running vBulletin? Version 4.0.1
I will try and go through whats working and whats not :) Thanks for your hard work :)
SemperFideles
01-15-2010, 04:37 PM
But the file did import okay?
Just to confirm: Yes, the xml imported properly and all the definitions were available.
albrens
01-15-2010, 05:17 PM
Good works.
Thanks a lot.
jaffaman
01-15-2010, 05:47 PM
Ok when i try any links i get the error below when submit the post but if i got to the post after it just shows up blank.
This happend trying to enter a youtube video link.
Warning: preg_replace() [function.preg-replace]: Unknown modifier '/' in [path]/includes/ame_prep.php on line 556
vBulletin Message
Unable to add cookies, header already sent.
File: /home/csaleagu/public_html/testvb/includes/class_core.php
Line: 4501
The Geek
01-15-2010, 08:01 PM
Ok when i try any links i get the error below when submit the post but if i got to the post after it just shows up blank.
This happend trying to enter a youtube video link.
Warning: preg_replace() [function.preg-replace]: Unknown modifier '/' in [path]/includes/ame_prep.php on line 556
vBulletin Message
Unable to add cookies, header already sent.
File: /home/csaleagu/public_html/testvb/includes/class_core.php
Line: 4501
Is this default or with DJ's definitions?!?
Good works.
Thanks a lot.
No thanks needed. Just click install please :)
jaffaman
01-16-2010, 02:15 PM
Is this default or with DJ's definitions?!?
I installed DJ's definitions and i had the problem so i reset definitions and i was still getting the problem so i uninstalled AME3 through the installed products and then re-imported the product-ame.xml and now i can post a youtube link ok and it works as it shoud.
Digital Jedi
01-16-2010, 05:38 PM
Hrm, other than the definition for playlists, my Master didn't have a YouTube definition. Geek, I think I may have left out the <provider> tag in the XML. Could that have caused the issue? I forgot I had to go in and add those manually.
Albasoul
01-16-2010, 07:03 PM
I have upgraded from an older version that used tags [ media ] [ / media ]. How do I convert the old tags to new ones by using the tool that you provide?
Your help is greatly appreciated.
SAUR0N
01-16-2010, 08:57 PM
AME3 is generating this bug
http://www.vbulletin.com/forum/project.php?issueid=34622#note120536
The Geek
01-17-2010, 07:38 AM
Was already noted with workaround posted. Updated package anyway. Upgrade as normal.
nJoy :)
SAUR0N
01-17-2010, 01:05 PM
thank you
InfoAddict
01-19-2010, 08:28 AM
Still no luck here. Any further progress on finding the source of this issue? I'm not sure if I've noted it before, but the embeds work fine with the CMS, just not forums.
The Geek
01-19-2010, 08:52 AM
You can paste a youtube link in a CMS page and it parses but if you paste that exact same link in a post it doesn't?
Can you share a link as an example?
movslow
01-19-2010, 02:02 PM
Was already noted with workaround posted. Updated package anyway. Upgrade as normal.
nJoy :)
Quick comment.
It would be nice if you provided a list of the upgrades and what changed in your summary on the beginning of each page.
It's easy for the users to look at that summary, and see what has changed and what hasn't.
v1.5 - yada yada
v1.0 - blah blah
SwollenCranium
01-19-2010, 08:58 PM
Lame ..
( I should pay closer attention ... )
InfoAddict
01-20-2010, 02:22 AM
Well, I've finally worked out why my site wasn't working. After trawling through this thread I saw a reference to [IMG] tags being turned off.
We turned off our image tags a while back to force everyone to upload images rather than linking to them.
I turned [IMG] tags back on on all the forums and the embed code now displays and works perfectly. Maybe this is something that can be added to your FAQ.
As a side issue to that, we now have [IMG] tags forced back on :) Is there a way to separate the embedding of videos with images or are we stuck with things this way thanks to vb4?
The Geek
01-20-2010, 07:36 AM
Quick comment.
It would be nice if you provided a list of the upgrades and what changed in your summary on the beginning of each page.
It's easy for the users to look at that summary, and see what has changed and what hasn't.
v1.5 - yada yada
v1.0 - blah blah
Couldn't have been much of a pain in the ass seeing as the second post in the thread (https://vborg.vbsupport.ru/showpost.php?p=1934728&postcount=2) has the changelog. But thanks for the suggestion.
The Geek
01-20-2010, 07:38 AM
Well, I've finally worked out why my site wasn't working. After trawling through this thread I saw a reference to [IMG] tags being turned off.
We turned off our image tags a while back to force everyone to upload images rather than linking to them.
I turned [IMG] tags back on on all the forums and the embed code now displays and works perfectly. Maybe this is something that can be added to your FAQ.
As a side issue to that, we now have [IMG] tags forced back on :) Is there a way to separate the embedding of videos with images or are we stuck with things this way thanks to vb4?
This is an issue with vB4. For whatever dumb reason vB4 will only parse video bbcode as long as you have the post set to parse images.
Bossland
01-20-2010, 08:12 AM
How can i increase the resolution on the videos that are displayed, there is a fixed window in vB to display the videos, even if i would like to display HD Videos from YouTube
Anyone knows a possible solution ?
Digital Jedi
01-20-2010, 05:21 PM
Lame ..
Meaningless?
The Geek
01-21-2010, 08:55 AM
Meaningless?
He was also complaining about trawling through posts to find the changelog. After I pointed out it was in the second post I guess he edited his post.
How can i increase the resolution on the videos that are displayed, there is a fixed window in vB to display the videos, even if i would like to display HD Videos from YouTube
Anyone knows a possible solution ?
You can change the dimensions of the videos via the definitions embed setting. However if you wanted to change it depending on if it was HD or not - well, that is a little trickier as I think it would require another definition.
PS - please click install.
HTHs
SwollenCranium
01-21-2010, 10:10 AM
Meaningless?
Calm down Sally... I re-edited my post this morning to make more sense.
Digital Jedi
01-21-2010, 12:35 PM
Calm down Sally... I re-edited my post this morning to make more sense.
I'm perfectly calm, and only my wife is allowed to call me Sally...
I've said too much... >_>
cherylferraro
01-21-2010, 07:31 PM
I love this mod. I love the geek for his sense of humor and for creating this mod. You have my vote for for MOTM.
STORMS
01-22-2010, 08:56 AM
The "AME CP" is showing on my "Admin CP" but when you select anything under "AME CP" like for example: "Settings," it says "Not Found The requested document was not found on this server."
Is something supposed to go inside the "AME" folder? Because it was empty, and now im confused... HELP! :confused:
The Geek
01-22-2010, 12:42 PM
Upload the files to the corresponding locations. If you renamed your admincp folder, move the admincp/ame.php file into your renamed admincp folder
The Geek
01-22-2010, 12:42 PM
I love this mod. I love the geek for his sense of humor and for creating this mod. You have my vote for for MOTM.
Thanks :)
STORMS
01-22-2010, 07:19 PM
Upload the files to the corresponding locations. If you renamed your admincp folder, move the admincp/ame.php file into your renamed admincp folder
[EDIT] Nevermind.
Thank you so much! :D
crazyace
01-22-2010, 07:39 PM
How would you add a site like www.collegehumor.com to the list of videos?
InfoAddict
01-23-2010, 03:14 AM
regex_url
http://]*[a-z]*?[\.]?collegehumor\.com/video:([0-9]+)
embed
<embed src="http://www.collegehumor.com/moogaloop/moogaloop.swf?clip_id={vb:raw code}" quality="best" width="425" height="350" type="application/x-shockwave-flash"></embed>]]></embed>
rollerman
01-23-2010, 08:52 AM
OK, so, I've downloaded and installed. Now I'm a bit confused. Do I just re-use DJ's excellent set of definitions from before? Or is there a whole new set of definitions coming to work with vB 4.0.x?
crazyace
01-23-2010, 01:09 PM
regex_url
http://]*[a-z]*?[\.]?collegehumor\.com/video:([0-9]+)
embed
<embed src="http://www.collegehumor.com/moogaloop/moogaloop.swf?clip_id={vb:raw code}" quality="best" width="425" height="350" type="application/x-shockwave-flash"></embed>]]></embed>
I tried that but its not working :(
molieman
01-23-2010, 02:11 PM
I run PhotoPost on my site, for video uploads/downloads and would like the possibility for users to play them in their posts.
Can someone provide me with a definition to use?
Or.... what do I have to, do so my users can display PhotoPost videos in their posts?
Thanks :) :) :)
Digital Jedi
01-24-2010, 07:52 AM
OK, so, I've downloaded and installed. Now I'm a bit confused. Do I just re-use DJ's excellent set of definitions from before? Or is there a whole new set of definitions coming to work with vB 4.0.x?
You'll have to wait for the next new set, or develop some on your own if you can. I can't give an ETA at the moment, because I usually underestimate.
molieman
01-24-2010, 11:49 AM
You'll have to wait for the next new set, or develop some on your own if you can. I can't give an ETA at the moment, because I usually underestimate.
Thanks DJ :)
Waiting patiently :eek: Did I just say that :) :) :)
rollerman
01-24-2010, 02:44 PM
You'll have to wait for the next new set, or develop some on your own if you can. I can't give an ETA at the moment, because I usually underestimate.I can deal with that. Looks like the basics are already there, and I can keep my members happy with that for the time being. We're a really small board, so I don't think they used a quarter of the definitions that are there in my v3.8.4 current board.
Thanks for all the great work. :up: This has to be one of the most-used vB hacks of all time. You and Geek should be quite proud. :)
Musika
01-25-2010, 10:46 AM
Since importing the old XML-Definitions doesn't work, what are the REGEX URL and EMBED Code for Myvideo? http://www.myvideo.de
Sample URL: http://www.myvideo.de/watch/7051871/Britains_Got_Talent_2008_Veniamin_s_Eyes_Pre_Vorsi ngen_BGT
Sample Embed-Code: <object style='width:470px;height:285px;' width='470' height='285'><param name='movie' value='http://www.myvideo.de/movie/7051871'></param><param name='AllowFullscreen' value='true'></param><param name='AllowScriptAccess' value='always'></param><embed src='http://www.myvideo.de/movie/7051871' width='470' height='285' type='application/x-shockwave-flash' allowscriptaccess='always' allowfullscreen='true'></embed></object>
murekhalir
01-26-2010, 01:14 AM
i had it installed on 3.84.
Is this ready to go on 4?
also - shoudl i uninstall to previous version?
Digital Jedi
01-26-2010, 07:58 AM
i had it installed on 3.84.
Is this ready to go on 4?
also - shoudl i uninstall to previous version?
Well, this is the 4.0 section of the forums, so I'd venture a yes. ;)
The Upgrade instructions are included in the Read Me PDF.
mrfrisky
01-26-2010, 08:08 PM
Is there any way to have it "understand" the codes for HD (720p and upwards) for youtube videos?
murekhalir
01-27-2010, 12:43 AM
My bad- for some reason i read somewhere that it was having issues, but it might have been a previous post not relevant to the current version. Hah thanks. Man i sound like a n00bers.
murekhalir
01-27-2010, 05:22 AM
Have a few bugs to report.
Is there any way to make the video centered?
I put centered html codes in - however if you refresh the post - it'll left align.
If you edit the post again - slap another youtube link(s) it ceases to auto embedd
The Geek
01-27-2010, 07:31 AM
Have a few bugs to report.
Is there any way to make the video centered?
I put centered html codes in - however if you refresh the post - it'll left align.
If you edit the post again - slap another youtube link(s) it ceases to auto embedd
1 - use the centre code or edit the embed definition
2- Make sure the automatically convert videos option is ticked
3- click install
Is there any way to have it "understand" the codes for HD (720p and upwards) for youtube videos?
This isn't as easy as you would think - but a definition could conceivably catch most of them.
Please click install
squangcao
01-28-2010, 11:13 AM
i can't see xml file import product
wacodep
01-28-2010, 11:27 AM
i can't see xml file import productYou have to look in the correct place. The location of the XML product file is documented in several places in the instructions.
aspen1018
01-28-2010, 03:07 PM
I love this mod
I did have AME installed on my 3.8 forum and one of the plugins I really liked was the www.amazon.com
Is there anyway we can get that back ?
Thank you.
Nadeemjp
01-31-2010, 12:48 AM
hello geek:)
I have upgraded to AME3 and vb4.
followed all the procedures, but all my links in the entire forum have not been converted.
the still show [ame..........] kind of tag.
any help?
you can follow the following link as an example:
http://www.familybunker.com/forums/media-clippings-streamings-downloads/11251-nro-qarz-wapis-lenay-ka-time-aa-giya.html#post135138
thank you
Chicken Racer
01-31-2010, 04:54 AM
I've spent 5hrs trying to figure this out no clue.
The regex code you " The Geek" ( realtytube.com.au) created for me worked like a charm on one forum.
I then installed your mod on another upgrade of V4 to a different domain but for the life of me I cannot get the code to display on the forum.
The other codes such as Youtube ,Vimeo all work with the mod but not the code created by The Geek. Yes it does work on another forum ....any ideas what I need to do ?
ajhalls
01-31-2010, 01:11 PM
I had asked earlier about adding support for any type of locally hosted media files and was hoping to check back with you now that it is out of Beta. I have a series of videos to help out medical students that I would like to host myself and stream on page. I am not particular about what codec or software I use. I really appreciate your work as I can tell everyone does here, you have been to recommended mod over and over.
I could take a look during beta, but can't promise anything. I normally like to keep definition requests and releases out of the main AME release page as it can get quite unruly.
Digital Jedi
01-31-2010, 07:37 PM
I had asked earlier about adding support for any type of locally hosted media files and was hoping to check back with you now that it is out of Beta. I have a series of videos to help out medical students that I would like to host myself and stream on page. I am not particular about what codec or software I use. I really appreciate your work as I can tell everyone does here, you have been to recommended mod over and over.
I'm hoping to make something once I get vB 4 installed on my demo board.
Chicken Racer
01-31-2010, 09:00 PM
Anyone have an idea what might be my problem?
Have I over looked some thing?
Nadeemjp
02-01-2010, 09:09 AM
my bad, i was onl;y converting in test mode.
all ame tags are converted into video tags.
nice good and thanks:)
murekhalir
02-07-2010, 02:30 AM
Hey Geek,
or anyone. I need definitions for the longtail video / jw player.
http://www.longtailvideo.com/
I bought a premium license- what I really want to do is take in youtube videos.
(so i'm assuming i just edit the youtube definition).
But I'm unsure how I should go on about reworking - it
Example source embed code generator:
http://www.longtailvideo.com/support/jw-player-setup-wizard?example=205
<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='470' height='320' id='single1' name='single1'>
<param name='movie' value='player.swf'>
<param name='allowfullscreen' value='true'>
<param name='allowscriptaccess' value='always'>
<param name='wmode' value='transparent'>
<param name='flashvars' value='file=http://www.youtube.com/watch?v=cDPWYLvlcsA'>
<embed
type='application/x-shockwave-flash'
id='single2'
name='single2'
src='player.swf'
width='470'
height='320'
bgcolor='undefined'
allowscriptaccess='always'
allowfullscreen='true'
wmode='transparent'
flashvars='file=http://www.youtube.com/watch?v=cDPWYLvlcsA'
/>
</object>
is an example embed code they gave me. Trying to have AME3 detect youtube video -> push into the JW player -> output into threads.
The main reason i want to use JW player OVER the youtube player - is the ability to run pre-roll / post roll advertisements that are controlled within my site.
Willing to pay some quid for help.
ALBCODERS
02-07-2010, 02:08 PM
Thanks
I am using v4.0.1 but I do not have the includes/xml/hooks_vbcms.xml file
JaredMarino
02-07-2010, 07:16 PM
Received this as an error when trying to physically delete a message. Don't know if it's been pointed out yet.
Fatal error: Call to a member function query_write() on a non-object in /home/zunited/public_html/includes/ame_prep.php on line 518
EDIT: Also happens when it's just a regular delete.
great as always. Thank you Geek (y)
tweakmonkey
02-08-2010, 04:52 PM
Thanks
I am using v4.0.1 but I do not have the includes/xml/hooks_vbcms.xml file
Same here...
Drago13
02-09-2010, 12:37 AM
Thanks
I am using v4.0.1 but I do not have the includes/xml/hooks_vbcms.xml file
He said pre- 4.0.1.. :rolleyes:
Moondust
02-09-2010, 02:24 PM
what can i do for redtube and youporn ?
Sorry, is an adult Board.
cad2go
02-09-2010, 02:31 PM
This is my redtube regex for 3.8 if that helps:
[http://]*[a-z]*?[\.]?redtube\.com/([A-Z0-9._%-]*)
and replacement
<object width="$ameinfo[width]" height="$ameinfo[height]">
<param name="movie" value="http://www.youtube-nocookie.com/v/$p1&ap=%2526fmt%3D18&fs=1"></param>
<param name="allowFullScreen" value="true"></param>
<embed src="http://embed.redtube.com/player/?id=$p1&style=redtube" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" allowfullscreen="true" width="$ameinfo[width]" height="$ameinfo[height]" wmode="transparent"></embed></object>
Moondust
02-09-2010, 03:55 PM
This is my redtube regex for 3.8 if that helps:
[http://]*[a-z]*?[\.]?redtube\.com/([A-Z0-9._%-]*)
and replacement
<object width="$ameinfo[width]" height="$ameinfo[height]">
<param name="movie" value="http://www.youtube-nocookie.com/v/$p1&ap=%2526fmt%3D18&fs=1"></param>
<param name="allowFullScreen" value="true"></param>
<embed src="http://embed.redtube.com/player/?id=$p1&style=redtube" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" allowfullscreen="true" width="$ameinfo[width]" height="$ameinfo[height]" wmode="transparent"></embed></object>
Sorry.... not Working, the show no Video.... but the code, wen i am klick nswer with Qute is this: http://www.redtube.com/26210
tobe12
02-09-2010, 05:09 PM
Installed. Works on my VB4.0.1 Thank you for your good work.
milaszewski
02-09-2010, 06:08 PM
could this detect mp3 attachments and embed them in a flash player?
spagman
02-10-2010, 10:21 AM
does anybody know how to get fullscreen to work in youtube?
this is what I tried....and variations of it.
Thanks in advance
And thanks for the GREAT mod!
<object class="restrain" type="application/x-shockwave-flash" width="540" height="325" allowfullscreen="true" data="http://www.youtube.com/v/{vb:raw code}">
<param name="movie" value="http://www.youtube.com/v/{vb:raw code}" />
<param name="allowFullScreen" value = "true"/>
<param name="wmode" value="transparent" />
</object>
Moondust
02-10-2010, 11:37 AM
Can you show me a Code for WMV ??
User post this:
http://www.xxxxxxx.com/forum/bilder/1/vid.wmv
Output is follow Code:
<embed src="http://www.xxxxxxx.com/forum/bilder/1/vid.wmv" width="640" height="480" type="application/wmv" name=MediaPlayer autostart=0 showcontrols=1 showstatusbar=1 autorewind=1 showdisplay=0></embed>
Thanks for your help
meissenation
02-10-2010, 01:56 PM
Is it just me or is there no product file in the zip?
Edit: Nevermind, I forgot this is the only modification out of the thousands of mods on vbulletin.org that hides the XML file in the includes/xml/ folder... ;) :P
Is it just me or is there no product file in the zip?
Edit: Nevermind, I forgot this is the only modification out of the thousands of mods on vbulletin.org that hides the XML file in the includes/xml/ folder... ;) :P
Handy hint: Read the install file.
Not only does it tell you exactly what you missed, it's packed full of funnies.
meissenation
02-11-2010, 01:56 AM
If it's a first time install, I agree - read the instructions. But it seemed stupid to download an additional 2mb install file just to be told what we already know when upgrading... upload new files, import product, click "Overwrite" tada. Touche though... I was moreso jabbing at the fact that this is the only mod I've ever installed (and I've installed at least a hundred...) that has to hide the product file inside the upload folder instead of putting it outside of the upload folder. :)
I see it more as 'the only mod to take advantage of a feature that would otherwise remain entirely unused'. :)
993ti
02-13-2010, 04:49 PM
Master XML imported fine :)
Getting this however with amazon rss feeds:
Warning: preg_replace() [function.preg-replace]: Unknown modifier '/' in [path]/includes/ame_prep.php on line 556
Line 555 and 556:
$text = preg_replace('%(\[(quote|php|html|code|nomedia)([^\]]*)\](.*?)\[/(\2)\])%sime', '$this->substitute(\'\1\', $this->_subbed)', $text);
$text = preg_replace($info['find'], $info['replace'], $text);
lebanon
02-13-2010, 07:01 PM
hi
ive been off vb for a long while and today i upgraded a forum to 4.0.1 , however we used your old hack for 3.8x with custom local wmv addition... now ive been trying to reload local wmv
after many many tries am still failing...
I tried disabling the hack and modifying bbcode xml file and adding our self as source and modify bbcode video template, still no luck
i retried using your hack with this
<?xml version="1.0" encoding="ISO-8859-1"?>
<AME3>
<def>
<providerid>80</providerid>
<tagoption>ms</tagoption>
<provider>ms</provider>
<url>http://www.MYDOMAIN.ms</url>
<regex_url><![CDATA[ (http://[\w]*[\.]*MYDOMAIN\.[\w/&;%-\.]+\.wmv) ]]></regex_url>
<regex_scrape />
<embed><![CDATA[ <object id="MediaPlayer" width="675" height="423" classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components?" type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
<param name="filename" value="{vb:raw code}">
<param name="Showcontrols" value="True">
<param name="autostart" value="false">
<embed type="application/x-mplayer2" src="{vb:raw code}" name="MediaPlayer" width="675" height="423" autoplay="false"></embed>
</object>]]></embed>
<priority>0</priority>
</def>
</AME3>
It does parse and changes the code but still no display of embed !
either a so simple mistake or donno ! hope you can help
The post shows nothing on display
however on edit :
video=ms;http://www.MYDOMAIN.ms/movies/lebmovies/tayf-al-madina/tayfalmadina-low.wmv]http://www.MYDOMAIN.ms/movies/lebmovies/tayf-al-madina/tayfalmadina-low.wmv[/video]
so basically its being parsed after preg matches ... any advice on where i went wrong ?
regards
chefsache
02-14-2010, 10:56 AM
Hi,
is it possible with AME that i import a videofile from my own server?
Thanks and greets
Andreas
tommac3
02-15-2010, 12:00 AM
I love this mod ... however one improvement that i would like to request, suggest.
It does not work with the CMS
I would love if the video would show up on the first page on my CMS
this is how it looks ( note the video does not show ... just the link to youtube:
Post 1
by tom Published on 02-15-2010
http://www.youtube.com/watch?v=ZawrdYA0WXU ...
Read More
Digital Jedi
02-15-2010, 12:19 AM
I love this mod ... however one improvement that i would like to request, suggest.
It does not work with the CMS
I would love if the video would show up on the first page on my CMS
this is how it looks ( note the video does not show ... just the link to youtube:
Post 1
by tom Published on 02-15-2010
http://www.youtube.com/watch?v=ZawrdYA0WXU ...
Read More
It works anywhere post BB Code does. But if your character code is set to cut off at a certain number of characters, it will truncate the embed code, too.
lebanon
02-15-2010, 08:15 AM
Just an update ..
I went back to the original vb code and updated
bbcode_vb XML and the bbcode video template with the same regex...
The local wmv now work fine when using video bbcode tag..
So i re-activated your hack, once again now both work
With inserting video bbcode or without it, since your hack is wrapping the video bbcode successfuly and doing its job.
However am just curious, why wouldnt it work since its already loading as a hook before the post unless i manually added the html code to the bbcode template !
ShawnV
02-15-2010, 09:35 PM
Anyone have luck with a working playlist.com "playlist" definition for this mod yet?
Moondust
02-17-2010, 10:29 AM
hi
ive been off vb for a long while and today i upgraded a forum to 4.0.1 , however we used your old hack for 3.8x with custom local wmv addition... now ive been trying to reload local wmv
after many many tries am still failing...
I tried disabling the hack and modifying bbcode xml file and adding our self as source and modify bbcode video template, still no luck
i retried using your hack with this
<?xml version="1.0" encoding="ISO-8859-1"?>
<AME3>
<def>
<providerid>80</providerid>
<tagoption>ms</tagoption>
<provider>ms</provider>
<url>http://www.MYDOMAIN.ms</url>
<regex_url><![CDATA[ (http://[\w]*[\.]*MYDOMAIN\.[\w/&;%-\.]+\.wmv) ]]></regex_url>
<regex_scrape />
<embed><![CDATA[ <object id="MediaPlayer" width="675" height="423" classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components?" type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
<param name="filename" value="{vb:raw code}">
<param name="Showcontrols" value="True">
<param name="autostart" value="false">
<embed type="application/x-mplayer2" src="{vb:raw code}" name="MediaPlayer" width="675" height="423" autoplay="false"></embed>
</object>]]></embed>
<priority>0</priority>
</def>
</AME3>
It does parse and changes the code but still no display of embed !
either a so simple mistake or donno ! hope you can help
The post shows nothing on display
however on edit :
video=ms;http://www.MYDOMAIN.ms/movies/lebmovies/tayf-al-madina/tayfalmadina-low.wmv]http://www.MYDOMAIN.ms/movies/lebmovies/tayf-al-madina/tayfalmadina-low.wmv[/video]
so basically its being parsed after preg matches ... any advice on where i went wrong ?
regards
Thanks, this Code works. !!
The Geek
02-17-2010, 01:56 PM
Master XML imported fine :)
Getting this however with amazon rss feeds:
Warning: preg_replace() [function.preg-replace]: Unknown modifier '/' in [path]/includes/ame_prep.php on line 556
Line 555 and 556:
$text = preg_replace('%(\[(quote|php|html|code|nomedia)([^\]]*)\](.*?)\[/(\2)\])%sime', '$this->substitute(\'\1\', $this->_subbed)', $text);
$text = preg_replace($info['find'], $info['replace'], $text);
There isn't an amazon definition that comes with this mod. Check with wherever you got the definition from.
Anyone have luck with a working playlist.com "playlist" definition for this mod yet?
I worked hard at playlist for the AMEfy addon and cannot make it work with vB's video system.
I think all the other questions are related to custom definitions, which sadly I don't have time to do so will leave to the community :)
The Geek
02-17-2010, 02:00 PM
I was moreso jabbing at the fact that this is the only mod I've ever installed (and I've installed at least a hundred...) that has to hide the product file inside the upload folder instead of putting it outside of the upload folder. :)
This isn't exactly true
All vB addons always store the product-xml in the includes/xml folder. I just started following suit. But if you were upgrading, then you already had the readme and already imported the product once so you knew where it was. That is, unless you were upgrading from 2.5x. In that case the readme contains important information that you should read about upgrading in the first place. Either way, you didn't read the readme and want to complain about it.
Sheesh ;)
Digital Jedi
02-17-2010, 04:21 PM
There isn't an amazon definition that comes with this mod. Check with wherever you got the definition from.
He's referring to that test Master XML I posted here a while back. A couple of folks reported that bug. I've got vB 4 installed on my demo board, so I hope to have better working definitions for this version here in a few weeks.
The Geek
02-17-2010, 05:58 PM
gotcha. Thanks DJ :)
MoRa GFX
02-18-2010, 07:21 PM
Not exactly sure how to make it work, I'm on 4.0.1, and just added all of the files, is that it?
testbot
02-18-2010, 07:23 PM
anyone test with 4.0.2?
I thought with a previous version of this mod, you were able to set different sizes for the videos to be parsed? That way links to videos in a signature were shown nice and small, while in a topic they could be the normal size.
Is that feature coming back? If not, how can I disable this mod from parsing youtube links in signatures to fullsize videos?
The Geek
02-19-2010, 06:44 AM
Not exactly sure how to make it work, I'm on 4.0.1, and just added all of the files, is that it?
Check the readme. Add the files and import the product.
anyone test with 4.0.2?
I haven't but haven't heard any grumblings. Considering the install count, I would of :)
I thought with a previous version of this mod, you were able to set different sizes for the videos to be parsed? That way links to videos in a signature were shown nice and small, while in a topic they could be the normal size.
Is that feature coming back? If not, how can I disable this mod from parsing youtube links in signatures to fullsize videos?
You were, however all video parsing was previously done by AME. Now its handled by vB and there is currently no way to parse differently depending on the section. Saying that, I assume you could use some CSS much in the way I do for AME'fy or vB uses for the preview part of the CMS.
nekiw
02-19-2010, 08:31 AM
Hi
I just installed it on vb 4.0.2, it does work on threads in forum, but it doesnt work on cms.
I just added this code "http://www.youtube.com/watch?v=ZLVtAZQixOA" to an article, but after I save and publish the code is changed to "http://www.youtube.com/watch?v=ZLVtAZQixOA"
but the video doesnt appear in article preview, but it does appear inside article, in article preview it shows the link to the video though.
I have done everything according to manual, please tell me howto fix this in cms as well.
The Geek
02-19-2010, 09:04 AM
Hi
I just installed it on vb 4.0.2, it does work on threads in forum, but it doesnt work on cms.
I just added this code "http://www.youtube.com/watch?v=ZLVtAZQixOA" to an article, but after I save and publish the code is changed to "http://www.youtube.com/watch?v=ZLVtAZQixOA"
but the video doesnt appear in article preview, but it does appear inside article, in article preview it shows the link to the video though.
I have done everything according to manual, please tell me howto fix this in cms as well.
If the URL is vhanged to the [VIDEO] code as above, then AME3 worked as that is what it does. After that, its up to vB to do the rest? Are you sure that the output isn't getting truncated by vB for the preview? In other words, if you put that as the very first line in the article, does it show?
nekiw
02-19-2010, 09:53 AM
If the URL is vhanged to the [VIDEO] code as above, then AME3 worked as that is what it does. After that, its up to vB to do the rest? Are you sure that the output isn't getting truncated by vB for the preview? In other words, if you put that as the very first line in the article, does it show?
I have tried with it as the only thing in article, on first line.
With text before and with text after.
Still no luck, probably a vb issue then.
Either way, you have any idea howto fix it?
The Geek
02-19-2010, 10:31 AM
None. If you use vB's button to put the media code in... does it work?
Can you aslo pls click install? ;)
nekiw
02-19-2010, 01:11 PM
If I use VB button I get the preview video on cms front, but still the textlink to the video also appears.
so it seem that is something with vb and something with your mod.
chefsache
02-19-2010, 08:59 PM
Hi @all...
is it possible to upload videos from my harddrive?
Greetings
Andreas
testbot
02-20-2010, 12:42 AM
not with this mod. that's not one of it's features.
chefsache
02-20-2010, 09:06 AM
Hi testbot,
is there another mod which could do that?
Thanks
Andreas
compact123
02-20-2010, 03:09 PM
sir why i cant add the video? =)
http://www.dailymotion.com/video/x65uck_barış-man?o-japonya-konseri-1995_music
testbot
02-20-2010, 04:43 PM
Hi testbot,
is there another mod which could do that?
Thanks
Andreas
hi andreas,
there use to be a few but they were expensive and required things like ffmpeg to be installed on the server.
i know vbtube use to do it but it looks like they're closed for some reason.
it's a pretty complicated mod so whoever makes it for vb4 first wins.
keep in mind, i haven't done a lot of research on this so there might be some other options out there that i'm not aware of.
if you find something good and worth checking out please let me know too :D
testbot
02-21-2010, 05:48 PM
i'm having a hard time adding a new video string.
i have the following but it's not working. i think it's because there's two {vb:raw code} variables needed.
btw, site is nsfw
http:\/\/www\.tube8\.com\/strip\/.*([a-z0-9-_]+).\/.*([a-z0-9-_]+)
<style>
#outerdiver{width:446px;height:246px;overflow:hidd en;position:relative;}
#inneriframe{position:absolute;top:-200px;width:640px;height:740px;}
</style>
<div id='outerdiver'>
<iframe src ="http://www.tube8.com/strip/{vb:raw code}/{vb:raw code}" id='inneriframe' scrolling=no />
<p>Your browser does not support iframes.</p></iframe>
</div>
satlazone
02-26-2010, 07:56 AM
Will be there 'XML Media Definitions' list?
Like this: https://vborg.vbsupport.ru/showthread.php?t=175378
I really need it back for VB4, especially for MegaVideo.
hiker
02-26-2010, 02:43 PM
I have upgraded from an older version that used tags [ media ] [ / media ]. How do I convert the old tags to new ones by using the tool that you provide?
I have this same question. I've got [ youtube ] [ / youtube ]. tags. What is the best way to convert these to [ video ] [ / video ]. tags?
Thanks.
testbot
02-26-2010, 03:57 PM
Will be there 'XML Media Definitions' list?
Like this: https://vborg.vbsupport.ru/showthread.php?t=175378
I really need it back for VB4, especially for MegaVideo.
i made a megavideo xml for you.
claystation
02-26-2010, 05:56 PM
Upgraded to 4.02 my videos work fine except on the CMS section pages, 2 video thumbnails of the same video display on the page. In the actual article itself there is one video displayed.
Digital Jedi
02-27-2010, 12:23 AM
Will be there 'XML Media Definitions' list?
Like this: https://vborg.vbsupport.ru/showthread.php?t=175378
I really need it back for VB4, especially for MegaVideo.
Eventually, yes. I'm working on a new set.
Front Range 4x4
02-27-2010, 05:50 PM
Eventually, yes. I'm working on a new set.
Nice to hear DJ, patience is rewarded. :up:
CoZmicShReddeR
02-27-2010, 09:08 PM
I have this same question. I've got [ youtube ] [ / youtube ]. tags. What is the best way to convert these to [ video ] [ / video ]. tags?
Thanks.
I sure could use a fix or this one as well since I had upgraded from phpnuke to vbulletin...
kalisekj
03-02-2010, 02:32 PM
Thank you for porting this over to VB4, but truly sad all that hard work of DJ's Definitions will not work on this new version.
If any coders out there wanna help movie sites out we need Stagevu, Megavideo, Megaporn, Divxden, Loombo, Zshare, Veoh & Movshare. Just to name a few of the sites that are being heavily used for streaming movies and videos.
Def Worth a Donation to get these auto embeddable.
Digital Jedi
03-02-2010, 04:22 PM
Thank you for porting this over to VB4, but truly sad all that hard work of DJ's Definitions will not work on this new version.
If any coders out there wanna help movie sites out we need Stagevu, Megavideo, Megaporn, Divxden, Loombo, Zshare, Veoh & Movshare. Just to name a few of the sites that are being heavily used for streaming movies and videos.
Def Worth a Donation to get these auto embeddable.
Well, as I said, I'm working on it. :)
kalisekj
03-02-2010, 05:20 PM
Thanks DJ you are an awesome contributor and help to all of us less technically inclined when it comes to html programming.
Digital Jedi
03-02-2010, 10:15 PM
Thanks DJ you are an awesome contributor and help to all of us less technically inclined when it comes to html programming.
You could include me in that group. I fake it, mostly. ;)
Dark-Master
03-02-2010, 10:58 PM
Does this addon support video/audio direct link?
I was using SMF before moving to vB and there is a plugin in SMF that integrates video and audio players into SMF and will automatically embed any audio/video files posted in forum with a file link right under the audio/video player.
I wish there will be an addon like that in vB too.
Digital Jedi
03-03-2010, 06:01 AM
Does this addon support video/audio direct link?
I was using SMF before moving to vB and there is a plugin in SMF that integrates video and audio players into SMF and will automatically embed any audio/video files posted in forum with a file link right under the audio/video player.
I wish there will be an addon like that in vB too.
Whatever code you can put in a definition is what the mod will do. It's per definition, though.
Dark-Master
03-03-2010, 11:57 AM
Thank you.
This maybe an off-topic. But I have a favor to ask.
Could you please recommend me a flash player that plays MP4 H.264?
BSViper
03-03-2010, 01:40 PM
After upgrade my forum to last version, i can't see youtube videos anymore..
Was: Vbulletin 3.8.4, AME 2.5, all work perfect.
Upgarde: deinstall AME 2.5 (like writed in manual from first post), upgrade forum to 4.02 pl1, install AME3, rebuild all posts.
Now: all links to Youtube dont work anymore.. I uninstalled AME3, but links still not works, even inserted as embended with standard vbulletin 4 dialog...
Any suggestions?
This is great mod, and i prefer use it...
My forum big enough (~70000 users, ~1,5 billion posts), sow i need solution.
BTW, sorry for my crap english
Update: tryed on empty fresh base - all works nice...
The Geek
03-03-2010, 01:54 PM
Do new posts work?
DO the posts that ARENT working have [ame] tags in them?
cad2go
03-03-2010, 04:43 PM
Just running the upgrade(2.5->) and noticed quite a few like
YouTube- Pachelbel Canon in D Major Perfect Version
remain yet others in the same thread have converted fine.
4.0.2 Patch Level 1 btw. Any ideas?
OT: Personally I wish vb had just left this fantastic new feature out. Hands up who thinks that in a couple of years the inbuilt one might approach being any where as good as ame? by vb5 it'll have probably caught up.
The Geek
03-03-2010, 08:15 PM
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.
ddaybofb
03-03-2010, 11:14 PM
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=zC1Bp5qnDVg&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
kpierce
03-04-2010, 02:28 AM
I'm on 4.0.2 PL1 and this flat out won't work for me. I installed everything without any errors. Looks like it's all installed perfectly, however, when I post a YouTube link, it just displays the link. No video player.
kpierce
03-04-2010, 02:29 AM
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=zC1Bp5qnDVg&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 installedSame exact thing here.
Front Range 4x4
03-04-2010, 02:37 AM
Mine was working fine until I upgraded to 4.0.2 - uninstalled and reinstalled w/o any change.
Edit: My mistake, it's fine
Digital Jedi
03-04-2010, 03:49 AM
I'm on 4.0.2 PL1 and this flat out won't work for me. I installed everything without any errors. Looks like it's all installed perfectly, however, when I post a YouTube link, it just displays the link. No video player.
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.
BSViper
03-04-2010, 05:32 AM
Do new posts work?
DO the posts that ARENT working have [ame] tags in them?
No.. New post didn,t work also.
satlazone
03-04-2010, 07:34 AM
i made a megavideo xml for you.
see attached.
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.
BSViper
03-04-2010, 08:30 AM
Installing fresh forum...
Install AME3, checking - working fine.
Move forums, threads, posts (mysql table dump-restore)...
Looks like AME3 working as expected, but i'm still testing...
The Geek
03-04-2010, 09:14 AM
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=zC1Bp5qnDVg&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
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=zC1Bp5qnDVg&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
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
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
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=ZxXlqtg2rik&feature=featured
This doesn't: http://www.youtube.com/watch#!videos=ZR4MlGnuOa0&v=I3J-JGO24bo
kpierce
03-04-2010, 03:29 PM
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
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
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
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
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
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
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
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
http:\/\/(?:www\.)?megavideo\.com\/?.*v=([a-zA-Z 0-9]+)
Regex Scrape
Embed
<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
Sorry, I didn't mean I used that same link. Here's an example:
This works: http://www.youtube.com/watch?v=ZxXlqtg2rik&feature=featured
This doesn't: http://www.youtube.com/watch#!videos=ZR4MlGnuOa0&v=I3J-JGO24bo
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.
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
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
http:\/\/(?:www\.)?megavideo\.com\/?.*v=([a-zA-Z 0-9]+)
Regex Scrape
Embed
<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
I just made a second definition for youtube and just edited a few things so both youtube links work on my forum nowCan you post how you did it for the noobs like me?
testbot
03-04-2010, 08:55 PM
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.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.