Home › Forums › Legacy Support › Support queries › Setup issues › FV Player issue
- This topic has 16 replies, 3 voices, and was last updated 2 years, 11 months ago by Anshuman Sahu.
-
AuthorPosts
-
January 7, 2022 at 9:44 pm #377347javadhSpectatorHi I have added an FV Player shortcode to a unit. I tried following this instruction for enabling FV Player and upon enabling "Load FV Flowplayer JS everywhere" the player looks like this and when I add the below code, this error is displayed. add_action('wp_enqueue_scripts',function(){ ?> < script> document.addEventListener('unit_loaded', function(){ setTimeout( fv_player_load, 10 ); }); < /script>January 8, 2022 at 6:58 am #377353VeronicaModeratorhi try to add this code
add_action('wp_enqueue_scripts',function(){ < script> document.addEventListener('unit_loaded', function(){ setTimeout( fv_player_load, 10 ); }); < /script> });
January 8, 2022 at 7:18 am #377357javadhSpectatorI added the code to the below file and still, the player is displayed without controls (Screenshot) public_html/wp-content/plugins/wplms-customizer/wplms-customizer.phpJanuary 10, 2022 at 5:45 am #377457javadhSpectatorHi Any updates?January 10, 2022 at 2:26 pm #377505Anshuman SahuKeymasterCould you please share your site url and admin creds in private reply .January 12, 2022 at 9:36 am #377679javadhSpectatorThis reply has been marked as private.January 13, 2022 at 3:47 pm #377805Anshuman SahuKeymasterHi please use the code instead L:add_action('wp_footer',function(){ < script> document.addEventListener('unit_loaded', function(){ setTimeout( fv_player_load, 1000 ); }); < /script> });
January 14, 2022 at 6:39 am #377821January 15, 2022 at 5:17 am #377889VeronicaModeratorhi try to add this:add_action('wp_footer',function(){ ?> <script> document.addEventListener('unit_loaded', function(){ setTimeout(fv_player_load, 1000 ); }); </script> <?php });
January 16, 2022 at 7:43 am #377938javadhSpectatorThanks for your reply. The FV player is now appearing and it's working except for that it has issues with loading all features. I decided to use the FV player because of a very valuable feature and which is the player remembers the video position so when a student comes back to watch the video or listen to the audio file, the player continues playing from where the student left off. The problem is that this feature does not work all the time so when a student reloads the page or goes to another unit, the video position is not remembered. WPLMS is a good plugin overall but this feature is a must for any LMS because students should be able to easily continue viewing videos and listening to audio from where they left off and unfortunately WPLMS lacks this important feature.January 17, 2022 at 4:05 pm #378032Anshuman SahuKeymasterWell the feature to remember the play position also available in our plyr as well .Did you tried our video units , its supported in all video types /January 18, 2022 at 10:10 am #378079javadhSpectatorHi Does the remember the play position feature work with audio files as well?January 19, 2022 at 4:07 pm #378180Anshuman SahuKeymasterNO the support for audio files resume is not supported as of now . IF you intend to use the fv player audio then I would recommend to use the Elementor unit type and add the fv player shortcode in it .January 20, 2022 at 8:05 am #378223javadhSpectatorThanks for the recommendation. The FV player remembers playback position when you refresh the page but when you're inside a unit and you go to another unit and come back to the initial unit, it no longer remembers the position and starts from the beginning. My guess is that when you change the unit, it uses AJAX so somehow the position is not remembered. Whereas when you reload the page, it remembers the position.January 21, 2022 at 3:41 pm #378380Anshuman SahuKeymasterHi using the elementor units would solve this problem , did you try it? -
AuthorPosts
- The topic ‘FV Player issue’ is closed to new replies.