Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 8

CurtisOdenMatthew2DToddericgilletteleafmonsterx00 +2 guests

JQmedia

This discussion is related to the JQmedia addon.
JQmedia
«134567

Comments

  • Posts: 2,610
    Bloody hell Schiz! Shall give this one a go pronto :)
  • Posts: 231
    Does it pick up BBCode [url=...][/url] links?
  • Posts: 1,880
    it doesn't matter. It works on the client side. it transform any links in messages with youtube, google... video url into youtube, google... video
  • Uploaded version 0.1 of JQMedia.
  • Posts: 115
    I can't seem to get this to work. Tried setting and unsetting JQuery etc.

    I tested a post here

    Any ideas?
  • VazVaz
    Posts: 292
    I seem to have screwed up.

    I installed without jquery. On realising, I uninstalled the extention and installed jquery. Then I re-enabled jqmedia. Tried another test post but doesnt seem to have worked.

    Anyone knw what might have happened?
  • Posts: 2,610
    For any extension problems in gneneral and JQ extension problems in particular, *please* include a link to your forum. This allows us to check several things right off the bat without having to ask you further questions.

    JQ extensions are sensitive to the order of activation with some other extensions. We can check this from your forum HTML headers quickly (if you include a link...) and make sure that this simple solution isn't all that's needed.

    A link directly to a post that isn't working as expected is even better!
  • Posts: 115
    I managed to get the extension to work. Two things:

    1. Why is there an enormous gap after the video (see here) ?
    2. Is it possible to add a video (using above method) AND a simple link to a page in YouTube?

    I only ask because when I added a link to a user page (i.e. not a video) the add-on tried to return a video and got locked in an infinite loop.

    Cheers...
  • Posts: 115
    I just noticed. On Firefox there is a huge gap after the video, on IE6 the video screws up the html of the page and scrunches it all up to the right of the box.

    What's happening?
  • Posts: 2,610
    @Schiz, breaks with prototype and moofx. Here's the fix:

    Line 66 from $VideoScript = '<script>$(document).ready(function(){';To $VideoScript = '<script type="text/javascript">(function($) { $(document).ready(function(){';
    And line 78 from $VideoScript .= '});</script>';To $VideoScript .= '});})(jQuery)</script>';
  • Posts: 115
    I don't really know what that did, but I altered the code, and I still get a scrunched up post (see here) in IE6
  • Posts: 1,799
    @Obvious the huge space is because u have 3 break tags after it. take em out. looks like u deleted external.png as well Regarding IE6 OK its because the float isn't being cleared in IE, and the stuff that supposed to be below youtube are now on its side It will take me some time to fix this. I tried it before, made it work in firefox, but didn't check IE @Vaz, whats ur forum url? Stash thanks I'll fix that where did u get that fix. the jQuery documentation gives a different discussion
  • Posts: 2,610
    I got it from the jQuery docs... /me goes and looks at them again...
  • Posts: 2,610
    The 3rd example on this page --> http://docs.jquery.com/Using_jQuery_with_Other_Libraries
    <html>
    <head>
    <script src="prototype.js"></script>
    <script src="jquery.js"></script>
    <script>
    jQuery.noConflict();

    // Put all your code in your document ready area
    jQuery(document).ready(function($){
    // Do jQuery stuff using $
    $("div").hide();
    });

    // Use Prototype with $(...), etc.
    $('someid').style.display = 'none';
    </script>
    </head>
    <body></body>
    </html>
  • Uploaded version 0.2 of JQMedia.
  • Uploaded version 0.2 of JQMedia.
  • Posts: 1,799
    OK guys should work in IE. Tested in IE7 Applied Stash fix as well
  • Posts: 115
    How about this problem I mentioned:
    2. Is it possible to add a video (using above method) AND a simple link to a page in YouTube?

    I only ask because when I added a link to a user page (i.e. not a video) the add-on tried to return a video and got locked in an infinite loop.

    Cheers...
  • Posts: 1,799
    so u want 2 links
    one should be a video but the other should not.

    btw this extension is artificially limited to only work in comments
    show me the url where the infinite loop occurs
  • Posts: 22
    Can't seem to get it to work on our forum:

    http://younggogetter.com/forum/discussion/1495/testing-video-embed/

    JQuery 1.1.3 and JQMedia 0.2 are both enabled.
  • Posts: 50
    it was working on me but suddenly it stopped working with me too :(
  • Posts: 1,799
    jQuery needs to be enabled BEFORE u enable jQmedia
    ON your site its the other way around.
    Disable both Jquery and JQmedia, and then enable jQuery followed by jQmedia

    abramelin.
    Contrary to popular belief i do not have a magic wand.
    U have to give me more than just "stopped working"
  • Posts: 50
    what can i say. its was working when i first installed it but now it stopped. i think it conflicts with one of the extension but i dont know which one :/
  • Posts: 1,799
    why don't u include ur forum link ???????????
  • Posts: 50
    because i am working on local :/ i'll try to upload the forum to a web server and notify you
  • Posts: 31
    I think JQMedia may be have a conflict with JQThickbox.
    If I enable JQThickbox (whatever load before or after JQMedia), than JQMedia does nothing in my test forum, otherwise it work fine.

    JQuery & JQThickbox are ver 1.1.3
  • Posts: 379
    doesnt work for me, just creates a link. doesnt matter if I used extended text formatter og html, just displayes a link. does it have any incompability?
  • Posts: 50
    Mr do i have the same problem
  • Posts: 1,799
    Confirmed. JQmedia doesn't seem to work with JQthickbox.
    the problem is with both JQthickbox and JQmedia uses this code to get the paths
    if (!window.Vanilla){
    var Vanilla = new PathFinder();
    Vanilla.webRoot = Vanilla.getRootPath('script', 'src', 'js/global.js');
    Vanilla.styleUrl = Vanilla.getRootPath('link', 'href', 'vanilla.css');
    Vanilla.baseURL = Vanilla.params.httpMethod + Vanilla.params.domain + Vanilla.webRoot;
    }


    Atleast now we know where the conflict is occuring
    now to fix it :)
  • Posts: 2,610
    Stick it in jquery.js?

    Incidentally I'm going to be updating jquery.js with the compatibility option enabled, so you will need to rip it out of JQmedia when I do. If you want to time this, let me know.
Sign In or Register to comment.