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 06-13-2008 07:43 PM

Quote:

Originally Posted by Digital Jedi (Post 1548662)
Did you remember to refresh your Admin CP after importing the product?

Hey, gang, sorry this is taken so long. This is going to take me longer then expected. I have a great deal of work backed up, not the least of which is getting my forum upgraded. Don't worry, I will return with updates.

Digital Jedi 06-13-2008 07:46 PM

Quote:

Originally Posted by schlottkej (Post 1545479)
What would the settings be for this URL:

http://wrestling.flocasts.org/videos...aev-v-lachinov



and if you're really feeling helpful:

http://wrestling.flocasts.org/videos/speaker/159
http://wrestling.flocasts.org/videos/play/65595


They are all done a bit differently.

They don't look too different to me. Only one RegEx should be required. I will add it to the list of updates, just bear with me, as I mentioned in a previous post, I'm way behind on a lot of things.

schlottkej 06-14-2008 06:02 PM

If you can give me a few basic details on how they all work, I'd be happy to help you. I haven't found much in terms of documentation on the RegEx.

This FloCasts video feed with also allow anyone to post their track and swimming videos (swimming.flocasts.org, track.flocasts.org) so we probably want to write it for any number of sub domains.

Anyhow, I look forward to seeing what you come up with.

kansei 06-16-2008 12:43 AM

Any interest in getting this working with Flickr?

a stumbling block I see immediately is that a link to a flickr video looks just like a link to a flickr photo (says "photos" in the url and everything). I also don't see a link between the number in the URL and in the embedded flash on the resulting page.

oz_moses 06-16-2008 12:14 PM

G'Day DJ, thanks heaps for the extra definitions here.

I've been trying in vain to get the blip.tv to work to this movie I uploaded today of our new kittens ;)

It does embed a blip.tv movie, and the "Blip (Permalink)" link in the header goes to the correct blip.tv video, however the embedded movie is a different one altogether!

Cheers for any assistance, Moses.

Digital Jedi 06-21-2008 12:07 AM

Quote:

Originally Posted by schlottkej (Post 1549347)
If you can give me a few basic details on how they all work, I'd be happy to help you. I haven't found much in terms of documentation on the RegEx.

This FloCasts video feed with also allow anyone to post their track and swimming videos (swimming.flocasts.org, track.flocasts.org) so we probably want to write it for any number of sub domains.

Anyhow, I look forward to seeing what you come up with.

Take a look at the second and third post of this thread. I posted a bunch of resources therer you can use if your interested in learning this stuff the way I did.


Quote:

Originally Posted by kansei (Post 1550434)
Any interest in getting this working with Flickr?

a stumbling block I see immediately is that a link to a flickr video looks just like a link to a flickr photo (says "photos" in the url and everything). I also don't see a link between the number in the URL and in the embedded flash on the resulting page.

I can't remember what happened the last time I tried Flickr, but I suspect it was as you said, with the Image and Video URLs being identical. I'll look at it again.



Quote:

Originally Posted by oz_moses (Post 1550758)
G'Day DJ, thanks heaps for the extra definitions here.

I've been trying in vain to get the blip.tv to work to this movie I uploaded today of our new kittens ;)

It does embed a blip.tv movie, and the "Blip (Permalink)" link in the header goes to the correct blip.tv video, however the embedded movie is a different one altogether!

Cheers for any assistance, Moses.

It's loaded the right one on my site. Try removing the Blip regex and reimporting it.


***Yikes! This backup list is getting bigger and bigger. :eek:***

diettalk 06-24-2008 10:37 AM

CNN video?

Digital Jedi 06-24-2008 08:45 PM

Quote:

Originally Posted by diettalk (Post 1557669)
CNN video?

Nope, but only because CNN has no embed capability.

Burley 06-28-2008 02:59 PM

Great add-on!! I installed it inmediately!

But I have one question/issue with the brightcove code
As you said the websites regularly change the code, and brightcove did, sadly I'm not able to produce the correct string for AME to work with this video.
Can you please be of some assistance?

This is the code from your XML file:
Code:

[http://]*[a-z]*?[\.]?brightcove\.tv/title\.jsp\?title=([\w&;=]+)
And this is the code brightcove currently uses;
Code:

http://link.brightcove.com/services/link/bcpid1126114367/bclid1133242044/bctid1551027742

I tried to edit it and came up with this;
Code:

[http://]*[a-z]*?[\.]?brightcove\.com/services/link/bcpid*[0-9]*?/bclid*[0-9]*?/bctid*[0-9]*?/
but it's not working :)

Digital Jedi 06-29-2008 03:24 AM

Mm, I'm not at home at the moment, so I can't check the RegEx for sure until Monday at the earliest. But at first glance, I'd say its' because you don't have a grouping for the $p1, etc. in the embed code to reference. I can't quite remember if BrightCove refrences the URL or if it has to use the alternate RegEx group, but the meat and potatoes of the video (meaning the actual source location of where the video is physically stored on their server) needs to be referenced from either a group in the URL (which referes to characters wrapped in parenthesis in the RegEx code) or a group in the Optional RegEx code (a set of chracters wrapped in parenthesis in the option regex group). You have no groupings in your RegEx, so that might be the problem.


All times are GMT. The time now is 05:03 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.01562 seconds
  • Memory Usage 1,751KB
  • 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
  • (3)bbcode_code_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