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 11-02-2008 11:14 PM

***UPDATES***

I don't even have the time (and more honestly, the memory) to tell you what all is included in this update. It's a lot. Both new and remade definitions. I'll list them all here, but I won't be able to do my usual detailed explanation of what's what, mainly because I've been working in it so long, I kind of forget what all I changed site by site. Also, there was no point making you update a bunch of seperate XLMs, so your getting a brand new Master XML file. It's not completely redone, as I've only gotten about halfway through the full list, but it's just too large a list of updates to make you import one at a time, so the most sensible thing would be to have you start fresh. Export any custom definitions you want to keep, and delete everything else to import these.

On the other hand, for Local Hosted definitions, I only revamped one, and made another. So there's no need to delete all your Local Hosted if you don't have to. Just delete MP3 to import these and do the proper edits.


And here's the list. I hope you enjoy.

Local Hosted
MP3 Audio
PDF Documents


Master XML
220
2K Sports (Part 1)
2K Sports (Part 2)
Amazon (aStore)
Amazon (Thumbnails)
AOL Video
Apache Clips
Atom
Bebo (Sponsored Content)
BikerPunks
Blip (Permalink)
Blip (Show Pages)
BooMP3
Break
CafePress (Thumbnails)
Carpix (Categories)
Carpix (Live)
ClipShare Demo
Comedy Central Videos
Crackle (Part 1)
Crackle (Part 2)
Crave Online
Current
Daily HaHa (Flash Games)
Daily HaHa (Funny Pictures)
Daily Motion (Playlists)
Diesel Bombers
Dorks
eBaums World (Audio)
eBaums World (Videos)
eSnips (Music)
eSnips (Videos)
FloTrack
Fox News
GameSpot (Part 1)
GameSpot (Part 2)
Giant Bomb
GoEar
IGN
iKlipz
Jiwa
Leet Clips
LiveLeak
Motionbox (HD & SD Videos)
MotorsportsMad
MTV Music
MyModelTalk
MyVideo.De
Photography Mentor (Formerly CutFrameTV)
Raw Vegas
RuTube
ShadowSpear (Audio)
ShadowSpear (Videos)
South Park (Clips)
Speedaholic
The Colbert Report (Clips)
The Daily Show (Clips)
The WB
US Soccer (Podcasts)
US Soccer (Studio 90)
US Soccer (Video Network)
Ustream (Recorded)
Video.Mail.Ru
UOL Videolog
Xfire
YouTube

Digital Jedi 11-02-2008 11:28 PM

Quote:

Originally Posted by schlottkej (Post 1607374)
FloTrack.org variation attached

Quote:

Originally Posted by testebr (Post 1611074)
Here is my contribution to the site Xfire.com. I do not have much experience with regex, but I believe that Digital Jedi will update my code if necessary before add to the official list.

Quote:

Originally Posted by Vitaly (Post 1614164)
rutube.ru
video.mail.ru

Please, add to common pack.

If I forgot to add anyone to the co-creators list, let me know.

furst 11-03-2008 12:54 AM

Quote:

Originally Posted by Digital Jedi (Post 1658169)
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.

Ah, yes... I just read somewhere that the deep linking feature is not yet available for embeds.

TMH63 11-03-2008 01:09 AM

I'm sure it's nice to have the added work you've done to the master list, but it would be handy to have the added work saved to it's own xml for install. ;)

I tried uploading the new master list xml, deselected all of which I have installed already because the duplicate code thing....but it still tells me that I have duplicate codes found and won't continue. Not sure what I'm not doing or doing wrong.

Digital Jedi 11-03-2008 02:45 AM

Quote:

Originally Posted by TMH63 (Post 1658237)
I'm sure it's nice to have the added work you've done to the master list, but it would be handy to have the added work saved to it's own xml for install. ;)

