<!-- Import Popcorn and smilText JS libraries: see source code --><script type="text/javascript" src="js/popcorn_smilText.js"></script>
<script> document.addEventListener('DOMContentLoaded', function () { var pop = Popcorn('#video'); // add a smilText container starting at 16 secondspop.smilText({ source: "smilText-source", // id of smilText container target: "smilText-target", // optional start: "16s", // optional master: pop // popcorn element });
pop.play(); }, false); </script> <body> ...<smilText id="smilText-source" textFontSize="24" dur="6s"> <tev begin="1.5s"></tev> We start our tour with a ride on the famous Staten Island Ferry. <clear begin="6s"></clear> </smilText>
... </body>