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 - AME (Auto Media Embedding) XML Releases (https://vborg.vbsupport.ru/showthread.php?t=157109)

Piggedy 09-24-2007 12:21 AM

<a href="https://video.google.com/videoplay?docid=1960384923775853813&hl=en" target="_blank">http://video.google.com/videoplay?do...75853813&hl=en</a>

Dannyloski 09-24-2007 01:25 AM

Piggedy, I just tried that Link and it parsed normally ... What other RegExs do you have installed on your site (List is here: AdminCP > AME CP > Display). The only way to determine which one is causing the problem is to disable each one at a time and each time you disable one check to see if the video gets fixed. Then post up here which one it is thats causing the problem so that hotwheels or me can take a look at the Coding for it and see whats happening. Oh and yeah the Code for Google that you posted is correct ...

Piggedy 09-24-2007 02:17 AM

Thanks Danny! the problem was "SWF Videos Files"

lucky me it was the second one i disabled.

my swf video files media definitions are:

Regular expression

Quote:

([http://]*[\w\.\/\!\@\#\$\%\^\&\*\(\)\_\-]+\.swf)
Replacement

Quote:

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="320" HEIGHT="240" id="Yourfilename"><PARAM NAME=movie VALUE="$p1"><PARAM NAME=quality VALUE=high><EMBED src="$p1" quality=high WIDTH="320" HEIGHT="240" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>

CodeRed 09-24-2007 01:34 PM

Great files guys...

here's one outlet I've been using for videos... It's called http://www.CutFrame.tv maybe someone can get a RegEx together for it as well...

Here's the link code for one of their files:
PHP Code:

http://cutframetv.com/view_video.php?viewkey=712c49d51a18a32b39f0 

Here's the embed code for it:
PHP Code:

<object type="application/x-shockwave-flash" width="425" height="335"wmode="transparent" data="http://cutframetv.com/flvplayer.swf?file=http://cutframetv.com/flvideo/324.flv&viewkey=712c49d51a18a32b39f0&autostart=false&showfsbutton=true">
        <
param name="movie" value="http://cutframetv.com/flvplayer.swf?file=http://cutframetv.com/flvideo/324.flv&viewkey=712c49d51a18a32b39f0&autostart=false&showfsbutton=true" />
        <
param name="wmode" value="transparent" />
        <
param name="allowScriptAccess" value="sameDomain" />
<
embed src="http://cutframetv.com/flvplayer.swf?file=http://cutframetv.com/flvideo/324.flv&viewkey=712c49d51a18a32b39f0&autostart=false&showfsbutton=true" loop="false" width="425" height="335" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</
object

Thanks a ton for the hard work guys...

Dannyloski 09-24-2007 03:33 PM

Piggedy, no problem glad to help ... I looked over the coding for SWF Video Files and I noticed an error in it, so I will be fixing that soon and reuploading the .ZIP. A couple other RegExs have the same errors, these will also get fixed.

CodeRed, unfortunately CutFrame.tv requires the use of the Extract Info feature in order to work. For more info look at Question #4 of the FAQs I made.

CodeRed 09-24-2007 03:56 PM

thanks a ton for the info Danny...

Piggedy 09-24-2007 05:23 PM

Hello,

I'm trying to add this site http://www.tudou.com/index.html

Google translate below:

http://translate.google.com/translat...&hl=en&ie=UTF8


Here's what i did:

Regular expression

Quote:

http://www\.tudou\.com/programs/view/([\w]+)[&\w;=?+_\-%\/]*
Replacement

Quote:

<object width="625" height="520"><param name="movie" value="tudou.com/programs/view/$p1.30430295.0"></param><param name="wmode" value="transparent"></param><embed src="tudou.com/programs/view/$p1.30430295.0" type="application/x-shockwave-flash" wmode="transparent" width="625" height="520"></embed></object>

it's not working, what did i do wrong?

Dannyloski 09-25-2007 01:03 PM

CodeRed, no problem ...

Piggedy, I havent compared it to the site's actual content, but my first guess would be that that's not the RegEx that's supposed to be used for that particular site and most likely the Embed Code is incorrect, as well. When I get home, I'll make the RegEx for that site ...

hotwheels 09-25-2007 02:07 PM

Per a request:

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, Brightcove

In the description, Brightcove.tv

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

Active, set to yes

Contain, set to yes

Regular expression, insert: http://www\.brightcove\.tv/title\.jsp\?title=([\w&;=]+)

Replacement, insert: <embed src='http://www.brightcove.tv/playerswf' bgcolor='#FFFFFF' flashVars='allowFullScreen=true&initVideoId=$p1&se rvicesURL=http://www.brightcove.tv&viewerSecureGatewayURL=https://www.brightcove.tv&cdnURL=http://admin.brightcove.com&autoStart=false' base='http://admin.brightcove.com' name='bcPlayer' width='486' height='412' allowFullScreen='true' allowScriptAccess='always' seamlesstabbing='false' type='application/x-shockwave-flash' swLiveConnect='true' pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'></embed>

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

cynthetiq 09-25-2007 02:32 PM

can this one be tackled?

http://link.brightcove.com/services/...ctid1114184243

nyc.gov just started a video portal and it gives links like above.


All times are GMT. The time now is 01:10 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.01487 seconds
  • Memory Usage 1,755KB
  • 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_php_printable
  • (4)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
  • (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