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)

Jammydodger 07-09-2007 09:49 PM

So is there a way we can get http://www.dailymotion.com

Dannyloski 07-09-2007 10:15 PM

Subah, import the attached file on this one to have Support for RealMedia's .ram Files, leave the other one installed though, you'll need both (one for .rm files and the other for .ram files) ... :up: ...

Jammydodger, did you read my post and The Geek's post on the previous page? I think that will answer your question ... Be patient ...

Tom1234, did you try to do the edit to the bbcode_create hook for [AME] (AdminCP > Plugins & Products > Plugin Manager)? If not, then ...

FIND:
Code:

return ame_process_bbcode(&$parser, $text, $option);
REPLACE WITH:
Code:

return ame_process_bbcode($parser, $text, $option);
See if that fixes it ... Another user was having the same problem and The Geek gave those instructions, the other user hasn't reported back with an answer if it worked or not, but check to see if it works for you ...

Tungsten 07-10-2007 01:14 PM

Here is an AME export for videos from CarpixTV.

Dannyloski 07-10-2007 03:00 PM

Well I decided to edit my HTML Container so that its a Collapsible Box, instead of just a box ... This way the user has the option to hide/unhide the videos located on the page. If you want to have your AME Media Boxes be Collapsible replace the following in the "Settings" Option of AME CP.

HTML Container

Open:
HTML Code:

<div align="center">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="500" style="margin:10px 0">
<thead>
    <tr>
        <td class="tcat" style="text-align:center" width="500">
                        <a style="float:right" href="#top" onclick="return toggle_collapse('ame_media')"><img id="collapseimg_ame_media" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a>
                        <a href="#" onclick="return toggle_collapse('ame_media')"></a>
                        <a href="$url" title="$title" target="_blank">$title</a>
        </td>
    </tr>
</thead>
<tbody id="collapseobj_ame_media">
        <tr>
                <td class="panelsurround" align="center" width="500">

Close HTML:
HTML Code:

</td>
        </tr>
</tbody>
</table></div>


Tungsten 07-10-2007 04:17 PM

Quote:

Originally Posted by Dannyloski (Post 1287628)
Well I decided to edit my HTML Container so that its a Collapsible Box, instead of just a box ... This way the user has the option to hide/unhide the videos located on the page. If you want to have your AME Media Boxes be Collapsible replace the following in the "Settings" Option of AME CP.

Cool modification! :up:

Dannyloski 07-10-2007 04:33 PM

:D Glad you like it :up:

The Geek,
I PM'ed you about a problem I'm having, can you help me out with that? I'm getting this error when I set a certain RegExp to Active on the AME CP, if it's Inactive then the error goes away. I PM'ed you the contents of the .xml for the RegExp that's causing the error, hopefully you can help me out ... The error displays in the showthread page ...

Error:
Code:

Warning: preg_replace() [function.preg-replace]: Compilation failed: range out of order in character class at offset 32 in /includes/ame_bbcode.php on line 336

The Geek 07-10-2007 04:45 PM

I think you need to escape your hyphens like:

PHP Code:

http://stage6\.divx\.com[\w-/_\-0-9%]+/video/([0-9]+)[\w-/_\-0-9%]* 

HTHs

Dannyloski 07-10-2007 05:03 PM

DOH! Damn, that makes me feel so dumb, how did I miss that, I looked at the thing like 100 times and didn't catch that ... Thanks!

Alright guys, so I know a lot of you want this one, so I cooked it up, thanks to The_Geek for helping me trouble shoot a little problem I was having, lol ... Enjoy Support for DivX/Stage6!

pspcrazy 07-11-2007 12:09 AM

Awesome also support for WMV files, and gamespot files would be awesome. E3 started today and i need gamespot video embeds badly :|

Their embed link looks like:

Quote:

<embed id="mymovie" width="432" height="355" flashvars="paramsURI=http%3A%2F%2Fwww%2Egamespot%2 Ecom%2Fpages%2Fvideo%5Fplayer%2Fproteus%5Fxml%2Eph p%3Fadseg%3D%26adgrp%3D%26sid%3D6173878%26pid%3D93 8874%26nc%3D1184116126187%26embedded%3D1&showWater mark=0&autoPlay=0" allowfullscreen="true" allowscriptaccess="always" quality="high" name="mymovie" src="http://image.com.com/gamespot/images/cne_flash/production/media_player/proteus/gs/proteus_embed.swf" type="application/x-shockwave-flash"/>

Dannyloski 07-11-2007 12:29 AM

^ WMV Files are already supported, search a few pages back and you'll find the .XML File to download and import into the AME CP ...

As far as gamespot support ... they have way too many different links for different types of videos hosted, some of the links do not include the information that is needed in the embed code, thus not making it work ...


All times are GMT. The time now is 08:03 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.03503 seconds
  • Memory Usage 1,757KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_html_printable
  • (1)bbcode_php_printable
  • (2)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