vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - DJ's AMEs :: Media Definitions for AME 2.5 :: More Video, Twitter, Pinterest... (https://vborg.vbsupport.ru/showthread.php?t=195884)

John1uk 05-01-2009 09:28 PM

advice would be great if this is still supported;D

blaize 05-02-2009 12:26 AM

Hi John, in your admin panel go to AME CP then click Display Definitions.

From there click the nonoba definition and you'll see that it opens the nonoba settings. Under the Media Definition Code section where you can see the replacement code you can adjust the width and height of the game to what you need it to be.

Hope that helps.

forumsonsuz 05-02-2009 09:27 PM

We will copy the video link to friends direktmi

code707 05-03-2009 06:40 PM

Hi thanks for this.

I have installed it and it is working fine but there is one thing I cant get to work.... FLICKR

do i need to edit something? thanks in advance

Ch'Ih-Yu 05-03-2009 10:07 PM

When trying to import "DJ's Master XML (Delta).xml", everything coming after "Game Trailers" is silently ignored.

Splitting the file into 6 separate files did the job, but I wonder why there is no error message or timeout message at all.

code707 05-04-2009 01:37 AM

Hi there... As I have mentioned on my previous post flickr is not working and also photobucket

I also have a request from on of my members - www.fandome.com

thanks again

John1uk 05-04-2009 06:34 AM

Quote:

Originally Posted by blaize (Post 1802804)
Hi John, in your admin panel go to AME CP then click Display Definitions.

From there click the nonoba definition and you'll see that it opens the nonoba settings. Under the Media Definition Code section where you can see the replacement code you can adjust the width and height of the game to what you need it to be.

Hope that helps.

Thanks mate your a star ;) :D

SkyCatcher 05-04-2009 10:03 AM

Hello,

Thanks for the fantastic work on this mod, I love it.

That being said, there is a host I we use on our forums which has incredible quality and I've been trying to get it to work but I'm stumped because it uses a weird mechanic and I was hoping that maybe I was overlooking something.


The site is http://www.noobflicks.com

The video URLs are as such: http://www.noobflicks.com/watch/6006...s_vs_xt-002_25

My pregmatch definition is:
http://www\.noobflicks\.com/watch/[0-9]+/([\w_-])+

The problem is that the actual embed code (just for this video linked) is:

Code:

<object width="480" height="410"><param name="movie" value="http://v.giantrealm.com/embed/publisher_id=23&file_id=aHR0cDovL3ZjZG4uZ2lhbnRyZWFsbS5jb20vZ2lhbnRyZWFsbS9ub29iZmxpY2tzL3ZCekRFTkR1TkZ3dGhmVnV4dDAwMjI1d212cXRnOWQzLndtdi14MjY0Lm1wNA==&from=aHR0cDovL3d3dy5ub29iZmxpY2tzLmNvbS93YXRjaC82MDA2L3NwaXJpdF93YWxrZXJzX3ZzX3h0LTAwMl8yNQ==&thumbnail=aHR0cDovL3d3dy5ub29iZmxpY2tzLmNvbS90aHVtYnMveHQwMDIyNXdtdnF0ZzlkMy53bXYtanBnLmpwZw==" type="application/x-shockwave-flash"></param><param name="allowfullscreen" value="true"></param><param name="wmode" value="transparent"></param><embed src="http://v.giantrealm.com/embed/publisher_id=23&file_id=aHR0cDovL3ZjZG4uZ2lhbnRyZWFsbS5jb20vZ2lhbnRyZWFsbS9ub29iZmxpY2tzL3ZCekRFTkR1TkZ3dGhmVnV4dDAwMjI1d212cXRnOWQzLndtdi14MjY0Lm1wNA==&from=aHR0cDovL3d3dy5ub29iZmxpY2tzLmNvbS93YXRjaC82MDA2L3NwaXJpdF93YWxrZXJzX3ZzX3h0LTAwMl8yNQ==&thumbnail=aHR0cDovL3d3dy5ub29iZmxpY2tzLmNvbS90aHVtYnMveHQwMDIyNXdtdnF0ZzlkMy53bXYtanBnLmpwZw==" type="application/x-shockwave-flash" width="480" height="410" allowfullscreen="true" wmode="transparent"></embed></object>
Notice the randomly generated string for file_id, thumbnail and uploader.


