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)

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.


All times are GMT. The time now is 03:02 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.03801 seconds
  • Memory Usage 1,767KB
  • 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_code_printable
  • (1)bbcode_html_printable
  • (2)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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