Conflict mediaelement and FVflowplayer only in courses

Home Forums Legacy Support Support queries Other issues Conflict mediaelement and FVflowplayer only in courses

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #13428
    Deserter92
    Participant
    Hey vibe !   I know somebody already told you that but you didn't give a solution.   I want to us FV Flowplayer as my new video player but when I active the plugin (and put the code in wplms -> footer for the compatibility), the two video player (medialement and fvflowplayer are displaying on a course page, whereas fv flowplayer works in other parts of the site (the course presentation for instance) Please see the screenshots :   http://prntscr.com/9cv2qf : it works in course presentation http://prntscr.com/9cv2w3 : it does not work in course   Thanks for your reply !
    #13583
    Anshuman Sahu
    Keymaster
    Please try the non-ajax courses feature for this . Enable this from Lms -> settings . (http://prntscr.com/9d7fzp) For this to work properly please enable the "Unit locking" -> "Mark previous unit complete" from wplms -> course manager .
    #13657
    Deserter92
    Participant
    I've enabled the non-ajax courses feature anc enable the unit locking in ciurse manager, but nothing has changed... The two media players are displaying in the same page in a course..
    #13821
    Anshuman Sahu
    Keymaster
    Have you checked by embedding the player into wordpress default post and pages ?
    #13822
    Anshuman Sahu
    Keymaster
    If the same isseu is also appearing there then this would be the plugin issue not the theme . Also note here that the wplms theme does not interfere or modify the media player of wordpress . The media is added in the page as the wordpress adds it .
    #14579
    Deserter92
    Participant
    It's i working on th eother pages, but not in a course.   I've paid a premium support from fv flowplayer, this is what they told me :   1) I can see this issue when I open this link even as admin: http://wezzar.com/unit/gankplank/?id=2218 I found it's the "Vibe Course Module" plugin what is initializing MediaElement player. It does so for every video or audio element. I fixed it be replacing lines: $('audio,video').mediaelementplayer(); with: $('audio,video').each( function() { if($(this).parents('.flowplayer').length) return; $(this).mediaelementplayer() } ); In the file: vibe-course-module/includes/js/course.js I did this right on your website. Could you please submit this back to VibeThemes to implement in their plugin to make sure further versions of this plugin won't cause this conflict anymore? ---------------------------
    #14692
    Anshuman Sahu
    Keymaster
    Thanks for the code we will add the fix in the next update of wplms  .  
    #18591
    koenig_aws
    Participant
    Hi, i am facing the same issue with FVflowplayer...can you please share the code or update which Deserter92..have provided.
    #18760
    Anshuman Sahu
    Keymaster
    Here is the solution that Deserter92 has posted : I found it's the "Vibe Course Module" plugin what is initializing MediaElement player. It does so for every video or audio element. I fixed it be replacing lines:   $('audio,video').mediaelementplayer();   with:   $('audio,video').each( function() { if($(this).parents('.flowplayer').length) return; $(this).mediaelementplayer() } );
    #18972
    koenig_aws
    Participant
    Thanks, It works perfectly fine.
Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Conflict mediaelement and FVflowplayer only in courses’ is closed to new replies.