vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - AME - Auto Media Embedding (youtube, Amazon, google, myspace, etc...) (https://vborg.vbsupport.ru/showthread.php?t=150863)

The Geek 07-04-2007 06:50 AM

Quote:

Originally Posted by rainyleaves (Post 1282362)
Working great!! Thanks Geek!!

I got problem with this address.
http://www.ifilm.com/video/2799292/s...extreme-sports
Can not work.

change the ifilm regexp to:

http://[a-z]*?[\.]?ifilm\.com/video/(\d+)[&\w;=\+_\-/]*

Zia 07-04-2007 10:18 AM

it seems to be complicated

mfyvie's one was ez..just need to import 1 xml & done..
where is the list(vdo site) this hack currently support?

Jammydodger 07-04-2007 11:29 AM

Can anyone help me out with this code, I am trying to get gametrailers.com embedded but am not sure if im doing it right.

Here's the code, not 100% its right.

PHP Code:

http://www\.gametrailers\.com/player/([\d]+) 

and here's the code from gametrailers

Quote:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id="gtembed" width="480" height="409"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="http://www.gametrailers.com/remote_wrap.php?mid=19236"/> <param name="quality" value="high" /> <embed src="http://www.gametrailers.com/remote_wrap.php?mid=19236" swLiveConnect="true" name="gtembed" align="middle" allowScriptAccess="sameDomain" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="480" height="409"></embed> </object>
Any help would be fantastic

The Geek 07-04-2007 11:41 AM

Quote:

Originally Posted by Zia (Post 1282540)
it seems to be complicated

mfyvie's one was ez..just need to import 1 xml & done..
where is the list(vdo site) this hack currently support?

Thats about all there is to this one (in it's simplist form). The downside is that there are not 16 default links. The upside is that there arent 16 bbcodes that have to parse each post - therefore its much lighter and faster. The other upside is that you can add, remove or customize the entries to meet your needs, nor does it leave a bunch of bbcodes behind after uninstallation.

@Jammy, what is the URL for the above embed code?

DieselMinded 07-04-2007 11:45 AM

Quote:

Originally Posted by The Geek (Post 1282257)
me? :eek:

Didnt even know there was such a thing. I looked, but cant see any embed code.

the url to the page is

http://www.youporn.com/watch/*****

Like the others Can i just copy Your youtube Special Secret Squirrel Code for this to work?

Jammydodger 07-04-2007 12:10 PM

Quote:

@Jammy, what is the URL for the above embed code?
Here it is mate.

http://www.gametrailers.com/player/19236.html

Cheers

The Geek 07-04-2007 12:54 PM

Diesell - I need the embed code, not the URL to figure out how to display the video inline. Thye dont offer that info up :) otherwise, it is almost exactly like the youtube regexp (expect it only appears to take numbers)

@Jammy. Then the embed code is:


Quote:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id="gtembed" width="480" height="409"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="http://www.gametrailers.com/remote_wrap.php?mid=$p1"/> <param name="quality" value="high" /> <embed src="http://www.gametrailers.com/remote_wrap.php?mid=$p1" swLiveConnect="true" name="gtembed" align="middle" allowScriptAccess="sameDomain" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="480" height="409"></embed> </object>
nJoy

Jammydodger 07-04-2007 04:00 PM

Thanks for your help Geek, but I cant get it it to work, here's the full XML I have imported.

PHP Code:

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

<AME>
    <item>
<id>15</id> 
  <title>GameTrailers</title> 
  <description>gametrailers vids.</description> 
  <displayorder>70</displayorder> 
- <findcode>
- <![CDATA[ http://www\.gametrailers\.com/player/([\d]+)
  ]]> 
  </findcode>
- <replacecode>
- <![CDATA[ <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id="gtembed" width="480" height="409"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="http://www.gametrailers.com/remote_wrap.php?mid=$p1"/> <param name="quality" value="high" /> <embed src="http://www.gametrailers.com/remote_wrap.php?mid=$p1" swLiveConnect="true" name="gtembed" align="middle" allowScriptAccess="sameDomain" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="480" height="409"></embed> </object>
  ]]> 
  </replacecode>
  <status>1</status> 
  <container>1</container> 
  </item>
  </AME>

Any idea's?

hkvic 07-04-2007 04:56 PM

Quote:

Originally Posted by The Geek (Post 1282007)
THanks Tom, I have found the problem. Can you please update to 1.1.2 (you only need to update the product, no need to upload the files) and confirm its sorted at your end?

Thanks for this. I had ver 1.1.1 installed but it was deleting the post content when an infraction was given. I has to disable it and was just going to ask for help on here, when you came up with the cure.

Have updated to 1.1.2, re-enabled and it's working like a charm

Thanks again.

The Geek 07-04-2007 05:47 PM

@Jammy, you need to provide a URL as an example (make sure that it doesnt auto link URLs)


All times are GMT. The time now is 09:18 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.01999 seconds
  • Memory Usage 1,756KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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