<!-- CHANGE VIDEO BY WITH "videoId" VALUE --><!-- [et_pb_line_break_holder] --><!-- CHANGE FORWARDING LOCATION BY WITH "location.assign" VALUE --><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><div id="player" style="border: 7px solid white;"></div><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> <script src="https://www.youtube.com/player_api"></script><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> <script><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> // create youtube player<!-- [et_pb_line_break_holder] --> var player;<!-- [et_pb_line_break_holder] --> function onYouTubePlayerAPIReady() {<!-- [et_pb_line_break_holder] --> player = new YT.Player("player", {<!-- [et_pb_line_break_holder] --> width: "800",<!-- [et_pb_line_break_holder] --> height: "390",<!-- [et_pb_line_break_holder] --> videoId: "YqNYrYUiMfg",<!-- [et_pb_line_break_holder] --> playerVars: { "modestbranding": 1, "autoplay": 1, "controls": 0, "rel": 0, "cc_load_policy": 1 },<!-- [et_pb_line_break_holder] --> events: {<!-- [et_pb_line_break_holder] --> onReady: onPlayerReady,<!-- [et_pb_line_break_holder] --> onStateChange: onPlayerStateChange<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> });<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> // autoplay video<!-- [et_pb_line_break_holder] --> function onPlayerReady(event) {<!-- [et_pb_line_break_holder] --> event.target.playVideo();<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> // when video ends<!-- [et_pb_line_break_holder] --> //Use assign() instead of replace if you want to have the first page in the history<!-- [et_pb_line_break_holder] --> function onPlayerStateChange(event) { <!-- [et_pb_line_break_holder] --> if(event.data === 0) { <!-- [et_pb_line_break_holder] --> location.assign("/movies-4/claim/");<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> </script>
Play the trailer, then claim your tickets!