vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - AME3 - Auto Media Embeding and Video Extender (https://vborg.vbsupport.ru/showthread.php?t=230707)

milaszewski 02-09-2010 06:08 PM

could this detect mp3 attachments and embed them in a flash player?

spagman 02-10-2010 10:21 AM

does anybody know how to get fullscreen to work in youtube?
this is what I tried....and variations of it.
Thanks in advance

And thanks for the GREAT mod!

Code:

<object class="restrain" type="application/x-shockwave-flash" width="540" height="325" allowfullscreen="true" data="http://www.youtube.com/v/{vb:raw code}">
        <param name="movie" value="http://www.youtube.com/v/{vb:raw code}" />
        <param name="allowFullScreen" value = "true"/>
        <param name="wmode" value="transparent" />

</object>


Moondust 02-10-2010 11:37 AM

Can you show me a Code for WMV ??

User post this:

Code:

http://www.xxxxxxx.com/forum/bilder/1/vid.wmv
Output is follow Code:

Code:

<embed src="http://www.xxxxxxx.com/forum/bilder/1/vid.wmv" width="640" height="480" type="application/wmv" name=MediaPlayer autostart=0 showcontrols=1 showstatusbar=1 autorewind=1 showdisplay=0></embed>

Thanks for your help

meissenation 02-10-2010 01:56 PM

Is it just me or is there no product file in the zip?

Edit: Nevermind, I forgot this is the only modification out of the thousands of mods on vbulletin.org that hides the XML file in the includes/xml/ folder... ;) :P

kall 02-10-2010 02:56 PM

Quote:

Originally Posted by meissenation (Post 1979128)
Is it just me or is there no product file in the zip?

Edit: Nevermind, I forgot this is the only modification out of the thousands of mods on vbulletin.org that hides the XML file in the includes/xml/ folder... ;) :P

Handy hint: Read the install file.

Not only does it tell you exactly what you missed, it's packed full of funnies.

meissenation 02-11-2010 01:56 AM

If it's a first time install, I agree - read the instructions. But it seemed stupid to download an additional 2mb install file just to be told what we already know when upgrading... upload new files, import product, click "Overwrite" tada. Touche though... I was moreso jabbing at the fact that this is the only mod I've ever installed (and I've installed at least a hundred...) that has to hide the product file inside the upload folder instead of putting it outside of the upload folder. :)

kall 02-11-2010 02:40 AM

I see it more as 'the only mod to take advantage of a feature that would otherwise remain entirely unused'. :)

993ti 02-13-2010 04:49 PM

Master XML imported fine :)
Getting this however with amazon rss feeds:
Code:

Warning: preg_replace() [function.preg-replace]: Unknown modifier '/' in [path]/includes/ame_prep.php on line 556
Line 555 and 556:
Code:

                                        $text = preg_replace('%(\[(quote|php|html|code|nomedia)([^\]]*)\](.*?)\[/(\2)\])%sime', '$this->substitute(\'\1\', $this->_subbed)', $text);
                                        $text = preg_replace($info['find'], $info['replace'], $text);


lebanon 02-13-2010 07:01 PM

hi
ive been off vb for a long while and today i upgraded a forum to 4.0.1 , however we used your old hack for 3.8x with custom local wmv addition... now ive been trying to reload local wmv
after many many tries am still failing...
I tried disabling the hack and modifying bbcode xml file and adding our self as source and modify bbcode video template, still no luck
i retried using your hack with this

Code:


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

<AME3>
        <def>
                <providerid>80</providerid>
                <tagoption>ms</tagoption>
                <provider>ms</provider>
                <url>http://www.MYDOMAIN.ms</url>
                <regex_url><![CDATA[ (http://[\w]*[\.]*MYDOMAIN\.[\w/&;%-\.]+\.wmv) ]]></regex_url>
                <regex_scrape />
                <embed><![CDATA[ <object id="MediaPlayer" width="675" height="423" classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components?" type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
    <param name="filename" value="{vb:raw code}">
    <param name="Showcontrols" value="True">
    <param name="autostart" value="false">
    <embed type="application/x-mplayer2" src="{vb:raw code}" name="MediaPlayer" width="675" height="423" autoplay="false"></embed>
</object>]]></embed>
                <priority>0</priority>
        </def>
</AME3>


It does parse and changes the code but still no display of embed !
either a so simple mistake or donno ! hope you can help

The post shows nothing on display
however on edit :


video=ms;http://www.MYDOMAIN.ms/movies/lebmov...madina-low.wmv[/video]

so basically its being parsed after preg matches ... any advice on where i went wrong ?
regards

chefsache 02-14-2010 10:56 AM

Hi,

is it possible with AME that i import a videofile from my own server?

Thanks and greets
Andreas


All times are GMT. The time now is 08:36 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.01809 seconds
  • Memory Usage 1,746KB
  • 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
  • (6)bbcode_code_printable
  • (1)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