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.
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!
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.
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.
@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>';
@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
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"
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 :/
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.
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?
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 :)
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.
Comments
I tested a post here
Any ideas?
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?
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!
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...
What's happening?
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>';<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>
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
http://younggogetter.com/forum/discussion/1495/testing-video-embed/
JQuery 1.1.3 and JQMedia 0.2 are both enabled.
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"
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
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 :)
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.