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

Foliovision

  • 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

AJAX Portfolio and flowplayer

Foliovision › Forums › FV Player › Troubleshooting › AJAX Portfolio and flowplayer

  • quantum 10 years, 7 months ago

    hi,

    is the flowplayer actually working in the AJAX Portfolio Item. I allways get an Javascript error.

    if you look at this link

    http://fresh.kobalt.de/?page_id=518

    and then going to the first item in the portfolio “wer ist schön” a video with a description open. it dosn´t open the control bars etc. an i got the error message
    If you do a right button on the video and do a “show control bars” you can play the movie.

    But have checked the “Load JS Everywhere” checkbox. Outside the AJAX Portfolio Item the Plugin works fine.

    Any Ideas ?

    Cheers
    Fab

Viewing 3 replies - 1 through 3 (of 3 total)
  • Martin 11 years ago

    Hello Fab,

    if there any JavaScript event which triggers once the Ajax content finishes loading in your theme?

    There are some other users using that successfully in some themes:

    https://foliovision.com/support/fv-wordpress-flowplayer/troubleshooting/fv-flowplayer-play-button-is-appearing-twice#post-5683
    https://foliovision.com/support/fv-wordpress-flowplayer/requests-and-feedback/u_play-is-not-a-function-fv-player-pro-ver-03#post-5403

    Our ultimate goal is to make this work without you having to put in custom code though. Perhaps we can check if there are new <video> tag periodically and add Flowplayer on them automatically.

    Thanks,
    Martin

    quantum 11 years ago

    Hello Martin,

    i took a look. Yes there is a JavaScript event which triggers once the Ajax content finishes loading in my theme (Enfold).

    in js/avia.js:65-103:


    $.avia_utilities.avia_ajax_call = function(container)
    {
    if(typeof container == 'undefined'){ container = 'body';};

    $('a.avianolink').on('click', function(e){ e.preventDefault(); });
    $('a.aviablank').attr('target', '_blank');

    //activates the prettyphoto lightbox
    $(container).avia_activate_lightbox();

    //scrollspy for main menu. must be located before smoothscrolling
    if($.fn.avia_scrollspy)
    {
    if(container == 'body')
    {
    $('body').avia_scrollspy({target:'.main_menu .menu li > a'});
    }
    else
    {
    $('body').avia_scrollspy('refresh');
    }
    }

    //smooth scrooling
    if($.fn.avia_smoothscroll)
    $('a[href*=#]', container).avia_smoothscroll(container);

    avia_small_fixes(container);

    avia_hover_effect(container);

    avia_iframe_fix(container);

    //activate html5 video player
    if($.fn.avia_html5_activation && $.fn.mediaelementplayer)
    $(".avia_video, .avia_audio", container).avia_html5_activation({ratio:'16:9'});

    }

    could we try putting the flowplayer activation inside there ?

    thanks
    fab

    Martin 11 years ago

    Hello Fab,

    looks like you should be able to replaced the part labeled as “activate html5 video player” with it.

    As I said perhaps we should check if there are new <video> tag periodically and add Flowplayer on them automatically. It would be an advanced integration option available in settings. We will have to discuss this on our team.

    Thanks,
    Martin

Viewing 3 replies - 1 through 3 (of 3 total)
Reply To: AJAX Portfolio and flowplayer



Please Sign in or Register to upload files.

Related Posts

  1. Load flowplayer javascript everywhere option not working with dash

    Load flowplayer javascript everywhere option not working with dash

  2. Load FV Player within Ajax Load More infinite scroll

    Load FV Player within Ajax Load More infinite scroll

  3. FV Player with Ajax-based Wordpress themes?

    FV Player with Ajax-based Wordpress themes?

Primary Sidebar

Troubleshooting

    Categories

    • Business
    • Camera Reviews
    • Case Studies
    • Design
    • FV Player
    • Internet Marketing
    • IT
    • Life
    • SEO
    • Slovak
    • Video of the Week
    • WordPress

    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 © 2026 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‬