Hello Haris,
Did you run into any issues when trying to use the full FV Player LearnDash integration? https://foliovision.com/player/membership-ppv-elearning/elearning/learndash-progression-player
If you are unable to use that, do you mean the “Handle WordPress audio/video” setting? It does not have any finer control, at least not currently.
You explained that you don’t want FV Player to work for videos in LearnDash, please let us know where do you actually want it to work.
Currently you could only stop it with in your PHP display template:
remove_filter( 'wp_video_shortcode_override', 'fv_flowplayer_shortcode_video', 10, 4 );
remove_filter( 'the_content', 'fv_player_handle_youtube_links' );
remove_filter( 'embed_oembed_html', 'fv_player_handle_youtube_links' );
However that won’t work if you are using a block theme.
I wonder why the shortcode does not show properly in that LearnDash lesson content. Are you using any custom LearnDash theme or does your theme do anything special with LearnDash?
Thanks,
Martin
-
This reply was modified 2 years, 7 months ago by
FolioVision. Reason: Adding more code to avoid YouTube links changing to FV Player
thanks so much! these 2 filters are working now. So that I can enable the Handle WP Video setting, while excluding any youtube links added in the content.
remove_filter( 'the_content', 'fv_player_handle_youtube_links' );
remove_filter( 'embed_oembed_html', 'fv_player_handle_youtube_links' );
I use the default Learndash Video Progression video link input (many older courses already using this method) before installing FVplayer which adds new setting for progression video and dedicated select video option.
Since im not using the FV setting in the video progression, when the main setting Handle WP Video is enabled, it was also applied the shortcode to progression video..
-
This reply was modified 2 years, 7 months ago by
Haris Rifqi.