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)

DoB Rhapsody 07-12-2008 08:06 PM

Gamespot seems to not be working. The player gives you an error when you are asked to verify your age.

Hornstar 07-12-2008 11:33 PM

Thanks for the update :)

Digital Jedi 07-13-2008 01:13 AM

Quote:

Originally Posted by Subah (Post 1573695)
Thanks for the update :)

there is no images shown for me !!

Try the images in post 2.


Quote:

Originally Posted by DoB Rhapsody (Post 1573752)
Gamespot seems to not be working. The player gives you an error when you are asked to verify your age.

That has been a continuing problem with GameSpot. I'm still trying to figure out what's "undefined" in the embed code that causes that. However, the regex does work once your users visit GameSpot and enter age verifications there, as long as it's during the same browser session. And, of course, non-age verification videos work fine.

Quote:

Originally Posted by hornstar1337 (Post 1573868)
Thanks for the update :)

You welcome. ;)

KingPin6 07-13-2008 03:12 PM

very nice work, thank you :)

Burley 07-13-2008 03:54 PM

Dear DJ, sorry to bother you with jet again an url which is nog working, but I've installed your latest definitions, but my forum placing url tags on the code string below :s

Code:

www.dailymotion.com/video/x63cbi_intercontinental-cup-finals-joy-div_sport
I've rebuild my ame strings several times, un and reinstalled both the hack and definitions, but to no avail. whats the problem?

AndyA 07-13-2008 04:41 PM

Thanks for your work DJ, the Vreel doesn't appear to work on my forum when I paste the url, the divx window appears fine but on clicking the play button it says'cannot download the video' ?

Digital Jedi 07-14-2008 01:07 AM

Quote:

Originally Posted by KingPin6 (Post 1574283)
very nice work, thank you :)

No problem.



Quote:

Originally Posted by Burley (Post 1574321)
Dear DJ, sorry to bother you with jet again an url which is nog working, but I've installed your latest definitions, but my forum placing url tags on the code string below :s

Code:

www.dailymotion.com/video/x63cbi_intercontinental-cup-finals-joy-div_sport
I've rebuild my ame strings several times, un and reinstalled both the hack and definitions, but to no avail. whats the problem?

Your problem is you've removed the http:// from the URL. It won't convert without that. Also, it's supposed to be placing ULR tags around the link. AME converts based on those tags.



Quote:

Originally Posted by AndyA (Post 1574355)
Thanks for your work DJ, the Vreel doesn't appear to work on my forum when I paste the url, the divx window appears fine but on clicking the play button it says'cannot download the video' ?

Heh, that's because in the short time I made the Vreel definition and the time I release it, they went and changed the embed code structure on me. It's completely different now. Try this one. It should work for you.

Burley 07-14-2008 06:01 AM

You were absolutely right! It does display the player right now! Thanks:up:
But, now it does something else it isn't supposed to do, I've added a screenshot to show.
There's a double window, but the upper windows doesn't show the player, only the lower does. :s

I thought it was cause there were double definitions, but that isn't the case.

Digital Jedi 07-14-2008 09:20 AM

Quote:

Originally Posted by Burley (Post 1574769)
You were absolutely right! It does display the player right now! Thanks:up:
But, now it does something else it isn't supposed to do, I've added a screenshot to show.
There's a double window, but the upper windows doesn't show the player, only the lower does. :s

I thought it was cause there were double definitions, but that isn't the case.

That is definitely what happens when you have two definitions for the same site. Check to make sure the only Daily Motion definitions you have are Daily Motion US and Daily Alice. If you have anything else that refers to Daily Motion, then that is very likely causing the problem.

Baldilocks 07-14-2008 11:07 AM

Myspace videos no longer work.. bummer!!

Digital Jedi 07-14-2008 12:05 PM

Quote:

Originally Posted by Baldilocks (Post 1574945)
Myspace videos no longer work.. bummer!!

Link me to the page that's not working, because I just tried 3 random MySpace Videos and they all embedded fine for me.

Kinneas 07-14-2008 01:45 PM

Thanks DJ, you're a star!

Digital Jedi 07-14-2008 02:05 PM

Your welcome. ;)

Digital Jedi 07-14-2008 02:39 PM

Quote:

Originally Posted by nautiboy (Post 1566522)
First, thanks for this! It's very cool.

Second, has anyone already figured out how to get it to work with videos that are hosted with gallery2? I use gallery2 on my site to host the videos so I'd like to be able to embed them in the forum posts too.

You need to actually parse the gallery page to get to the actual content. You can see an example if you go to this video on my site:

http://www.baue.org/images/galleries...3Edge.mov.html

Obviously one other thing that needs to be fixed is to search for .mov.html (or wmv.html), but that's pretty easy. The harder part is parsing the page to figure out that the actual video is http://www.baue.org/images/galleries...2-4/E3Edge.mov.

