Okay
  Public Ticket #2372464
Video Item Problem
Closed

Comments

  • Daniel started the conversation

    “Hi, we are having troubles with some broken layouts using your theme in our webpage (www.clintisgood.com). If you access any of our portfolio items from an internal link (homepage for example) any video item inside of it displays incorrectly and results in a broken page layout. Only if you refresh the page or access it directly from an external URL the page displays correctly. It seems it has something to do with media elements.js and ajax not working correctly but it might be something else. Any idea why it is happening? Thanks in advance.”

  •  1,809
    Support replied

    Hi Daniel,

    If I access for example Reel

    https://clintisgood.com/portfolio/reel/

    from the showcase slider I can see (and play) the embedded vimeo video, so I'm not sure what's the portfolio item with problems - can you indicate?

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Daniel replied

    Hello!

    The problem is in the page of the social media project (https://clintisgood.com/portfolio/social-media/) if we access the project through the home page, the videos embedded in the page do not respect the designed format, however if we update the page if it looks like it should be. 

    Thanks!

  •  1,809
    Support replied

    Hello Daniel, this may be an issue with AJAX page transitions and WPBakery elements.

    Try using the child theme we provide (attached)

    Ajax page transitions will load the target page content container within the original page. Since the target page is not loaded normally the <head> and <body> elements will stay the same.

    Since a lot of plugins are using javascript initialisation in the head (or the footer) of the page they don't get called in the target page.

    The solution we found is to put all the extra inits in ajaxSuccess event handler as you can see in the child theme we provide in main archive (I attach it here for your convenience, childscript.js file)

    So if you know what function to call from the plugin API you can add it there.


    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Daniel replied

    Hi, we have updated to Child Theme, the main theme also updated, WP Bakery Builder connected and updated, we also tried to disconnect LiteSpeed Cache in case it was a cache problem and still causes the same problem.

    You can see the error on this service page of our company, the letters and gifs are not respected.

    I share this link.
    https://clintisgood.com/services/
    When you refresh the page is when it loads as it should be seen.
    We are still waiting to start the blog and it is essential that this works.

    We are waiting for news to try and fix it.

    Thank you very much!

  •  1,809
    Support replied

    Hi Daniel,

    you must disable ajax for this page to work (it's created with Elementor) or add it in the menu as custom menu link in this way it will load normally without ajax.

    Send us wp admin access anyway (if possible) for us to test it a bit.

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy