Home › Forums › Legacy Support › Support queries › Other issues › Conflict mediaelement and FVflowplayer only in courses
Tagged: flowplayer, medialement, video
- This topic has 9 replies, 3 voices, and was last updated 8 years, 11 months ago by koenig_aws.
Viewing 10 posts - 1 through 10 (of 10 total)
-
AuthorPosts
-
December 11, 2015 at 10:52 am #13428Deserter92ParticipantHey 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 !December 12, 2015 at 7:45 am #13583Anshuman SahuKeymasterPlease 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 .December 12, 2015 at 11:52 am #13657Deserter92ParticipantI'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..December 14, 2015 at 11:32 am #13821Anshuman SahuKeymasterHave you checked by embedding the player into wordpress default post and pages ?December 14, 2015 at 11:33 am #13822Anshuman SahuKeymasterIf 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 .December 18, 2015 at 3:29 pm #14579Deserter92ParticipantIt'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? ---------------------------December 19, 2015 at 10:46 am #14692Anshuman SahuKeymasterThanks for the code we will add the fix in the next update of wplms .January 15, 2016 at 12:20 pm #18591koenig_awsParticipantHi, i am facing the same issue with FVflowplayer...can you please share the code or update which Deserter92..have provided.January 16, 2016 at 11:13 am #18760Anshuman SahuKeymasterHere 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() } );January 18, 2016 at 7:21 am #18972koenig_awsParticipantThanks, It works perfectly fine.
-
AuthorPosts
Viewing 10 posts - 1 through 10 (of 10 total)
- The topic ‘Conflict mediaelement and FVflowplayer only in courses’ is closed to new replies.