It would be even cooler if you could also parse the actual width and height, but I don't think you specify that dynamically with AME, can you?

Nauitboy, don't think I forgot you, but I ... well, okay I kind of did forget you. But forgive my oldtimer's disease just this once, as I did find a solution to your problem, I just completely forget to mention it after I made this new round of defs.

It's actually quite simple. If you don't' already have the locally hosted definitions, or don't have the updated ones I just released, go ahead and add them, remembering to delete any duplications.

As you import them, add your forum name to the two pertinent locations, and at the very end of the Regular expression add this:

HTML Code:

[\.html]*
That will make it to where it won't matter if you post a video from your Gallery, or post one from it's file location, it will still embed.

AndyA 07-14-2008 08:03 PM

Quote:

Originally Posted by Digital Jedi (Post 1574656)
Heh, that's because in the short time I made the Vreel definition and the time I release it, they went and changed the embed code structure on me. It's completely different now. Try this one. It should work for you.

What a star, works like a charm. Thank you. :up:

Burley 07-14-2008 10:45 PM

You were right.

Sorry to bother you with the brightcove thing again, but I still can't get the brightcove video's to work;
Below is the link I got from paintballstar.com

Code:

http://link.brightcove.com/services/link/bcpid1126114367/bclid1133242044/bctid1636622561
On my forum, it just shows the link, nothing more.

KingPin6 07-14-2008 11:58 PM

I am having a problem with importing the master.xml , when i import it in the preview it shows all the ones listed in the file, but when I finish and view the display it only shows a few have actually been imported.

VB 3.7.2
linux / apache

Digital Jedi 07-15-2008 02:13 AM

Quote:

Originally Posted by Burley (Post 1575466)
You were right.

Sorry to bother you with the brightcove thing again, but I still can't get the brightcove video's to work;
Below is the link I got from paintballstar.com

Code:

http://link.brightcove.com/services/link/bcpid1126114367/bclid1133242044/bctid1636622561
On my forum, it just shows the link, nothing more.

Is that some sort of playlist or player?

AME converts media based on the URL of a page. It isn't, say, guessing or scanning any Brightcove page and converting any media that happens to be there. The definition has to tell it what specfic URL structure to look for, and then specifically what lines of code to look for at that URL. If you post a differently structured URL or the lines of code are nowhere to be found on the page, then AME ignores it.

In this case, this player's URL is nothing like the standard Brightcove URL structure. It will only convert a URL that looks similar to this: http://www.brightcove.tv/title.jsp?t...nel=1184524476, the standard type of page a video is found on. Once it recognizes the URL it will scan the page for the corresponding RegEx patters found in the definition. Anything beginning with http://link.brightcove.com isn't part of that structure and will be ignored.

If you can direct me to where players are made, I can see if I can make a definition for them. I can't guarantee it, but I will look at it. In some cases, like in the case of the YouTube Custom Player, it isn't possible because there's no relevant code to reference.


Quote:

Originally Posted by KingPin6 (Post 1575516)
I am having a problem with importing the master.xml , when i import it in the preview it shows all the ones listed in the file, but when I finish and view the display it only shows a few have actually been imported.

VB 3.7.2
linux / apache

