vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - DJ's AME (Auto Media Embedding) XML Media Definitions (Third Time's the Charm) (https://vborg.vbsupport.ru/showthread.php?t=175378)

ImageMavericks 09-26-2008 01:38 AM

Hi all. I am trying to make my own definition, but apparently I suck at it. I am trying to make an embed code for screencast which is a pay service where I host my schtuff. I have tried in vein to make a container that works and I have relented to asking you guys for help. Any assistance is appreciated!

Here is an example of a link to a video :

http://www.screencast.com/t/bQJpf693

And here is a big fluffy embed code:

<object name="Video" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/quicktime/download/" standby="Loading Quicktime components..." width="800" height="616" > <param name="src" value="http://content.screencast.com/users/ImageMavericks/folders/Default/media/05617c42-a806-43e0-bb73-8bacb5c5653f/levelsorcurves.mov"></param> <param name="autoplay" value="false"></param> <param name="controller" value="true"></param> <param name="enablejavascript" value="true"></param> <param name="playCount" value="1"></param> <param name="starttime" value="0"></param> <embed name="Video" pluginspage="http://www.apple.com/quicktime/download/" type="video/quicktime" src="http://content.screencast.com/users/ImageMavericks/folders/Default/media/05617c42-a806-43e0-bb73-8bacb5c5653f/levelsorcurves.mov" autoplay="false" controller="true" enablejavascript="true" starttime="0" width="800" height="616"></embed> </object>

Digital Jedi 09-26-2008 02:06 AM

I'll give ScreenCast a look too.

I may just decide to do an update for 2.0 and below first and then worry about an updated Master XML for 2.5 Beta.

TsirhCitna 09-26-2008 02:47 AM

Oh :( I was waiting for the 2.5 version.

Digital Jedi 09-26-2008 03:03 AM

Quote:

Originally Posted by TsirhCitna (Post 1630563)
Oh :( I was waiting for the 2.5 version.

I'll still release it, I just have to wait for some bugs in AME 2.5 to be fixed first. But in the meantime, the current set needs updating, as there appears to be a number of sites that have made changes to their code.

ImageMavericks 09-26-2008 03:53 AM

I appreciate you looking at it so much! Total lifesaver... I can't keep up with putting our tutorials on public sites and this has been such a headache to try and make work in our forums... this would be awesome!

Thanks!
Alexandria

Skavenger 09-26-2008 03:45 PM

Quote:

Originally Posted by Digital Jedi (Post 1630516)
GoEar was working for me last time I checked. Can you send me some sample links?

Check your PM inbox.

Digital Jedi 09-26-2008 06:37 PM

Quote:

Originally Posted by Skavenger (Post 1631035)
Check your PM inbox.

Yeah, they got a new flash player. Actually, it's kind of nice. Just drop this in your GoEar definition's Replacement HTML until the next update.

HTML Code:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="353" height="132"><param name="movie" value="http://www.goear.com/files/external.swf" /><param name="FlashVars" value="file=$p1" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><embed src="http://www.goear.com/files/external.swf" width="353" height="132" flashvars="file=$p1" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed></object>


Quote:

Originally Posted by DiesellMinded (Post 1631045)
Changed the Reg Exp to

http://diesel\.powertvonline\.com/video/[\w]+

Using Regex

How do i figure out the Replacement code??

Did you refer to the tutorial linked in Post 3 of this thread? There's a link to where The Geek explains how the variables work.

But like I said, I always look requests over and add them to every update. So, if you can hang on, I can look at it for you. I just have a lot of requests backlogged.

Skavenger 09-26-2008 06:45 PM

Quote:

Originally Posted by Digital Jedi (Post 1631144)
Yeah, they got a new flash player. Actually, it's kind of nice. Just drop this in your GoEar definition's Replacement HTML until the next update.

HTML Code:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="353" height="132"><param name="movie" value="http://www.goear.com/files/external.swf" /><param name="FlashVars" value="file=$p1" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><embed src="http://www.goear.com/files/external.swf" width="353" height="132" flashvars="file=$p1" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed></object>

That fixed the problem. Thanks.

Digital Jedi 09-27-2008 02:37 AM

Quote:

Originally Posted by DiesellMinded (Post 1631161)
Yes thats how i made the First part Theres no guide to making the embed part all i need is help with the second part Please

Actually, he does explain it at the very end:

Quote:

Originally Posted by The Geek (Post 1279365)
And in the case of AME, I can put $p1 in the replacement HTML to get the 'movie' id which in this case is MzEwODYwfDg2NzY0Ng.

$p1, $p2, $p3, etc, represent your RegEx groups in the order they exist in the URL. I haven't looked at the site yet, so I don't know if the video ID is represented in the URL. But if it is, then you'd put those in a (group) and put the $p1, 2, 3 etc variable where that same number appears in the embed code.

If the ID used in the embed code is not found in the URL, then you have to use the Extraction RegEx, and have it search for the URL somewhere in the HTML of the page.

Try taking a look at the existing definitions and it will all become clear. It's really quite simple.

EHSkaRMa 09-27-2008 06:09 AM

Hello, this works great for everything, but can someone show me how to make a definition for clip-bucket? Ive tried making it a few times, and keep screwing it up.

Digital Jedi 09-27-2008 01:27 PM

Quote:

Originally Posted by DiesellMinded (Post 1631578)
For 3 days i have looked at all your definitions copy and pasted and i have a thread opver 10 pages log with me just testing it , It wont work because i dont know the location of the player.swf ,

Ill pay pal you $20 ASAP if you help me

http://diesel.powertvonline.com

PHP Code:

http://diesel.powertvonline.com/video/7156 

7156 is what changes per video

PHP Code:

<embed src="http://www.powertvonline.com/xp2/ZGllc2VsLnBvd2VydHZvbmxpbmUuY29t/7156/1265/off" type="application/x-shockwave-flash" width="430" height="343"></embed

You can see the 7156 in the embed code

PHP Code:

<embed src="http://www.powertvonline.com/xp2/ZGllc2VsLnBvd2VydHZvbmxpbmUuY29t/$p1/1265/off" type="application/x-shockwave-flash" width="430" height="343"></embed

Does not work , i think i have tried every possible combination of numbers letters and symbols Please help .

And Also

http://YOUSITEHERE.powertvonline.com AME Support

And did you group the video ID in the RegEx? The $p1 variable has to be told what replaces it. It will replce the fist group in your ReGex, which is anything in a set of parenthethis (). Looking back at the RegExs you posted, I don't see any groups, so $p1 has no way of becoming the video ID. You need to group the area of the RegEx that represents the video ID in the URL. Examples would be ([\w]+) or ([\d]+)

Digital Jedi 09-27-2008 01:28 PM

Quote:

Originally Posted by EHSkaRMa (Post 1631466)
Hello, this works great for everything, but can someone show me how to make a definition for clip-bucket? Ive tried making it a few times, and keep screwing it up.

I'll take a look at it and see what I can do. Is that clip-bucket.com or .net?

EHSkaRMa 09-27-2008 05:26 PM

Quote:

Originally Posted by Digital Jedi (Post 1631607)
I'll take a look at it and see what I can do. Is that clip-bucket.com or .net?



That would be

http://clip-bucket.com/


To get an idea, I have it installed at www.leetclips.com if you want, Ill give you an admin account to see it if you need. Thank you.

snowlion 09-27-2008 06:06 PM

Sorry, may be i noop or stupid but i can't post imeem music and don't know how to take music link.
someone help me please!!

Digital Jedi 09-27-2008 07:35 PM

Quote:

Originally Posted by EHSkaRMa (Post 1631743)
That would be

http://clip-bucket.com/


To get an idea, I have it installed at www.leetclips.com if you want, Ill give you an admin account to see it if you need. Thank you.

Yup, that will help a lot. Thanks.

Quote:

Originally Posted by snowlion (Post 1631770)
Sorry, may be i noop or stupid but i can't post imeem music and don't know how to take music link.
someone help me please!!

Just post the link to the page the music is on, just like you would ordinarily if you wanted everyone to listen to a particular song.

ImageMavericks 09-27-2008 08:04 PM

any luck with screencast?

EHSkaRMa 09-27-2008 11:47 PM

Quote:

Originally Posted by Digital Jedi (Post 1631817)
Yup, that will help a lot. Thanks.



Sent you a pm with the admin login details. Thank you very much for the help.

Digital Jedi 09-28-2008 04:22 AM

Quote:

Originally Posted by ImageMavericks (Post 1631840)
any luck with screencast?

Still trying to catch up on backlogged requests. I'll release them all as one update though (presuming I run into no problems). So stay tuned

Quote:

Originally Posted by EHSkaRMa (Post 1631921)
Sent you a pm with the admin login details. Thank you very much for the help.

No problem. Will look at it soon.

bk 2 insan3 09-28-2008 11:24 PM

im having a problem the youtube won't Embed in my post. Can Someone help Me cause i've been at this for hours

wheatus 09-29-2008 11:00 AM

I use the AME for vB 3.6. How can i add the new definitions? (I need EA Sports Wold for vB 3.6, DJ's AME is already installed!)

bk 2 insan3 09-29-2008 11:41 AM

Quote:

Originally Posted by bk 2 insan3 (Post 1632597)
im having a problem the youtube won't Embed in my post. Can Someone help Me cause i've been at this for hours

Bump?

vtte 09-29-2008 01:58 PM

The Video Embeds for YouTube aren't compatible with Firefox 3! They won't load, help please.

EHSkaRMa 09-29-2008 03:53 PM

They are compatible with FF 3. I use it with no problems. Try checking that you are posting a video that is still on youtube.

Digital Jedi 09-30-2008 04:53 PM

Quote:

Originally Posted by bk 2 insan3 (Post 1632597)
im having a problem the youtube won't Embed in my post. Can Someone help Me cause i've been at this for hours

I'll need a link to the posts and to the YouTube videos in order to begin troubleshooting what the problem may be.

Quote:

Originally Posted by wheatus (Post 1632990)
I use the AME for vB 3.6. How can i add the new definitions? (I need EA Sports Wold for vB 3.6, DJ's AME is already installed!)

Are you sure my definitions are "installed", because that's how you add new definitions. You just import them through your AME CP.

Quote:

Originally Posted by vtte (Post 1633068)
The Video Embeds for YouTube aren't compatible with Firefox 3! They won't load, help please.

Their showing up fine for me also in FF3. Make sure your just not looking at an unrelated problem, like no-flash plugin for FF, embedding disabled by the author of the video, site maintenance where YouTube disables embedding site-wide or just general slowdown. Also, you should always link me to the problem so I can help troubleshoot.

EHSkaRMa 09-30-2008 06:21 PM

I just had one of my users tell me that the video posted wouldnt show for him, and helped him troubleshoot. Turns out that hes using Firefox and he didnt manually update his flash player.
The new FF has that issue, so if you cannot see the videos in your posts, get the manual update for Flash. Sadly, it was the last thing I looked at to help him

Also, did you have any luck with clip-bucket Jedi?

Digital Jedi 09-30-2008 06:25 PM

Quote:

Originally Posted by EHSkaRMa (Post 1634097)
I just had one of my users tell me that the video posted wouldnt show for him, and helped him troubleshoot. Turns out that hes using Firefox and he didnt manually update his flash player.
The new FF has that issue, so if you cannot see the videos in your posts, get the manual update for Flash. Sadly, it was the last thing I looked at to help him

Also, did you have any luck with clip-bucket Jedi?

Haven't had a chance to look at it yet. I'm going though each of the requests in order and will release most, if not all, on the next update.


__________________
Oh, and yes, I will be doing a Master XML update for the current stable version of AME first, and then for 2.5RC1 once that's done. The reason I changed my mind and decided to do it that way, is there's quite a few sites in the Master that need updating, and I'm going to have to redo them all anyway. This way, I can start with a corrected version for 2.5 without having to do a bunch of backtracking.

EHSkaRMa 09-30-2008 06:40 PM

Awesome, sorry if it seemed I was rushing. I will be on the lookout for the next update.
Thanks Jedi!

bk 2 insan3 10-01-2008 03:44 AM

Quote:

Originally Posted by Digital Jedi (Post 1634028)
I'll need a link to the posts and to the YouTube videos in order to begin troubleshooting what the problem may be.

Well I tried Using A Number Of youtube videos to see if the Embed works and whn i post it in my forums the Embed code Shows up insted of the Video.

Digital Jedi 10-01-2008 03:59 AM

Quote:

Originally Posted by bk 2 insan3 (Post 1634421)
Well I tried Using A Number Of youtube videos to see if the Embed works and whn i post it in my forums the Embed code Shows up insted of the Video.

Well, there's your problem. Your not supposed to use the embed code, you just use the links to the videos. :)

EHSkaRMa 10-01-2008 05:21 AM

Copy the url instead of the embed code, as so:

https://vborg.vbsupport.ru/


Edit: Sorry Jedi, didnt see you posted

bk 2 insan3 10-01-2008 06:13 AM

Quote:

Originally Posted by EHSkaRMa (Post 1634463)
Copy the url instead of the embed code, as so:

http://smartgfx.net/files/karma/yt.png


Edit: Sorry Jedi, didnt see you posted

But would the video show up as a video in my forums or just the link cause all im getting is the link

bk 2 insan3 10-01-2008 06:41 AM

Quote:

Originally Posted by bk 2 insan3 (Post 1634498)
But would the video show up as a video in my forums or just the link cause all im getting is the link

This Is what i get also " Automatically embed media (requires automatic parsing of links in text to be on). "
what does that mean cause all im getting is the links In my post

EHSkaRMa 10-01-2008 06:45 AM

Shows up fine on my boards, whats the link to yours? Im afraid the coder will have to answer your question, but Id be glad to take a look.

Digital Jedi 10-01-2008 08:20 AM

Quote:

Originally Posted by bk 2 insan3 (Post 1634498)
But would the video show up as a video in my forums or just the link cause all im getting is the link

Wouldn't be Auto Media Embedding if it didn't embed the video. ;)

Quote:

Originally Posted by bk 2 insan3 (Post 1634506)
This Is what i get also " Automatically embed media (requires automatic parsing of links in text to be on). "
what does that mean cause all im getting is the links In my post

It means that Auto Parsing must be turned on. Most likely if you don't know what that is, then you already have it turned on, as that's a default setting in vB. Auto Parsing is just when your posts convert URLs into clickable links.

Could you please link me to some examples so I can see what's going on?

testebr 10-02-2008 01:43 PM

Hi digital jedi,

Can you check this video http://videolog.uol.com.br/video.php?id=370828 (try post in any test board)

The title work fine, but the player not load.

Thanks

Digital Jedi 10-02-2008 03:42 PM

Quote:

Originally Posted by testebr (Post 1635616)
Hi digital jedi,

Can you check this video http://videolog.uol.com.br/video.php?id=370828 (try post in any test board)

The title work fine, but the player not load.

Thanks

Looks like the embed code was changed, which means the Extraction ReGex needs to be udpated. Don't worry. I'll have an update for that one too.

Stryker412 10-02-2008 06:29 PM

DJ question on Associate links. I put a link to the MP3 store in my forums:

http://www.amazon.com/MP3-Music-Down...node=163856011

It added my associate ID to the end but that made the link invalid. How can we properly do links?

Digital Jedi 10-02-2008 08:02 PM

Quote:

Originally Posted by Stryker412 (Post 1635871)
DJ question on Associate links. I put a link to the MP3 store in my forums:

http://www.amazon.com/MP3-Music-Down...node=163856011

It added my associate ID to the end but that made the link invalid. How can we properly do links?

Did you add your associate ID to the Replacement HTML or to the link? My affiliate link is in there as an example, and as I explain in my second post, if you want to change it to yours you'd just replace it there. If your appending your links with your ID while posting, then that's probably the problem, as it would still be adding my ID at the end with yours.

nMIK-3 10-02-2008 11:20 PM

Thanks for all your hard work.
When you can please add support for Nokia's Ovi video share.
Is getting very very popular now days.

www.ovi.com

Thanks

Digital Jedi 10-03-2008 03:18 AM

Quote:

Originally Posted by nMIK-3 (Post 1636070)
Thanks for all your hard work.
When you can please add support for Nokia's Ovi video share.
Is getting very very popular now days.

www.ovi.com

Thanks

I'll add it to the list and let you know if it works out.


All times are GMT. The time now is 08:35 AM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02456 seconds
  • Memory Usage 1,874KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (3)bbcode_php_printable
  • (29)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