The source for the pages script is:

Code:

<div align="center" id="vspMainContainer">
                          <script type="text/javascript">         
                                var publisher_id = '23';
                                document.write('<scr'+'ipt type="text/javascript" src="http://v.giantrealm.com/get.php?pid=' + publisher_id + '&ord=' + ord + '&so=' + typeof swfobject + '"></scr'+'ipt>');                                 
                          </script>
                          <script type="text/javascript">         
                                gr.vau.videoURL = 'http://vcdn.giantrealm.com/giantrealm/noobflicks/vBzDENDuNFwthfVuxt00225wmvqtg9d3.wmv-x264.mp4';
                                gr.vau.thumbnailURL = 'http://www.noobflicks.com/thumbs/xt00225wmvqtg9d3.wmv-jpg.jpg';
                                gr.vau.view.renderPlayer();       
                          </script>
                          <div id="vauBanner" style="display:none;">
                                <script language="javascript">
                                gr.vau.view.getAd(gr.vau.companion);
                                </script>

                          </div>
                          <div id="vauBreakout" style="display:none;">
                                <script language="javascript">
                                gr.vau.view.getAd(gr.vau.breakout);
                                </script>
                          </div>

Also there seems to be a URL encode script at the top of the page:

Code:

<script type="text/javascript">
        function nOpenBrWindow(theURL,winName,features, myWidth, myHeight, isCenter) { //v3.0
          if(window.screen)if(isCenter)if(isCenter=="true"){
            var myLeft = (screen.width-myWidth)/2;
            var myTop = (screen.height-myHeight)/2;
            features+=(features!='')?',':'';
            features+=',left='+myLeft+',top='+myTop;
          }
          window.open(theURL,winName,features+((features!='')?',':'')+'width='+myWidth+',height='+myHeight);
        }
        function URLEncode(st)
        {
                // The Javascript escape and unescape functions do not correspond
                // with what browsers actually do...
                var SAFECHARS = "0123456789" +                                        // Numeric
                                                "ABCDEFGHIJKLMNOPQRSTUVWXYZ" +        // Alphabetic
                                                "abcdefghijklmnopqrstuvwxyz" +
                                                "-_.!~*'()";                                        // RFC2396 Mark characters
                var HEX = "0123456789ABCDEF";
       
                var plaintext = st;
                var encoded = "";
                for (var i = 0; i < plaintext.length; i++ ) {
                        var ch = plaintext.charAt(i);
                    if (ch == " ") {
                            encoded += "+";                                // x-www-urlencoded, rather than %20
                        } else if (SAFECHARS.indexOf(ch) != -1) {
                            encoded += ch;
                        } else {
                            var charCode = ch.charCodeAt(0);
                                if (charCode > 255) {
                                    alert( "Unicode Character '"
                                + ch
                                + "' cannot be encoded using standard URL encoding.\n" +
                                                  "(URL encoding only supports 8-bit characters.)\n" +
                                                          "A space (+) will be substituted." );
                                        encoded += "+";
                                } else {
                                        encoded += "%";
                                        encoded += HEX.charAt((charCode >> 4) & 0xF);
                                        encoded += HEX.charAt(charCode & 0xF);
                                }
                        }
                } // for
       
                //document.URLForm.F2.value = encoded;
                  //document.URLForm.F2.select();
                return encoded;
        };
        </script>
       
       
        <script language="Javascript">
        <!--
        var axel = Math.random() + "";
        var ord = axel * 1000000000000000000;
        //-->
        </script>



So I'm stumped. Any way to do this since it seems to take the URL and encode it?

ncangler 05-06-2009 04:33 PM

I am really hoping that a definition for Social Media sites can be developed. I am starting a new video CMS website (http://www.tacklemonkey.tv) and I want to be able to use the AME system on all my vBulletin websites to embed media clips from Tacklemonkey.tv. The new TackleMonkey.tv site is built on the Social Media (http://www.mediascripts.com) CMS system. Thanks for any help with this. :)

Regs 05-06-2009 08:36 PM

Already done, check the thread you posted over on the Media Scripts forums.

Cheers,

Regs.


All times are GMT. The time now is 02:30 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.03416 seconds
  • Memory Usage 1,765KB
  • 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
  • (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