• Skip to content
  • Skip to primary sidebar
  • Skip to footer

Foliovision

Main navigation

  • Weblog
    • FV Player
    • WordPress
    • Video of the Week
    • Case Studies
    • Business
  • About
    • Testimonials
    • Meet the Team
    • We Support
    • Careers
    • Contact
    • Pricing
  • Products
  • Support
    • FV Player Docs
    • Pro Support
  • Login
  • Basket is empty

Can’t close lightbox – because of blocking Google Analytics with Ghostery

[Solved]

Foliovision › Forums › FV Player › Troubleshooting › Can’t close lightbox – because of blocking Google Analytics with Ghostery

  • Bruno 10 years, 4 months ago

    Hello Martin,

    Please take a look at my site. I can´t close the lightbox.

    Check here: http://example.com/blog/flowplayer-test/

    Best regards
    Bruno

Viewing 25 replies - 1 through 25 (of 25 total)
  • Martin 10 years ago

    Hello Bruno,

    please let us know more about the issue.

    What browser are you using? Are you logged in to the site?

    I had no trouble with Safari 7.1 nor Chromium. The video plays and I’m able to pause/resume the playback, enter full screen and also close the lightbox.

    Thanks,
    Martin

    Bruno 10 years ago

    Hello Martin,

    Safari 7.1 and a Mac. It´s just an issue after I used it with Cloudfront. With S3-Content it works.
    It happens on both ways. Logged-in and Logged-out.

    It works fine on Chrome.

    Best regards,
    Bruno

    Martin 10 years ago

    Hello Bruno,

    thank you for the details, we will get that fixed.

    Thanks,
    Martin

    Bruno 10 years ago

    Hello Martin,

    something new for this ?

    Best regards,
    Bruno

    Martin 10 years ago

    Hello Bruno,

    no luck yet. Notice, that the video can’t be paused either.

    I tried to use the same configuration (CloudFront video, controlbar=”no” and splashend=”show”) here, but it works in Safari 7.1: https://foliovision.com/player/demos/cloudfront-download-protection -> Checking Safari 7.1 issues

    There must be something with your theme or plugins. I’m noticing this JavaScript error: “ReferenceError: Can’t find variable: TB_WIDTH” in thickbox.js on line 280.

    Could you try to use the WordPress theme preview function with the Twenty Fourteen template, find your page using search and see if it also fails on Safari?

    Now I’m getting “Fehler beim Aufbau einer Datenbankverbindung”, is your server overloaded?

    Thanks,
    Martin

    Bruno 10 years ago

    Hello Martin,

    thank you, but I do not say that it don’t work in Safari.

    There is just an issue with your lightbox. If you use also “lightbox=”true;” it is not possible to close the lightbox on safari.

    Please take a look here (don´t publish {admin note – domain changed}): http://example.com/medien/flowplayer/flowplayer.mp4

    (Yes server was overload, need a bigger one)

    Thank You
    Bruno

    Martin 10 years ago

    Hello Bruno,

    thank you for the nice video.

    I tried again and I’m no longer seeing the issues I described the last time. I can even close the lightbox.

    Does it happen if the video is not using CloudFront? What if you just put up https://foliovision.com/videos/dominika-960-31.mp4 into the lightbox ?

    Thanks,
    Martin

    Bruno 10 years ago

    Hello Martin,

    it´s exactly the same with your Dominika Video.

    Flowplayer generates an error in my safari-console.

    Flowplayer and Flowplayer Pro running both with the newest version. I’m using WP 4.1.

    Please let me know, if I can help you with anything to work out what goes wrong here..

    It seems that this happens just with safari. Chrome works well..

    Best regards,
    Bruno

    Martin 10 years ago

    Hello Bruno,

    thank you for these details, this will make the troubleshooting much easier. I’m seeing some similar issue in my Safari.

    Thanks,
    Martin

    Martin 10 years ago

    Hello Burno,

    I found that the error is in the part which takes care of the Google Analytics tracking.

    Could you please:

    1) Remove the Google Analytics ID from Settings -> FV WordPress Flowplayer -> Sitewide Flowplayer Defaults -> Google Analytics ID? Let’s see if that changes anything.

    2) Disable the JavaScript minify and combine for the site (what plugin are you using?). I’m not getting the same error as you. In fact, as soon as I create a copy of your site HTML on my computer, I no longer get the error.

    Thanks,
    Martin

    Bruno 10 years ago

    Hello Martin,

    1. that’s it!! After deleting the code for Analytics, everything works fine, thank you!

    2. I’m using W3TC for minifying. Meanwhile I created the screen-video for you, minifying was deactivated, but Flowplayer isn’t included into minifying, cause it don’t work.
    If you want that I deactivate W3TC for you now, let me know. But I think it’s the same error that you get also.

    Best regards
    Bruno

    Martin 10 years ago

    Hello Bruno,

    1) Great that it works now, but there is no reason it should not work with Google Analytics enable for the videos. Could you please put it back?

    2) Could you please disable the Minifying and see if you get the error now that you put back the Google Analytics tracking ID? I see that you excluded FV Flowplayer from minify, but other scripts may have some issues with it as well. Your site shows several JavaScript warnings.

    Thanks,
    Martin

    Bruno 10 years ago

    Hello Martin,

    it’s still the same.. As long as I insert the Analytics ID, lightbox will not close on Safari. Please take a look for yourself. I deactivated Minifying for you..

    After I delete the Analytics ID, it works fine..

    No other js-errors now..

    Best regards
    Bruno

    Martin 10 years ago

    Hello Bruno,

    now I don’t see any JS errors on your page.

    It’s weird if you get into trouble in your Safari 7.1.

    1) Do you see the same message on console when you just play some video which is not in lightbox and then start some other video which is not in lightbox?

    2) Can you disable SCRIPT_DEBUG in wp-config.php? Here’s more about it: http://codex.wordpress.org/Debugging_in_WordPress#SCRIPT_DEBUG

    3) Are you logged in into your Google account?

    Thanks
    Martin

    Bruno 10 years ago

    Hello Martin,

    1. No

    2. I’ve done this for you

    3. No

    Please don’t publish:
    (links to videos)

    Best regards,
    Bruno

    Bruno 10 years ago

    Please Stop..

    I deactivated my Safari Extensions, and now it seems to work..

    I make some tests and let you know which one creates the error

    BR

    Martin 10 years ago

    Hello Bruno,

    big thanks for the videos!

    Could you please play the video without lightbox first, checking if there are any errors, they play the video in lightbox and see if starting the lightbox video causes some error to appear.

    I suspect that Google Analytics is failing for you. Are you using Ghostery or some other blocker of tracking scripts?

    Thanks,
    Martin

    Bruno 10 years ago

    Hello Martin,

    It seems that this Safari Extension generates the error:
    https://www.ghostery.com/de/

    I never run in a problem like this before. We use another lightbox for our images also, without any issues.. It’s an extension to protect you from tracking..

    Now we learned for future development: Step 1 – deactivate your extensions, if the problem stays, we will take a look for the rest..

    Please add it to your area for conflicts..

    Best regards
    Bruno

    Alec Kinnear 10 years ago
    Avatar photo

    Hi Bruno,

    Thanks for the report.

    I used Ghostery on most of my computers/browsers as well. To be honest, I run into a lot of website issues with Ghostery and have to customise the settings per site.

    We’ll definitely look into what Ghostery is blocking for FV Player though.

    Making the web work for you, Alec

    Bruno 10 years ago

    I’m happy that it works now.. : )

    Thank you and best regards
    Bruno

    Martin 10 years ago

    Hello Bruno,

    we use “unload” call when the lightbox is closed to make sure the video stops. However the Google Analytics tracking is bound to that event.

    To fix the issue, we will stop using the “unload” call and just use “stop”.

    Thanks
    Martin

    Alec Kinnear 10 years ago
    Avatar photo

    Hi Martin,

    Any chance of another conflict on a generic word like “stop”?

    Martin 10 years ago

    Hello Alec,

    it’s not the word that matters. It’s the action which happens on the event of that name. In Flowplayer, unload event triggers the Google Analytics stats. And if that is blocked by Ghostery, it’s a fatal error. There should be a check if the Google Analytics function exists.

    Thanks
    Martin

    Martin 10 years ago

    Hello Bruno,

    FV WordPress Flowplayer 2.3.11 was released and it fixes this issue.

    Thanks,
    Martin

    Bruno 10 years ago

    Hello Martin,

    works like a charm now .. : )

    Thanks for your nice support!

    Best regards,
    Bruno

