Need to display reports of the watched videos based on hours.
The user may close or kill the application any time or the internet may be disconnected while watching the video in YouTube. However the watched time should be updated in the database for the video.
Ultimate goal is to view the progress of the student like how many videos are watched in terms of its duration. Videos are loaded from YouTube, as it is a third party Plug-in, and need to get the watched from YouTube, which provide the call back function.
Once the video is loaded, it will return On Ready, Call Back, so that system will initialize the Onstate Change. In the Call Back function, when the user is watching Video, it will return the parameters from their system and will take the watched duration. After the duration is received, it will update the details in the database through API and is displayed to the user.
We got a better solution for this case by updating the currently watched duration whenever the user made changes on it. During each 5 seconds we updated current time into database.
Our client is a well-known hearing aid manufacturer in Tamilnadu - Sounds Good Hearing Care, with 7 exclusive branches throughout the state.VIEW MORE
Our client is one of the biggest shirts manufacturers in South India - Hyatt Clothing Co. They are based in Madurai, Tamil Nadu and run 300+ members...VIEW MORE
Thank you for getting in touch! We appreciate you contacting us iSquarebs