-
I’m using files with m2u8 extension and player position save does not work because in the wp_fv_player_user_video_positions table the legacy_video_id field is always “video”.
I noticed that in the
get_extensionless_file_name
function in the fv-player/models/player-position-save.php file for m2u8 files the previous path to the file name is taken as the video name, but in my case it is always “video” and the video id is in a previous position.To temporarily solve the problem I added this apply_filters before the return of the function:
$video_name = apply_filters('fv_player_position_save_file_name', $video_name, $path);
Can you add this filter in one of the next versions of the plugin?