Hi, first of all thanks a lot for this plugin, that works perfectly on desktop devices.
It works on the mobile devices too, but not when I’m watching videos through my BuddyBoss APP plugin. So there is probably something that interfere with the app.
Do you know about known issues with BuddyBoss App plugin?
Thanks in advance!
]]>Hello there,
Firstly, thanks a lot for this plugin. We have an issue recently, that occurred with latest Learndash versions, when “Video Resume for LearnDash” plugin is activated; the “mark as completed” feature is not working anymore.
Do you think if you can release a fix for this?
Kind regards
]]>This plugin is great but as many have requested it would be great to have it globally enabled. Also in our use case we’d like video resume to also work on some other post types. We made some slight edits to the plugin for you to consider.
edit: ld-video-resume/public/class-video_resume.php
Edit #1:
replace:add_action ( 'learndash-lesson-after', array( $this ,'enqueue_js' ) );
add_action ( 'learndash-topic-after', array( $this ,'enqueue_js' ) );
with:add_action( 'wp_footer', array( $this ,'enqueue_js' ) );
NOTE: this way the code could fire on more post types. Perhaps there is a better way to do this.
Edit #2:
replace:if ( ! isset( $post->post_type ) || ! in_array($post->post_type, array( 'sfwd-lessons', 'sfwd-topic' ) ) ) {
return;
}
with:$video_post_types = array( 'sfwd-lessons', 'sfwd-topic' );
$video_post_types = apply_filters( 'video_resume_post_types', $video_post_types );
if ( ! isset( $post->post_type ) || ! in_array($post->post_type, $video_post_types ) ) {
return;
}
NOTE: This allows the post types to be filtered like this:add_filter('video_resume_post_types','custom_video_resume_post_types',10);
function custom_video_resume_post_types($post_types){
$post_types[] = 'project';
$post_types[] = 'page';
return $post_types;
}
Edit #3:
below line:$video_provider = get_post_meta( $post->ID, 'video_resume_provider', true );
add line:$video_provider = apply_filters( 'video_resume_provider', $video_provider, $post->ID, $post );
NOTE: This allows the provider to be globally or conditionally set like this:add_filter('video_resume_provider','custom_video_resume_provider',10,3);
function custom_video_resume_provider($provider, $postID, $post){
if( ($postID == '20433') && ($post->post_type == 'page')){
$provider = 'vimeo';
} elseif( $post->post_type != 'page' ){
$provider = 'vimeo';
}
return $provider;
}
Does this plugin only work with the video listed? How about Vdocipher?
]]>the topic is closed for replies …
but, really, after 7 months ?
I’ve installed the plugin. How do I get things working now? Is there documentation showing what I need to do? My client uses Vimeo for videos on lesson pages. Do I insert a shortcode or what? Please advise, thanks.
]]>We have hundreds of video lessons, and the last thing I want to do is: log in to every lesson manually, and update it with the default player. Is there a “Global setting” for this to indicate that it’s VIMEO we’ve chosen for playback?
If not, would you mind adding a global setting somewhere in the LearnDash settings area?
Thanks,
Dan
Hello, are you compatible with vimeo unlisted videos? I have an online-course, and I put a vimeo video there, but progression is not saving. I tried 2 ways: Using elementor video block. And using learndash shortcode. Thanks!
]]>Will this work for videos hosted in the WP media library?
Also, is this compatible with LearnDash video progression setting that requires a entire video to be watched before marking a lesson complete? I know the FAQ mentions a LearnDash resume video feature but I can’t find any info on that unless you mean the generic resume button that just takes a user back to the last learndash page they were on?
]]>