Conflict with JCE Mediabox

Home \ forums/topic \ Conflict with JCE Mediabox

Support Home Page Forums Joomla Software Easy Google Analytics Plugin Conflict with JCE Mediabox

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #207
    laura
    Participant

    Hi,

    I recently installed your Google Analytics plugin and it works great but it has stopped my JCE Mediabox from working on my home page. It works everywhere else.

    I know it is the the plugin which is causing the conflict as i disabled it just to check and JCE Media box started working again.

    I tried a couple of other light boxes and they wont work on the home page either.

    Have you ever encountered this before and if so do you have a fix other than changing to another Analytics plugin.

    Thanks

    Laura

    #1353
    Michael Gilkes
    Keymaster

    @laura. Thanks for posting. This is the first time I am hearing about such an error. Could you please post a link to the webpage with the issue so that I can see what is going on?

    To be honest, I can’t think of any reason why there would be a conflict. The google javascript code is unobtrusive. I would like to examine the page myself.

    However, you need to let me know what your Joomla version is, and what settings you have for the plugin.

    #1354
    laura
    Participant

    Hi Michael,

    Thank you for getting back to me so quickly.

    I tried updating the JCE Media Box to the current version and that seems to have fixed the issue.

    Thanks for taking the time to get back to me.

    Cheers

    Laura 🙂

    #1355
    laura
    Participant

    Hi Michael,

    I seem to have been mistaken when I said my issue was fixed.

    I am using Joomla version 2.5.9.

    Here is a link to my demo site: http://akeeba.edesix.webfactional.com/

    When you click on the video image links the popup doesn’t work. When you remove the Google plugin they do. This only happens on the home page. I have pop up videos else where and they work.

    Any help would be much appreciated.

    Laura

    #1356
    Michael Gilkes
    Keymaster

    @laura. Thanks for posting. My plugin runs on every page. So, if the pop ups work on all the other pages and not on the home page, most likely, something is going on on the home page. Also, when i have visual problems like this, i usually check the browser’s console for error messages. You should practice that too. When i did so of your site, I see that following screen. I think that the problem you are having has to do with this error:

    Blocked a frame with origin “https://clickberry.tv” from accessing a frame with origin “http://www.youtube.com”. The frame requesting access has a protocol of “https”, the frame being accessed has a protocol of “http”. Protocols must match.

    Also there is nothing in the Google Analytics javascript code that should interact with the JCE Mediabox code. Also, I didn’t write the Google Analytics javascript code. It is code that Google provides.

    The only other thing I can think of is for you to turn off the Outbound Links feature. You can do this by setting “Enable Event Tracking” to No. Maybe when Google tries to track outbound links, it causes a conflict with the external videos and the different protocols, as specified in the error above. Try it and let me know what happens.

    #1357
    laura
    Participant

    Hi Michael,

    Thanks again for replying 🙂

    I have turned off Event Tracking like you suggested and it has started working again.

    This is however a feature my employers are keen to have for the site but I understand it is a Google thing rather than yourself.

    Thanks again

    Laura

    #1358
    Michael Gilkes
    Keymaster

    @laura. Well, laura… now that we have isolated what triggers the issue. The next question is why? I am sure we can devise a way to get everything to work once we understand what JCE Medicabox does with links that is affected by the Event tracking. I will try to install JCE Mediabox on one of my websites and see how I can understand what is going on. IN order to facilitate that, could you email me with how you set up JCE Mediabox on your homepage, so that I can set it up exactly how you have it to replicate the same situation?

    #1359
    laura
    Participant

    Hi Michael,

    I have set up the links in a custom HTML module.

    I use the JCE Editor and there is an option within that to add a jcepopup class to the link.

    Here is the code:

    <a class="jcepopup noicon" title="What is VideoBadge?" type="iframe" href="http://youtu.be/Cgxz7_ZGT38" rel="title[What Is VideoBadge?::An overview of what VideoBadge is and how it works.]" target="_blank"><img onmouseover="this.src='images/Edesix/Edesix_Overview_r.jpg';" onmouseout="this.src='images/Edesix/Edesix_Overview_n.jpg';" src="images/Edesix/Edesix_Overview_n.jpg" alt="Edesix Overview r" width="215" height="151" /></a>

    Thanks

    Laura

    #1360
    laura
    Participant

    Hi Michael,

    Have you had any luck recreating the issue?

    Thanks

    Laura

    #1361
    Michael Gilkes
    Keymaster

    @laura. Thanks for following up. I have not been able to recreate the issue. I realize that you use the jQuery version of the Event tracking. I need to find out how do you have jQuery setup on your site. Is it through a plugin? or through the template? (and what version of jQuery as well) Let me know so that I can set it up the same way on my test site.

    I want you to try one thing for me. Change the Javascript type to Mootools, instead of jQuery. And let me know if you are still having the issue.

    #1362
    Michael Gilkes
    Keymaster

    @laura. Ok. One more thing…. I see you have 2 identical references to google analytics on your site, which are not necessary.

    Why do you have these two on your site? They are not added by my plugin.

    I examined your site (which I should have done to check the jQuery) and realized that you are running jQuery 1.8.2 through the imageshow component. I don’t know why I didn’t do this yesterday. No worries. I still need you to change to Mootools in the Easy Google Analytics plugin to see how that affects the outcome. I will look at it further today.

    #1363
    laura
    Participant

    Hi Michael,

    I just tried setting Event Tracking to Yes and for it to use Mootools instead and the same thing happens.

    I am using a Joomlashine template called JSN Pixel Pro and yes it uses Jquery v 1.8.2.

    There is a section in the template parameters with this code:

    Do you think I should take this out?

    Thanks again for being so helpful 🙂

    Laura

    #1364
    laura
    Participant

    Hello again.

    I took the analytics code out of the template parameters but still no difference.

    Laura

    #1365
    Michael Gilkes
    Keymaster

    @laura. Ok. I think I figured out why it is happening. The event tracking assumes that a link is a normal link, so it tries to set it to the browser address the following javascript line:

    document.location.href = link.href;

    The is what is forcefully making the video go to the browser window. I have devised a fix for it. I will post a new release within the hour.

    #1366
    Michael Gilkes
    Keymaster

    @laura. I just released a new version that facilitates popups. Please go to the product page and download the new version.

Viewing 15 posts - 1 through 15 (of 17 total)
  • The topic ‘Conflict with JCE Mediabox’ is closed to new replies.