Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1487107

    We use our own Vimeo iframe solution in a plugin and also load the Vimeo JS API there. Unfortunately, Enfold can’t handle this and causes a JavaScript error that renders the Vimeo API unusable.

    Is there any way to prevent Enfold from taking over the Vimeo player (API)?

    Thanks, Alex

    #1487127

    Hey xela,

    First off, try turning off file compression under Enfold->Performance to see if that helps. If not, then post a link to where we can see the actual problem on your site.

    Best regards,
    Rikard

    #1487147

    Hey Rikard,

    Disabling file compression doesn’t help. The problem is a 15-year-old Vimeo script in the Enfold theme that is no longer supported and conflicts with the current Vimeo API. Here is a migration guide from the old Froogaloop player to Vimeo API: https://github.com/vimeo/player.js/blob/master/docs/migrate-from-froogaloop.md

    Without the file compression the error is at Line 806 in wp-content/themes/enfold/config-templatebuilder/slideshow/slideshow-video.js (Froogaloop)

    If there is no solution, is it possible to overwrite the slideshow-video.js in the child theme?

    #1487238

    Hi,

    Thanks for the update. You could try to deregister the script in question, then use your own code instead: https://developer.wordpress.org/reference/functions/wp_deregister_script/

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.