• Resolved Haris Rifqi

    (@lamanrasmi)


    How can i exclude handling any youtube link on FVPlayer? because the only setting available make it overtake all video on WP including youtube link.

    This create conflicts with learndash lesson video. I want to use the default video setting on lesson progression (without fvplayer). But due to the shortcode overriding settings, it override the learndash function & simply display fvplayer shortcode with no video.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Haris Rifqi

    (@lamanrasmi)

    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

    Thread Starter Haris Rifqi

    (@lamanrasmi)

    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 1 year, 1 month ago by Haris Rifqi.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Handle WordPress Video, except youtube link’ is closed to new replies.