I tried uploading the new master list xml, deselected all of which I have installed already because the duplicate code thing....but it still tells me that I have duplicate codes found and won't continue. Not sure what I'm not doing or doing wrong.

That's a preventive measure in AME 2.0+ to keep you from importing duplicate definitions. I didn't think there was a way to "deselect" definitions during import. You have to delete all your existing definitions, with maybe the exception of Local Hosted, and import the new one.

Note that I've dropped support for LongIslandOnline.

carlos54321 11-03-2008 06:02 AM

Thankyou :)

ShiZoPhreN 11-03-2008 06:27 AM

Thanks :)

but no http://zipd.de/ :( thats bad..

tekguru 11-03-2008 06:57 AM

Cheers for the update, appreciated!

Nikoo 11-03-2008 11:30 AM

What about raw vegas?

Lizard King 11-03-2008 02:19 PM

For daily motion video's i am getting the following error. Does anyone have any idea what may cause this

HTML Code:

Warning: Missing argument 6 for ame_match(), called in [path]/includes/ame_bbcode.php(323) : regexp code on line 1 and defined in [path]/includes/ame_bbcode.php on line 442

Warning: preg_match() expects parameter 1 to be string, array given in [path]/includes/ame_bbcode.php on line 670


TMH63 11-03-2008 03:01 PM

Quote:

Originally Posted by Digital Jedi (Post 1658276)
That's a preventive measure in AME 2.0+ to keep you from importing duplicate definitions. I didn't think there was a way to "deselect" definitions during import. You have to delete all your existing definitions, with maybe the exception of Local Hosted, and import the new one.

Note that I've dropped support for LongIslandOnline.



When you upload the new xml, you have the option of deselecting "yes" to import through each and every definition. But apparently it doesn't like you doing that as it still won't accept those parameters.

Digital Jedi 11-03-2008 03:14 PM

Quote:

Originally Posted by Nikoo (Post 1658498)
What about raw vegas?

Raw Vegas should be working. Remember, in my notes I mentioned that Raw Vegas uses Javascript to generate their player, and the inline AJAX elements of vB don't like external Javascript. The video will still show to anyone loading the page, but on the initial Quick Reply/Quick Edit, you won't see anything until you refresh the page.


Quote:

Originally Posted by Lizard King (Post 1658576)
For daily motion video's i am getting the following error. Does anyone have any idea what may cause this

HTML Code:

Warning: Missing argument 6 for ame_match(), called in [path]/includes/ame_bbcode.php(323) : regexp code on line 1 and defined in [path]/includes/ame_bbcode.php on line 442
 
Warning: preg_match() expects parameter 1 to be string, array given in [path]/includes/ame_bbcode.php on line 670


Are using AME 2.5 BETA or 2.0?



Quote:

Originally Posted by TMH63 (Post 1658610)
When you upload the new xml, you have the option of deselecting "yes" to import through each and every definition. But apparently it doesn't like you doing that as it still won't accept those parameters.

Which definitions have you decided you don't want to delete. It's possible you still have some duplicate definitions.

TMH63 11-03-2008 04:14 PM

Quote:

Originally Posted by Digital Jedi (Post 1658628)


Which definitions have you decided you don't want to delete. It's possible you still have some duplicate definitions.


I just went the route of deselecting every definition of the ones I already have and wanted to upload the new definitions that make up the xml file. I haven't went the route of deleting all definitions and re-installing the new xml yet.

skcyber 11-03-2008 04:54 PM

thanks a lot !! ;)

Digital Jedi 11-03-2008 04:57 PM

Quote:

Originally Posted by TMH63 (Post 1658671)
I just went the route of deselecting every definition of the ones I already have and wanted to upload the new definitions that make up the xml file. I haven't went the route of deleting all definitions and re-installing the new xml yet.

If you haven't made any crucial edits to your existing definitions, then the best thing would be to just delete them all and import the new Master. Just picking the ones you have will mean you'll miss out on a large number of definitions that I had to completely redo because the sites changed their embed code and/or URL structure. Some definitions have been split into two definitions and some have been changed completely due to domain name changes.

