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 01-27-2010 07:31 AM

Quote:

Originally Posted by murekhalir (Post 1967684)
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

Quote:

Originally Posted by mrfrisky (Post 1967383)
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

Quote:

Originally Posted by squangcao (Post 1968835)
i can't see xml file import product

You 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/m...tml#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.

Quote:

Originally Posted by The Geek (Post 1935710)
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

Quote:

Originally Posted by ajhalls (Post 1971234)
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...rd?example=205


Quote:

<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.

TCB 02-08-2010 11:20 AM

great as always. Thank you Geek (y)

tweakmonkey 02-08-2010 04:52 PM

Quote:

Originally Posted by AlbCoder (Post 1976655)
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

Quote:

Originally Posted by AlbCoder (Post 1976655)
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:

Code:

[http://]*[a-z]*?[\.]?redtube\.com/([A-Z0-9._%-]*)
and replacement

Code:

<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

Quote:

Originally Posted by cad2go (Post 1978336)
This is my redtube regex for 3.8 if that helps:

Code:

[http://]*[a-z]*?[\.]?redtube\.com/([A-Z0-9._%-]*)
and replacement

Code:

<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: [video=redtube;26210]http://www.redtube.com/26210[/video]

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!

Code:

<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:

Code:

http://www.xxxxxxx.com/forum/bilder/1/vid.wmv
Output is follow Code:

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

kall 02-10-2010 02:56 PM

Quote:

Originally Posted by meissenation (Post 1979128)
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. :)

kall 02-11-2010 02:40 AM

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:
Code:

Warning: preg_replace() [function.preg-replace]: Unknown modifier '/' in [path]/includes/ame_prep.php on line 556
Line 555 and 556:
Code:

                                        $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

Code:


<?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/lebmov...madina-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

Quote:

Originally Posted by tommac3 (Post 1982568)
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

Quote:

Originally Posted by lebanon (Post 1981559)
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

Code:


<?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/lebmov...madina-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

Quote:

Originally Posted by 993ti (Post 1981475)
Master XML imported fine :)
Getting this however with amazon rss feeds:
Code:

Warning: preg_replace() [function.preg-replace]: Unknown modifier '/' in [path]/includes/ame_prep.php on line 556
Line 555 and 556:
Code:

                                        $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.

Quote:

Originally Posted by ShawnV (Post 1983292)
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

Quote:

Originally Posted by meissenation (Post 1979660)
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

Quote:

Originally Posted by The Geek (Post 1984626)
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?


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

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02627 seconds
  • Memory Usage 1,861KB
  • 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
  • (13)bbcode_code_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (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