Hi,
I plan to build an application that will award user with a “coin” for watching youtube videos until the end. Is there any simple solution for this?
Regards,
Rafal
Hi,
I plan to build an application that will award user with a “coin” for watching youtube videos until the end. Is there any simple solution for this?
Regards,
Rafal
I assume you’re asking specifically about how to detect when a user has watched a YouTube video all the way to the end…
In which case you’ll need to use the YouTube Player API… you can either do that yourself (using your own JavaScript), or you can use one of the various Bubble YouTube Plugins such as YouTube Video Player Plugin | Bubble or YouTube Full Control Player and API Plugin | Bubble
Thank You Adam. Have you ever tried to create something similar? Can you suggest something more?
Something more about what?
Is there any other services that let you know when someone has watched the whole video?
Is there any other services that let you know when someone has watched the whole video?
Most video players (e.g. YouTube, Vimeo, Wistia, Ziggeo etc. as well as generic players like Video.js) will have an event for ‘video ended’ letting you know when a video has reached the end (if that’s what you’re referring to) - although that doesn’t necessarily mean the user has watched the whole video, just that they’ve reached the end of it (they might have skipped most of it).
If you specifically want to know if they’ve watched it all, they you’ll need to track how much of it they’ve watched, and compare that to the total video length…
Again, most players let you track the play position, start position, end position etc. so you can use that data to determine if/when a user has watched all (or any other specified percentage) of a video…
There are plugins in Bubble for some of the more popular players or, of course, you can use your own custom JS if you’re able to.