Sample #3
Interactivity on top of HTML5 video tag
Adways builds the interactivity on top of a HTML5 video tag already existing
<video id="player-html5" controls width="450" height="264"> <source src="http://www.w3schools.com/html/mov_bbb.mp4" type="video/mp4"> <source src="http://www.w3schools.com/html/mov_bbb.ogg" type="video/ogg"> Your browser does not support HTML5 video. </video> <script type="text/javascript" src="//dj5ag5n6bpdxo.cloudfront.net/libs/interactive/loader.js"></script> <script type="text/javascript"> var experience = new adways.interactive.Experience(); experience.setPublicationID("mpNHyTH"); experience.setPlayerAPI(document.getElementById("player-html5")); experience.setPlayerClass("html5"); experience.load(); </script>