Thread: Add-On Releases - AME (Auto Media Embedding) XML Releases
View Single Post
  #124  
Old 10-06-2007, 11:36 PM
hotwheels hotwheels is offline
 
Join Date: May 2005
Location: Cheyenne, wy
Posts: 1,380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can do that video link but............

There are 2 different form's of embedding video on that site and i donot know how to get both to show.. as you can see, this is the video link for you url you posted: http://www.jumpcut.com/media/flash/j...21/lq.flv&eb=1

and this is the linke to the other video's just to the right of that video: http://www.jumpcut.com/media/flash/j...200DB926D&eb=1

Now, if all of the video's you want to use ame with are like the first link i showed you, i can do that........or i can do the 2nd link. But i cant do both of them..........It looks to me, like most of the movies fall under the second link....not sure why they have two different embed src's......

This will do the link you posted and any other videos that fall under this type of link, but sadly about 90% of what i looked at won't work under this set up. If you click on the links i posted above, then look in the address bar on your puter, you will see how one is called a clip and the other is movie:

go to the ame cp in your admin control panel and open display. Scroll down to the bottom of the page, and click on "add new".

In the title space, Jumpcut.com

In the description, Jumpcut.com videos

In the display order, 441 (or whatever number you want)

Active, set to yes

Contain, set to yes

Regular expression, insert: http://www\.jumpcut\.com/view\?id=([\w]+)

Replacement, insert: <embed src="http://www.jumpcut.com/media/flash/jump.swf?&asset_type=clip&asset_id=$p1&asset_url=/media/$p2.flv" quality="high" width="460" height="406" align="middle" allowFullScreen="true" wmode="transparent" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>

Extract destination data, set to yes

Embedding Regexp, insert: &asset_type=clip&asset_id=([\w]+)&asset_url=/media/([\w]+/[0-9]*/[\w]+/[\w]+/[\w]+)\.flv

Nothing else to do but click "save" and you are good to go........I am not very good with the actual xml stuff. So i have been doing these updates manually for my own site.

hotwheels
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01081 seconds
  • Memory Usage 1,767KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete