• Resolved mcfly01

    (@mcfly01)


    Hello,
    I installed your player and it worked But as i using AJAX for audio player (background), after changing the page to page with your player, player (playlist) doesn’t load.
    I know that this problem arises beacause necessary javascript doesn’t load, but i can’t find what script is necessary, to load videoplayer.

    Can you suggest the solution to that problem, maybe javascript which i should load with my audioplayer?

    I can add to ajax custom javasript.

    Thank you,
    With best regards.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter mcfly01

    (@mcfly01)

    Hello,
    Thank you for reply.
    He it is https://pobeda.life/film-schaslivie-ludi/

    Now ajax is on. To see the bug it needs to go to https://pobeda.life/blog/ and click to post page “Фильм ?Счастливые люди?”.

    Plugin Author plugin.builders

    (@pluginbuilders)

    Hi, sorry for the delay. Your Vimeo video is playing fine here: https://pobeda.life/film-schaslivie-ludi/

    I couldn’t find “Фильм ?Счастливые люди?” in https://pobeda.life/blog/

    Thread Starter mcfly01

    (@mcfly01)

    Thank you for reply.
    Yes it works but it doesn’t work when i go to this page from another.
    Please visit this page https://pobeda.life/film-schaslivie-ludi/
    from this page https://pobeda.life/tag/priroda/
    “Фильм ?Счастливые люди?

    ?Счастливые люди? — цикл документальных фильмов о жизни и быте небольшого таежного поселка Бахта Туруханского района Красноярского края. Бахта находится в самом центре нашей Далее…”

    or that page https://pobeda.life/blog/

    Plugin Author plugin.builders

    (@pluginbuilders)

    Your theme is removing <script> tags present in the AJAX response. Frames has many <script> tags with data and templates in them.

    Your theme has to add those <script> tags too.

    I can provide you with this alternative, it’ll reload the page, i.e. this page won’t load via ajax. Anytime you click on a link to film-schaslivie-ludi, it’ll reload the page, so the player will work.

    Add the following script in one of your theme’s JavaScript file and save. Press CTRL+F5 in the front after saving ( to clear any cache of old file ).

    jQuery('body').on('click', 'a', function(e){ if( jQuery(this).attr('href').indexOf('/film-schaslivie-ludi') > -1 ) window.location = 'https://pobeda.life/film-schaslivie-ludi/'; })

    Thread Starter mcfly01

    (@mcfly01)

    I am very grateful to you for the answer. It is a good idea. However, it is a pity that ajax will not work fully on the website.

    I will try your recomendation using my theme options (the print screen is attached).

    https://yadi.sk/i/lneRH2tqynKFH

    I was just thinking that a script that is not loaded with AJAX I can add in the “Custom javascript” fiel in my theme options.

    Thank you.

    Plugin Author plugin.builders

    (@pluginbuilders)

    Hi, Frames will load JavaScript specific to a player, so you cannot preload it. It’s generated on the fly.
    Try asking your theme developer about this.

    Thread Starter mcfly01

    (@mcfly01)

    Hello,
    They (theme developer) don’t want to help with this problem.

    I used your recomendations (to load page without ajax) and it works, but i fond another problem. My category page with post which includes your video player don’t load with ajax. Maybe you will suggest something?

    There are print screens.

    https://yadi.sk/i/ZhxfkROSzB6Y3
    https://yadi.sk/i/qAGMKLlwzB6Y9

    So to looks at error you need to go to page https://pobeda.life , using menu chose “Блог” then “Живая природа”.

    https://pobeda.life/category/filmi/zhivaia-priroda/

    Thank you,
    With best regards.

    Plugin Author plugin.builders

    (@pluginbuilders)

    Hi, do you have Load Everywhere checked in Settings tab of Frames page? If yes, try unchecking it.

    Thread Starter mcfly01

    (@mcfly01)

    Thank you. It works. I have turned it on.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Player doesn’t load with AJAX’ is closed to new replies.