In this age of information, analytics are king. Content providers like to know how their products are being used and when people are using specific features. It comes as no surprise that many providers want to know how their videos are being watched so they can improve the viewing experience. Surely, knowing your audience and their viewing habits are a sure fire way to keep everybody happy.
How to do itAll you need to do here is set up a normal JW Player embed like we always do, and use our API, and onComplete(), to tell the player to display the call to action at the end. This demo shows a movie preview with a CTA to watch the entire film when the preview is over:
IntroductionJW Player is a great tool for showing off your video and audio files on the web. In addition to playing media, many users are also monetizing their content with the help of the player’s advertising capabilities. While showing ads before, after, and during your content is great, thanks to the robustness of our API, there are ways to get creative.
As long as our player has been around, we have received requests from our customers asking for the ability to age gate their users. This feature presents users with an age verification prompt requiring them to enter their birthday. If the users are older than the required age, they are granted access to watch the video (i.e. video playback starts). If they are younger than the required age, they are taken to a different page and are unable to view the video. It is a simple, but useful feature to restrict underage viewers from mature content.
If you are looking to encode only a couple of videos, you could consider converting all videos manually, but if you have a larger library, it is important to replace any manual steps with a good encoding pipeline. Amazon’s Elastic transcoder has all the important components you need to create a transcoding pipeline using Amazon’s API’s.