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)

ZomgStuff 11-04-2008 05:42 PM

Adding support for mtvmusic.com
Regular expression:
Code:

http://www\.mtvmusic\.com/video/\?id=(.*)
Replacement:
Code:

<embed src="http://media.mtvnservices.com/mgid:uma:video:mtvmusic.com:$p1" width="400" height="340" type="application/x-shockwave-flash" flashVars="dist=http://www.mtvmusic.com" allowFullScreen="true" AllowScriptAccess="never"></embed>

Digital Jedi 11-04-2008 05:52 PM

It appears there's a jiwa.fm AND a jiwa.fr. I was given a link to the French site, and had no idea there was an English variant. This should embed both versions:

Digital Jedi 11-04-2008 05:53 PM

Quote:

Originally Posted by ZomgStuff (Post 1659479)
Adding support for mtvmusic.com
Regular expression:
Code:

http://www\.mtvmusic\.com/video/\?id=(.*)
Replacement:
Code:

<embed src="http://media.mtvnservices.com/mgid:uma:video:mtvmusic.com:$p1" width="400" height="340" type="application/x-shockwave-flash" flashVars="dist=http://www.mtvmusic.com" allowFullScreen="true" AllowScriptAccess="never"></embed>

Thanks you, but if you'll notice, I just released a definition for MTV Music in the last udpate. ;)

MotMann 11-04-2008 09:25 PM

What i must do, that youtube Videos be larger (the Windows) and i can see Hd Files?

ZomgStuff 11-04-2008 10:16 PM

Quote:

Originally Posted by Digital Jedi (Post 1659492)
Thanks you, but if you'll notice, I just released a definition for MTV Music in the last udpate. ;)

I didn't see that in DJ's AMEs.zip.

Digital Jedi 11-05-2008 05:20 AM

It's not in the ZIP, as I mentioned in the update, none of the new definitions are in the ZIP.

Nikoo 11-05-2008 11:59 AM

Quote:

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.
Yes, i have the raw vegas difinition isntalled. ) :

realmr 11-06-2008 08:08 AM

can u include x-videos.com into the list ? I heard members are using this feature and they wanted this one of my adult forum

skcyber 11-06-2008 08:32 AM

here is the jiwa.fr music player ! ;)

simunaqv 11-06-2008 05:50 PM

Hi DJ,

I am trying to create a definition for scribd as in the following but it is not working:

HTML Code:

<?xmlversion="1.0"encoding="ISO-8859-1"?>
<AME>
<item>
<id>155</id>
<title>Scribd</title>
<description>Embed Scribd Documents</description>
<displayorder>1</displayorder>
<findcode><![CDATA[http://www\.scribd\.com/doc/[\w]+/[\w-]+]]></findcode>
<replacecode><![CDATA[<a title="$title" href="$url" style="display: block;">$title</a> <object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" id="doc_110081542045067" name="doc_110081542045067" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" align="middle" height="500" width="100%"> <param name="movie" value="http://documents.scribd.com/ScribdViewer.swf?document_id=$p1"> <param name="quality" value="high"> <param name="play" value="true"> <param name="loop" value="true"> <param name="scale" value="showall"> <param name="wmode" value="opaque"> <param name="devicefont" value="false"> <param name="bgcolor" value="#ffffff"> <param name="menu" value="true"> <param name="allowFullScreen" value="true"> <param name="allowScriptAccess" value="always"> <param name="salign" value=""> <embed src="http://documents.scribd.com/ScribdViewer.swf?document_id=$p1" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" play="true" loop="true" scale="showall" wmode="opaque" devicefont="false" bgcolor="#ffffff" name="doc_110081542045067_object" menu="true" allowfullscreen="true" allowscriptaccess="always" salign="" type="application/x-shockwave-flash" align="middle" height="500" width="100%"></embed> </object> <div style="none; display: block;"> <a href="http://www.scribd.com/upload" style="text-decoration: underline;">Get your own</a> at Scribd or <a href="http://www.scribd.com/browse" style="text-decoration: underline;">explore</a> others: </div>]]></replacecode>
<status>1</status>
<container>1</container>
<embedregexp><![CDATA[http://documents\.scribd\.com/ScribdViewer\.swf\?document_id=([\w-]+&access_key=[\w-]+&page=)]]></embedregexp>
<extraction>1</extraction>
<gdef>0</gdef>
</item>
</AME>

The embedded regular expression is not returning anything although it appears to be correct. Could you please have a look?


All times are GMT. The time now is 06:06 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.01934 seconds
  • Memory Usage 1,759KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_html_printable
  • (3)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