Viewing 25 replies - 1 through 25 (of 25 total)
Reply To: Can’t close lightbox – because of blocking Google Analytics with Ghostery



Please Sign in or Register to upload files.

Related Posts

  1. Detailed Video Stats in Google Analytics

  2. Using Google Universal Analytics with FV Player

  3. Cómo usar Google analytics con FV FLowplayer

Primary Sidebar

Sign in Register
FV Player Docs Post New Topic

Welcome

to Foliovision support forums! We'll be happy to provide free support to resolve all the reported bugs. You always can start by specifying your OS and browser and steps to reproduce the bug.

If you need help with the installation on your site, please submit a request for a Pro Support Incident. We'll have you up and running in no time, with detailed instructions on how to resolve your issue yourself in the future.

Facing a hard to solve WordPress problem? On a tight deadline?

Let us take care of it for you
right now.

Pro Support Buy FV Player

Footer

Our Plugins

  • FV WordPress Flowplayer
  • FV Thoughtful Comments
  • FV Simpler SEO
  • FV Antispam
  • FV Gravatar Cache
  • FV Testimonials

Free Tools

  • Pandoc Online
  • Article spinner
  • WordPress Password Finder
  • Delete LinkedIn Account
  • Responsive Design Calculator
Foliovision logo
All materials © 2025 Foliovision s.r.o. | Panská 12 - 81101 Bratislava - Slovakia | info@foliovision.com
  • This Site Uses Cookies
  • Privacy Policy
  • Terms of Service
  • Site Map
  • Contact
  • Tel. ‭+421 2/5292 0086‬

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .

Powered by  GDPR Cookie Compliance
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Necessary Cookies

Strictly Necessary Cookie allow you to log in and download your software or post to forums.

We use the WordPress login cookie and the session cookie.

If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.

Support Cookies

Foliovision.com uses self-hosted Rocket.chat and self-hosted Freescout support desk to provide support for FV Player users. These cookies allow our visitors to chat with us and/or submit support tickets.

We are delighted to recommend self-hosted Rocket.chat and especially Freescout to other privacy-conscious independent publishers who would prefer to self-host support.

Please enable Strictly Necessary Cookies first so that we can save your preferences!

3rd Party Cookies

This website uses Google Analytics and Statcounter to collect anonymous information such as the number of visitors to the site, and the most popular pages.

Keeping this cookie enabled helps us to improve our website.

We reluctantly use Google Analytics as it helps us to test FV Player against popular Google Analytics features. Feel free to turn off these cookies if they make you feel uncomfortable.

Statcounter is an independent Irish stats service which we have been using since the beginning of recorded time, sixteen years ago.

Please enable Strictly Necessary Cookies first so that we can save your preferences!