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)

kevcj 10-31-2008 02:27 AM

Quote:

Originally Posted by archonus (Post 1656390)

You have a definition installed twice, disable one of them.

clubbah 10-31-2008 12:41 PM

Anyone able to put together one for the Toronto Sun website? Here's an example:

http://www.torontosun.com/video/

Much, much appreciated if this is possible! :)

Darwa 10-31-2008 02:57 PM

Please add heavy.com to your list of websites to integrate :)

ZenMastr1968 10-31-2008 03:00 PM

I'm no expert on these defs, but I think IGN has changed their link style. I'm pretty sure they were working before, but now the link gets embedded and the header is the correct link,but the video is either non-existent or points to the wrong place. I'll look at the def and see if I can come up with a workaround and post it for review....

EDIT:
Well upon further review, it looks like they've started mixing their embedding styles... Here is the link I'm working with:

http://xbox360.ign.com/dor/articles/...st_102908.html

By looking at the IGN def it looks like it is looking for an object_ID code in the source html file, which for this particular page, there isn't one... I've tried embedding other videos from this site and it works fine. In this particular page, they have this javascript code in the header
Code:

<script>
        var vp_lowResFlash = 'xbox360movies.ign.com/xbox360/video/article/924/924651/xbox_exp_noisetest_102908_flvlowwide.flv';
        var vp_lowResFlashWidth = 320;
        var vp_hiResFlash = 'xbox360movies.ign.com/xbox360/video/article/924/924651/xbox_exp_noisetest_102908_flvhighwide.flv';
        var vp_hiResFlashHeight = 360;
    var mediaIdHash = new Object();
   
        mediaIdHash["http://streamingmovies.ign.com/xbox360/article/924/924651/xbox_exp_noisetest_102908_wmvhd.wmv"] = 2626771;
   
        mediaIdHash["http://streamingmovies.ign.com/xbox360/article/924/924651/xbox_exp_noisetest_102908_wmvhighwide.wmv"] = 2626773;
   
        mediaIdHash["http://xbox360movies.ign.com/xbox360/video/article/924/924651/xbox_exp_noisetest_102908_flvhighwide.flv"] = 2626777;
   
        mediaIdHash["http://xbox360movies.ign.com/xbox360/video/article/924/924651/xbox_exp_noisetest_102908_flvlowwide.flv"] = 2626778;
   
        mediaIdHash["http://xbox360movies.ign.com/xbox360/video/article/924/924651/xbox_exp_noisetest_102908_qthighwide.mov"] = 2626787;
   
        mediaIdHash["http://xbox360movies.ign.com/xbox360/video/article/924/924651/xbox_exp_noisetest_102908_qtlowwide.mov"] = 2626794;
   
    </script>

Which is different than other pages on their site.... so I assume this means IGN is on it's way off the list????

Digital Jedi 11-01-2008 04:49 AM

Quote:

Originally Posted by ZenMastr1968 (Post 1656674)
I'm no expert on these defs, but I think IGN has changed their link style. I'm pretty sure they were working before, but now the link gets embedded and the header is the correct link,but the video is either non-existent or points to the wrong place. I'll look at the def and see if I can come up with a workaround and post it for review....

EDIT:
Well upon further review, it looks like they've started mixing their embedding styles... Here is the link I'm working with:

http://xbox360.ign.com/dor/articles/...st_102908.html

By looking at the IGN def it looks like it is looking for an object_ID code in the source html file, which for this particular page, there isn't one... I've tried embedding other videos from this site and it works fine. In this particular page, they have this javascript code in the header
Code:

<script>
    var vp_lowResFlash = 'xbox360movies.ign.com/xbox360/video/article/924/924651/xbox_exp_noisetest_102908_flvlowwide.flv';
    var vp_lowResFlashWidth = 320;
    var vp_hiResFlash = 'xbox360movies.ign.com/xbox360/video/article/924/924651/xbox_exp_noisetest_102908_flvhighwide.flv';
    var vp_hiResFlashHeight = 360;
    var mediaIdHash = new Object();
 
        mediaIdHash["http://streamingmovies.ign.com/xbox360/article/924/924651/xbox_exp_noisetest_102908_wmvhd.wmv"] = 2626771;
 
        mediaIdHash["http://streamingmovies.ign.com/xbox360/article/924/924651/xbox_exp_noisetest_102908_wmvhighwide.wmv"] = 2626773;
 
        mediaIdHash["http://xbox360movies.ign.com/xbox360/video/article/924/924651/xbox_exp_noisetest_102908_flvhighwide.flv"] = 2626777;
 
        mediaIdHash["http://xbox360movies.ign.com/xbox360/video/article/924/924651/xbox_exp_noisetest_102908_flvlowwide.flv"] = 2626778;
 
        mediaIdHash["http://xbox360movies.ign.com/xbox360/video/article/924/924651/xbox_exp_noisetest_102908_qthighwide.mov"] = 2626787;
 
        mediaIdHash["http://xbox360movies.ign.com/xbox360/video/article/924/924651/xbox_exp_noisetest_102908_qtlowwide.mov"] = 2626794;
 
    </script>

