Skip to main content
Back to all ideas

Expose fluent_player/watch_recorded

Ideas

Please make it so that I can use fluent_player/watch_recorded without having to be inside of a Learn Dash lesson.

I want to build my own functionality to store individual users watch times on the server so I can build long story sort something similar to youtube/netflix with continue watching etc, progress bars for videos on a video catelog page etc.

Currently that functionality somewhat exists within the code, I checked it's fluent_player/watch_recorded but it requires you to be within a learn dash lesson and have the pro version.

I currently am not within a learn dash lesson and have no intention of adding it just to achieve this functionality.

Please expose fluent_player/watch_recorded and make it so it is triggered every couple of seconds (or 15 as it currently is) so I can update user meta and use it for my own things.

My use case:

add_action('fluent_player/watch_recorded', function ($media_id, $user_id, $payload) {
error_log('I would update the user meta here for the certain media id.');
}, 10, 3);

Then I could call the user meta elsewhere via a shortcode or something I make.

It would also allow me to build my own server side storage too so that when a user logs in on another device the video continues from where they was on their other device.

Or... please just give me the ability to store watch time for users server side natively and let them continue watching on different devices. Though, both would be awesome. ANy questions please shoot me an email :).

0 followers

0 comments