Html5 video player code3/19/2023 A measurement plan will help with implementation and provide documentation into the future. I am not going to cover the measurement plan here, but I strongly encourage you to map out what aspects of video playback you need to capture and select the SiteCatalyst variables you will use before you start modifying your code. _Access to s_code.js file: _This solution requires the addition of code within the s_code.js file.Ībility to add code to your site: In addition to s_code changes, you may also need to add additional js code to the player.Ī copy of t_he most recent version of the Media Module measurement library:_ The Media Module JavaScript code is currently available through tag manager or from Client Care. In order to implement video analytics for your HTML5 video player, you will need the following items: The player is the unifying point for all things video, from metadata to playback location, making it the ideal place to add analytics code. Again, your video player developers should provide more documentation describing how to map the player.Īs covered in my basic video measurement implementation post, video tracking is all about the player technology. Hybrid players have a very similar implementation to this HTML5 example however, in the Player Mapping section, a Hybrid player will rely on the JavaScript API code rather than the standard HTML5 JavaScript. In the previous Flash Video Measurement post, I mentioned a growing trend for Flash players to be Hybrid players, where video playback will occur within Flash when available and fall-back to using an HTML5 video player in environments where Flash is not available. Please check with the developers and documentation for the video player code you are using. If you are using this kind of enhanced HTML5 player, then the instructions within the Player Mapping area may need to be modified for your player. Most likely, if your video player is HTML5, it has additional code libraries associated with it that add enhancements and features beyond basic HTML code. I believe this example will provide you with the most basic explanation of how to add analytics to your HTML5 player. In this post, we will look at how to implement video measurement for a very simple HTML5 video player. HTML5 video player technology is gaining popularity because the player technology is supported across more browsers and devices than any other video player technology. This post is part of an on-going series on video measurement tips, tricks, and best practices.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |