BuddyBoss Home – Web Support Forums Themes BuddyBoss theme videos not running

Tagged: 

Viewing 6 posts - 16 through 21 (of 21 total)
  • Question

    #32555
    @michael

    @alext I don’t have a solution just yet, but I can confirm the problem is real, and that it is caused by a conflict with modernizr.min.js, which is a fairly popular script so I am surprised.

    A quick fix would be to comment out the line that loads that script, but that may cause other problems.

    /buddyboss-inc/theme-functions.php

    ~ line 134

    //wp_enqueue_script( 'buddyboss-modernizr', get_template_directory_uri() . '/js/modernizr.min.js', false, '2.7.1', false );

    Answers

    #32761
    @alext

    ok, thanks a lot for this information.
    I just checked – and indeed, the video is running after I commented out the line 134.
    I am a bit concerned about the potential other problems you were talking about – I do not want to open pandora´s box. Where would you anticipate those problems? might there be misfunctions in plugins? certain buddypress components? …

    #32778
    @michael

    Any issues will be with visual stuff, particularly on mobile. The actual issue is a JS conflict between modernizr and fitvids. modernizr is used to add support for JS and CSS features in all browsers, fitvids is used to resize your videos to the width of the page, so they look nice on mobile devices.

    An alternative fix, which is safer, is just to comment out the loading of fitvids.

    /buddyboss/js/buddyboss.js

    Around line 767, section 3.6. Just comment that section out, or delete it. You can revert the other change. This will also solve your problem until we roll out an official patch, and will have no ‘major’ effects. Only issue is that videos will resize wrong (stretched tall) on mobile devices, which isn’t the end of the world.

    #33496
    @michael

    @alext Finally fixed this, available now in 4.0.8

    BuddyBoss 4.0.8

    #33501
    @alext

    Hi,
    and many thanks for the update! installed version 4.0.8 of the theme and everything runs smoothly on all platforms including mobile.
    great support!
    best regards,
    Alex

    #33509
    @michael

    Awesome!

Viewing 6 posts - 16 through 21 (of 21 total)
  • The question ‘videos not running’ is closed to new replies.