Okay
  Public Ticket #3243410
Compatibility issue with barba.js
Closed

Comments

  • Robert started the conversation
    sonaar.scripts.min.js?ver=4.24.2:1 Uncaught (in promise) Error: Barba.js: no container found
       at Object.getContainer (sonaar.scripts.min.js?ver=4.24.2:1:23337)
       at Object.parseResponse (sonaar.scripts.min.js?ver=4.24.2:1:23031)
       at Barba.Pjax.Dom.parseResponse (sonaar.scripts.min.js?ver=4.24.2:1:174083)
       at sonaar.scripts.min.js?ver=4.24.2:1:21052
    I'm trying to use slider Revolutionthat that uses a JavaScriptthat picks a random Tarot cardand loads it into the far right column 3which has a corresponding URLto take it to a post about the cardit's not loading the post correctlyit's just staying blankhowever if you hit the refresh buttonthe post loads normallytrying to get it to work where when the image is clicked on you don't have to refresh the page it just automatically goes to the page it's supposed tothe code above was from the support teamthat slider Revolutionthey suggested I get a hold of youI'm hope you can help me solve this issue
  •  1,103
    Max replied

    Hi there,

    In most cases, please read this article on how to troubleshoot and workarounds.


    Thanks,


    Max from the Sonaar.io Crew

  • Robert replied

     Thank you very much. When I turned off the continuous player in Ajax the JavaScript worked perfectly; I use many of the slider Revolution plug-in add-ons for effects. I have a question: Can I still use the MP3 player to highlight my album music tracks without the continuous player and Ajax turned on? The constant play is excellent as your browse through the web pages of the website. I would be okay, though, just being able to click on the slider Revolution and pull up the player to play my new songs as I add them to my artist list of songs. I'm only releasing one piece at a time, all under the album heading of works1. I'm just wondering what functionality will still work if I don't turn on continuous player Ajax so that I can allow my other Scripts to function correctly. What functionality options can I use for the MP3 player, and how is it limited when I turn off the continuous player Ajax?

    Again thank you for your time and for helping me to resolve the issue to where my JavaScript is now working.

  •  1,103
    Max replied

    Hi,

    You cannot have the ajax disabled and have the continuous audio playback when you switch page as those 2 features are basically the same feature.

    The player will play the audio in the sticky, but it wont have a continuous playback when you switch to other pages.



    Thanks,


    Max from the Sonaar.io Crew