Digital Jedi 11-03-2008 04:59 PM

Quote:

Originally Posted by skcyber (Post 1658714)
there is no Jiwa xml on the main zip ... :(

No, as I said, I didn't add anything to the Main ZIP. I'll do individual XML inclusions a little bit later, but I have some other things to catch up on for the moment. If you have all sites installed anyway, the best thing to do is delete all and import the Master.

TMH63 11-03-2008 05:17 PM

Quote:

Originally Posted by Digital Jedi (Post 1658716)
If you haven't made any crucial edits to your existing definitions, then the best thing would be to just delete them all and import the new Master. Just picking the ones you have will mean you'll miss out on a large number of definitions that I had to completely redo because the sites changed their embed code and/or URL structure. Some definitions have been split into two definitions and some have been changed completely due to domain name changes.


Deleted old definitions and reinstalled new. Worked like a champ!


Thanks.

Rideharder 11-03-2008 05:52 PM

Love this mod .. Can some one show me how to make a Media Definition for my site http://www.561palmbeach.com/ Please ....newbie

my forum www.speedaholic.net

Video
http://www.561palmbeach.com/video/5/...m-R1-Test-Ride

Rideharder 11-03-2008 06:30 PM

Its not working I tryed this..


<?xml version="1.0" encoding="ISO-8859-1"?>

<AME>
<item>
<id>146</id>
<title>ClipShare Demo</title>
<description>Embed 561palmbeach.com Videos!</description>
<displayorder>1</displayorder>
<findcode><![CDATA[http://www\.561palmbeach\.com/view_video\.php\?viewkey=[\w]+[\w&;=]*]]></findcode>
<replacecode><![CDATA[<object type="application/x-shockwave-flash" width="320" height="260"wmode="transparent" data="http://www.561palmbeach.com/flvplayer.swf?file=http://561palmbeach.com/flvideo/$p1.flv&autostart=false&showfsbutton=true">
<param name="movie" value="http://www.561palmbeach.com/flvplayer.swf?file=http://www.561palmbeach.com/flvideo/$p1.flv&autostart=false&showfsbutton=true" />
<param name="wmode" value="transparent" />
<param name="allowScriptAccess" value="sameDomain" />
<embed src="http://www.561palmbeach.com/flvplayer.swf?file=http://www.561palmbeach.com/flvideo/$p1.flv&autostart=false&showfsbutton=true" loop="False" width="320" height="260" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</embed>
</object>]]></replacecode>
<status>1</status>
<container>1</container>
<embedregexp><![CDATA[http://www\.561palmbeach.com/flvideo/([\w]+)\.flv]]></embedregexp>
<extraction>1</extraction>
<gdef>0</gdef>
</item>
</AME>

Lizard King 11-03-2008 07:01 PM

Quote:

Originally Posted by Digital Jedi (Post 1658628)
Are using AME 2.5 BETA or 2.0?

2.5 beta , file cache is on , Extract destination data is on ,

Daily motion regex is
Code:

http://[w\.]*dailymotion\.[com|alicet\.]+/[\w/\-]*video/[\w\-]+
Extract destination data is
Code:

http://[w\.]*dailymotion\.[com|alicet\.]+/swf/([\w]*)

Digital Jedi 11-03-2008 08:05 PM

Quote:

Originally Posted by Lizard King (Post 1658802)
2.5 beta , file cache is on , Extract destination data is on ,

Daily motion regex is
Code:

http://[w\.]*dailymotion\.[com|alicet\.]+/[\w/\-]*video/[\w\-]+
Extract destination data is
Code:

http://[w\.]*dailymotion\.[com|alicet\.]+/swf/([\w]*)

Sounds like a bug in 2.5, as the definition wouldn't be causing this on it's own.


Quote:

Originally Posted by Rideharder (Post 1658777)
Its not working I tryed this..


Code:


<?xml version="1.0" encoding="ISO-8859-1"?>
 
<AME>
    <item>
        <id>146</id>
        <title>ClipShare Demo</title>
        <description>Embed 561palmbeach.com Videos!</description>
        <displayorder>1</displayorder>
        <findcode><![CDATA[http://www\.561palmbeach\.com/view_video\.php\?viewkey=[\w]+[\w&;=]*]]></findcode>
        <replacecode><![CDATA[<object type="application/x-shockwave-flash" width="320" height="260"wmode="transparent" data="http://www.561palmbeach.com/flvplayer.swf?file=http://561palmbeach.com/flvideo/$p1.flv&autostart=false&showfsbutton=true">
<param name="movie" value="http://www.561palmbeach.com/flvplayer.swf?file=http://www.561palmbeach.com/flvideo/$p1.flv&autostart=false&showfsbutton=true" />
<param name="wmode" value="transparent" />
<param name="allowScriptAccess" value="sameDomain" />
<embed src="http://www.561palmbeach.com/flvplayer.swf?file=http://www.561palmbeach.com/flvideo/$p1.flv&autostart=false&showfsbutton=true" loop="False" width="320" height="260" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</embed>
</object>]]></replacecode>
        <status>1</status>
        <container>1</container>
        <embedregexp><![CDATA[http://www\.561palmbeach.com/flvideo/([\w]+)\.flv]]></embedregexp>
        <extraction>1</extraction>
        <gdef>0</gdef>
    </item>
</AME>


Oh, it's more involved then that. Try building your definition inside the AME CP rather then trying to make an XML file from scratch. From what I can see, you don't need an Embed Regexp and you've just used embed code from a random definition rather then using the code your site actually uses. Also, your RegEx pattern doesn't even remotely match your website URLs. Go to post 3 in this thread and read over the tutorials if you interested in making them yourself. Your regex has to match your site URLs, and your site's URLs don't use the words view_video in their strings and their not PHP pages. Something like:

Code:


http://www.561palmbeach.com/video/[\d]+/[\w-]+

But that's only part of it. I'll add it to the list for next update, but in the meantime, you should look those resources over.

Rideharder 11-03-2008 09:40 PM

https://vborg.vbsupport.ru/external/2008/11/24.gif


I reinstalled the Definition ClipShare Demo after I got done playing with it and now it's not working..

Rideharder 11-03-2008 09:47 PM

When you remove Media Definitions do you just go to Amy and click delete then reinstall ???

Can you please give me the information on where to delete so I can reinstall ClipShare Demo..

Thanks for all the help..

Digital Jedi 11-03-2008 10:15 PM

There's a checkbox beside each definition called delete. Check the box and hit save at the bottom and the definition that was checked will be deleted.

Rideharder 11-03-2008 10:17 PM

<a href="http://www.speedaholic.net/showthread.php?p=567#post567" target="_blank">http://www.speedaholic.net/showthread.php?p=567#post567</a>

I deleted an imported and for some strange reason it is not displaying..

Rideharder 11-03-2008 10:19 PM

Digital Jedi can I PM you a login information and you take a look?
I'm deathly go to nominate this mod and would sure like to donate.. Definitely a plus to have my video site to be able to be embedded in the future...

Digital Jedi 11-03-2008 10:23 PM

Quote:

Originally Posted by Rideharder (Post 1658934)
http://www.speedaholic.net/showthread.php?p=567#post567

I deleted an imported and for some strange reason it is not displaying..

Do you have extraction turned on in both your definition and in your global settings?

Rideharder 11-03-2008 10:29 PM

Yes I do..
https://vborg.vbsupport.ru/
https://vborg.vbsupport.ru/

Digital Jedi 11-03-2008 10:40 PM

Quote:

Originally Posted by Rideharder (Post 1658944)

You don't have the current definition installed, that's the old one. As I mentioned, I did not update the individual definitions in the Main ZIP just yet. You can only get the updated definitions for ClipShare Demo (there are 2 now) in the Master XML.

Rideharder 11-03-2008 10:46 PM

I finally found somebody that has more patience than I... I greatly appreciate everything for your skill does not go unnoticed!

So I guess I will delete everything and just reinstall the master

Digital Jedi 11-03-2008 10:50 PM

Quote:

Originally Posted by Rideharder (Post 1658958)
I finally found somebody that has more patience than I... I greatly appreciate everything for your skill does not go unnoticed!

So I guess I will delete everything and just reinstall the master

Probably for the best. There's just too many files in the update that would be missed otherwise.

Rideharder 11-03-2008 10:52 PM

Quote:

Originally Posted by Digital Jedi (Post 1658961)
Probably for the best. There's just too many files in the update that would be missed otherwise.


Understandable thank you very much again and have a great night!

Rideharder 11-03-2008 11:04 PM

I uninstalled and reinstalled the master and it is still not working.. I don't know what happened all the other ones work fine..
it happened when I try to make that XML file from scratch.. I use the clipshare demo XML and imported it then removed it then try to reinstall the original one which I found out was the old one that I deleted all of them reinstall the master and it's not working... I guess it's no biggie lol

https://vborg.vbsupport.ru/external/2008/11/74.jpg
You want to see a grown man crying lol

Rideharder 11-03-2008 11:09 PM

I sent you a PM with login information if you'd like to take a look...?

Rideharder 11-03-2008 11:29 PM

It looks like it's working now thank you very much..
I learnt my lesson .. I will not play with things that are not attached to me..j/k



I will push myself become a master programmer of nothing and inspiration to myself

https://vborg.vbsupport.ru/external/2008/11/73.jpg

Rideharder 11-03-2008 11:50 PM

Be where do not give Digital Jedi login information this is my webpage now..

http://www.core77.com/blog/images/hack2finished2.jpg

Just kidding Digital Jedi thank you again very much for your time in this issue and your support!

Please PM me Digital Jedi if you get around making that definition for 561palmbeach.com ...

Nikoo 11-04-2008 06:12 AM

Quote:

Originally Posted by Nikoo View Post

What about raw vegas?

Raw Vegas should be working. Remember, in my notes I mentioned that Raw Vegas uses Javascript to generate their player, and the inline AJAX elements of vB don't like external Javascript. The video will still show to anyone loading the page, but on the initial Quick Reply/Quick Edit, you won't see anything until you refresh the page.
Strange, don't work in my site either after refreshing; take a look

Thanks/:confused:

Jonathan81 11-04-2008 12:22 PM

Quote:

Originally Posted by Digital Jedi (Post 1658188)
MotorsportsMad

Digital Jedi, you are a legend!! :D

Thanks! :up:

Digital Jedi 11-04-2008 02:57 PM

Quote:

Originally Posted by Nikoo (Post 1659164)
Strange, don't work in my site either after refreshing; take a look

Thanks/:confused:

My mistake, I'm thinking of PokerTube. That's the one with the Javascript issue.

It should be embedding for you, as it doesn't rely on extraction to get the data. Check to verify that you have the Raw Vegas definition installed.

skcyber 11-04-2008 05:00 PM

Quote:

Originally Posted by Digital Jedi (Post 1658718)
No, as I said, I didn't add anything to the Main ZIP. I'll do individual XML inclusions a little bit later, but I have some other things to catch up on for the moment. If you have all sites installed anyway, the best thing to do is delete all and import the Master.

ok tanks but the jiwa's xml doesn't works ;)
and it's for the playlists not for the tracks :)


All times are GMT. The time now is 08:39 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.02151 seconds
  • Memory Usage 1,867KB
  • 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
  • (2)bbcode_html_printable
  • (24)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