I've never seen that happen before and I can't image what would cause it. Perhaps the server has some sort of limitation on it? Worst comes to worst you could import them all individually. What I would first do is reinstall AME (don't uninstall it) by re-importing the AME product with it set to overwrite. What will happen is the default definitions will reappear and you can delete those and try reimporting the Master XML. I can't guarantee it will work because, as I said, I've never seen it happen before, but that would be the first thing I would try. And, of course, be sure to back up your database first just in case.

Oh, and perhaps even more basic, when you imported the definitions, where all of them set to Yes?

SBlueman 07-15-2008 06:08 AM

Daily Motion is not working for me either:

http://gridironfans.com/forums/showthread.php?t=63848

When I post this:
PHP Code:

[url]http://www.dailymotion.com/video/x245ln_ric-flair-vs-ricky-steamboat-wrestl_sport[/url]

[url]http://www.dailymotion.com/related/x245ln/video/x246so_ric-flair-vs-ricky-steamboat-wrestl_sport[/url] 

It's converting it to this:
PHP Code:

[url="http://www.dailymotion.com/video/x245ln_ric-flair-vs-ricky-steamboat-wrestl_sport"]Video Ric Flair vs Ricky Steamboat (WrestleWar 89 Part One) - ricflairrickysteamboatwrestlewar Dailymotion Share Your Videos[/url]

[
url="http://www.dailymotion.com/related/x245ln/video/x246so_ric-flair-vs-ricky-steamboat-wrestl_sport"]Video Ric Flair vs Ricky Steamboat (WrestleWar 89 Part Two) - ricflairrickysteamboattwo Dailymotion Share Your Videos[/url

And no video is showing....

Burley 07-15-2008 06:18 AM

Quote:

Originally Posted by Digital Jedi (Post 1575572)
Is that some sort of playlist or player?

AME converts media based on the URL of a page. It isn't, say, guessing or scanning any Brightcove page and converting any media that happens to be there. The definition has to tell it what specfic URL structure to look for, and then specifically what lines of code to look for at that URL. If you post a differently structured URL or the lines of code are nowhere to be found on the page, then AME ignores it.

In this case, this player's URL is nothing like the standard Brightcove URL structure. It will only convert a URL that looks similar to this: http://www.brightcove.tv/title.jsp?t...nel=1184524476, the standard type of page a video is found on. Once it recognizes the URL it will scan the page for the corresponding RegEx patters found in the definition. Anything beginning with http://link.brightcove.com isn't part of that structure and will be ignored.

If you can direct me to where players are made, I can see if I can make a definition for them. I can't guarantee it, but I will look at it. In some cases, like in the case of the YouTube Custom Player, it isn't possible because there's no relevant code to reference.


Checkout this page. A litle above the middle of the page is the videoscreen.

Digital Jedi 07-15-2008 06:29 AM

Quote:

Originally Posted by SBlueman (Post 1575668)
Daily Motion is not working for me either:

http://gridironfans.com/forums/showthread.php?t=63848

When I post this:
PHP Code:

[url]http://www.dailymotion.com/video/x245ln_ric-flair-vs-ricky-steamboat-wrestl_sport[/url]
 
[url]http://www.dailymotion.com/related/x245ln/video/x246so_ric-flair-vs-ricky-steamboat-wrestl_sport[/url] 

It's converting it to this:
PHP Code:

[url="http://www.dailymotion.com/video/x245ln_ric-flair-vs-ricky-steamboat-wrestl_sport"]Video Ric Flair vs Ricky Steamboat (WrestleWar 89 Part One) - ricflairrickysteamboatwrestlewar Dailymotion Share Your Videos[/url]
 
[
url="http://www.dailymotion.com/related/x245ln/video/x246so_ric-flair-vs-ricky-steamboat-wrestl_sport"]Video Ric Flair vs Ricky Steamboat (WrestleWar 89 Part Two) - ricflairrickysteamboattwo Dailymotion Share Your Videos[/url

And no video is showing....

It's supposed to covert to link tags. The problem is your not getting any video data. Are you sure your using the RegEx from this thread, because I got both videos to embed on my site? Let me see your RegEx for Daily Motion.

Digital Jedi 07-15-2008 06:33 AM

Quote:

Originally Posted by Burley (Post 1575671)
Checkout this page. A litle above the middle of the page is the videoscreen.

I'll look into it and see what I can do.

Digital Jedi 07-15-2008 06:37 AM

Quote:

Originally Posted by SBlueman (Post 1575668)
Daily Motion is not working for me either:

http://gridironfans.com/forums/showthread.php?t=63848

When I post this:
PHP Code:

[url]http://www.dailymotion.com/video/x245ln_ric-flair-vs-ricky-steamboat-wrestl_sport[/url]
 
[url]http://www.dailymotion.com/related/x245ln/video/x246so_ric-flair-vs-ricky-steamboat-wrestl_sport[/url] 

It's converting it to this:
PHP Code:

[url="http://www.dailymotion.com/video/x245ln_ric-flair-vs-ricky-steamboat-wrestl_sport"]Video Ric Flair vs Ricky Steamboat (WrestleWar 89 Part One) - ricflairrickysteamboatwrestlewar Dailymotion Share Your Videos[/url]
 
[
url="http://www.dailymotion.com/related/x245ln/video/x246so_ric-flair-vs-ricky-steamboat-wrestl_sport"]Video Ric Flair vs Ricky Steamboat (WrestleWar 89 Part Two) - ricflairrickysteamboattwo Dailymotion Share Your Videos[/url

And no video is showing....


I just thought of something. Is Extract destination data set to Yes in the Daily Motion definition AND under Settings?

SBlueman 07-15-2008 07:03 AM

This is the regular expression I have for Daily Motion:
Code:

http://www\.dailymotion\.com/[video|visited|related]+[\w/%-]+
And the replacement code:
Code:

<object width="420" height="336"><param name="movie" value="http://www.dailymotion.com/swf/$p1"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.dailymotion.com/swf/$p1" type="application/x-shockwave-flash" width="420" height="336" allowFullScreen="true" allowScriptAccess="always"></embed></object>

SBlueman 07-15-2008 07:06 AM

As far as the extract info you are asking....I don't know? This is what I see:

https://vborg.vbsupport.ru/

Digital Jedi 07-15-2008 01:39 PM

Quote:

Originally Posted by SBlueman (Post 1575699)
As far as the extract info you are asking....I don't know? This is what I see:

http://img205.imageshack.us/img205/3...tionqt0.th.jpg

Go to your AME Settings and turn Extract destination data to Yes. You don't appear to have it turned on. Then go back to the Daily Motion definition specifically and make sure its Extract Destination Data setting is also set to Yes. About two thirds of your definitions won't work without this setting turned on.

SBlueman 07-16-2008 03:11 AM

I am not finding "Extract Destination Data" anywhere....am I missing something?

Digital Jedi 07-16-2008 04:05 AM

Admin CP >>> AME CP >>> Settings >>> Extract destination data.

SBlueman 07-16-2008 04:36 AM

Got it, thanks!

yahoooh 07-16-2008 08:54 AM

how to make the main hack work with vblog 1.0.5??
it is not working

vithorius 07-16-2008 12:03 PM

Dear DJ, how does it works with imeem.com? (music)


I already imported the XML and I'm trying to make it work, but I just don't seem to get it... It does not works...

I would like to make it work with music only (not videos nor playlists)


What is the URL that I must use?



Thank you very much. :up:

MadK 07-16-2008 06:09 PM

Hey, just want to tell you that Gametrailers is not exactly working very well:

http://forum.mafia-mp.com/showpost.p...&postcount=147

Stryker412 07-17-2008 12:45 AM

Gametrailers works fine on my site.

The Yahoo .xml is missing from the zip file though DJ.

Digital Jedi 07-17-2008 01:06 PM

Quote:

Originally Posted by vithorius (Post 1576755)
Dear DJ, how does it works with imeem.com? (music)


I already imported the XML and I'm trying to make it work, but I just don't seem to get it... It does not works...

I would like to make it work with music only (not videos nor playlists)


What is the URL that I must use?



Thank you very much. :up:

Well, presuming you imported the Imeen (Music) definition, when you see a song you like, post the link to the song just like you would ordinarily and AME should convert it to a player.

If it's not working for you then you need to link me to the post where your having the problem, otherwise I don't know what to look for.



Quote:

Originally Posted by MadK (Post 1577074)
Hey, just want to tell you that Gametrailers is not exactly working very well:

http://forum.mafia-mp.com/showpost.p...&postcount=147

They changed their emebd code slightly. I'll try and fix up a new definition tonight. If some videos are working though, that may mean that I'll need to look at it more closely, just in case they have some variations in the code structures. But I'll try to finish it tonight it's not too involved.



Quote:

Originally Posted by Stryker412 (Post 1577322)
Gametrailers works fine on my site.

The Yahoo .xml is missing from the zip file though DJ.

The Master ZIP file? That's odd. I've been using the same ZIP file since the beginning and just adding files to it. I may need to fix up a new one anyway. I think it may have some duplicates.

cherylferraro 07-17-2008 01:45 PM

Has anyone authored a way to embed jibjab.com videos?

Stryker412 07-17-2008 04:42 PM

I've been posting tons of Game trailers videos this week on my forums due to E3, are you trying to post the HD ones?

Here's an example:

http://www.shatteredplanet.org/forum...read.php?t=724

Digital Jedi 07-17-2008 09:21 PM

Quote:

Originally Posted by cherylferraro (Post 1577723)
Has anyone authored a way to embed jibjab.com videos?

As a matter of fact, I started working on JibJab just after I posted the last update, right as they shut the site down to put up that "It's Time For Some Campaignin''" video. I'm not sure I can make it work though, because there's an issue with some of their embed code being just a little different depending on whether it's an Original, an Archive or if it has the new closed caption feature or not. But, it's still early yet.

Blacura 07-19-2008 12:01 AM

Having trouble with links. nothing works when i post it all i see is a link
tell me what i can do

login/password = Test/test
http://www.ladiesletsride.com

Digital Jedi 07-19-2008 01:46 AM

Quote:

Originally Posted by Blacura (Post 1578744)
Having trouble with links. nothing works when i post it all i see is a link
tell me what i can do

login/password = Test/test
http://www.ladiesletsride.com

It would help me out a lot if you could link me to the actual thread(s) where the videos are not converting.

MadK, sorry about that definition. Time got away from me. I'll work on it ....er, this weekend

Blacura 07-19-2008 01:57 AM

thi is what i am trying to sat. they wont convert when i try and post anything and they use to work before


All times are GMT. The time now is 04:49 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.02016 seconds
  • Memory Usage 1,885KB
  • 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
  • (6)bbcode_code_printable
  • (1)bbcode_html_printable
  • (6)bbcode_php_printable
  • (22)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