Which is different than other pages on their site.... so I assume this means IGN is on it's way off the list????

No, it will just need to account for object or article, which are the two different type of video IDs. I have a fix for next update.

backgroundguy 11-01-2008 12:28 PM

Is there a way to embed videos that are hosted at www.screencast.com? Thanks.

archonus 11-01-2008 06:46 PM

Quote:

Originally Posted by kevcj (Post 1656398)
You have a definition installed twice, disable one of them.

only have one installation.

ZomgStuff 11-02-2008 04:33 AM

How about adding the new MTV Music website?

http://www.mtvmusic.com

Digital Jedi 11-02-2008 07:43 AM

Quote:

Originally Posted by backgroundguy (Post 1657081)
Is there a way to embed videos that are hosted at www.screencast.com? Thanks.

I've been looking into Screencast, but I'm troubled by how useful it would be, as I would only be able to support one media type, and I see the site uses multiple with now way to make AME tell which is which.


Quote:

Originally Posted by archonus (Post 1657331)
only have one installation.

That's definitely what happens when you have two YouTube definitions installed.


Quote:

Originally Posted by ZomgStuff (Post 1657654)
How about adding the new MTV Music website?

http://www.mtvmusic.com

If they don't block all they're worthwhile embeds, I'll be happy to add it.



Those of you who made other requests, I will look them over too.

Digital Jedi 11-02-2008 10:38 PM

Okay, let me get around to addressing these. I'm afraid we have a few problems with some of the requested sites.

Quote:

Originally Posted by clubbah (Post 1656594)
Anyone able to put together one for the Toronto Sun website? Here's an example:

http://www.torontosun.com/video/

Much, much appreciated if this is possible! :)

They would have worked fine, but they don't offer any kind of permalink. So there's no way to even link back to a video. That's odd for a site to not offer direct links to their videos. (CNN notwithstanding)


Quote:

Originally Posted by ShiZoPhreN (Post 1650977)
any1 have the xml for www.zipd.eu

Link for divx
http://zipd.eu/zVMBD4721S6r3.divx

and .avi is avi :)

Please Help! Thanks

I'm a little upset with this site. They kind of tricked me. I spent quite a bit of time sorting out the peculiarities in their URL/Embed strings, and finally worked it out, only to find the <iframe> they use for their so called embeds is just a picture of a DIVX player that links to the page the video is on. They are essentially lying that they supply embed code, so I'm none to happy with them right now.

Don't worry. I'll get back to them after I've had a chance to cool off. :mad: :rolleyes:



Quote:

Originally Posted by furst (Post 1653476)

I can support the auto conversion so that links like that will convert to a player, but I do not know how to make the embed behave this way. I suspect it's a bit of javascript built into the YouTube site.


Quote:

Originally Posted by kevcj (Post 1645193)
Can someone make an XML file, or tell me how to embed videos from http://www.apacheclips.com

:)

I have one which I'll post shortly, but it will only support media that's actually hosted on Apache Clips. Not anything hosted on another site like YouTube are anything like that.

Quote:

Originally Posted by silverado350 (Post 1637769)
Here you go. Maybe you can make one for the music too??
http://www.extremewatercross.net

The problem here is merely the lack of an embed code. Keep an eye out to see if they change this and let me know here.

Quote:

Originally Posted by katie hunter (Post 1640530)
Hi DJ,
Do you think u can embed this site videos ?

http://www.manga.com/channels/scream

And the problem here is also the lack of permalinks for vids. Everything is located on channel pages, but there's no way to extract unique video IDs.


All times are GMT. The time now is 06:18 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.01485 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
  • (12)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