<div id="player"></div><!-- [et_pb_line_break_holder] --><script><!-- [et_pb_line_break_holder] -->var tag = document.createElement('script');<!-- [et_pb_line_break_holder] -->tag.src = "https://www.youtube.com/iframe_api";<!-- [et_pb_line_break_holder] -->var firstScriptTag = document.getElementsByTagName('script')[0];<!-- [et_pb_line_break_holder] -->firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->var player;<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->function onYouTubeIframeAPIReady() {<!-- [et_pb_line_break_holder] --> player = new YT.Player('player', {<!-- [et_pb_line_break_holder] --> height: '219',<!-- [et_pb_line_break_holder] --> width: '386',<!-- [et_pb_line_break_holder] --> playerVars: { 'rel':0, 'autoplay': 1, 'controls': 0 },<!-- [et_pb_line_break_holder] --> videoId: '5znXeWZrWtU',<!-- [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] -->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] -->var done = false;<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->function onPlayerStateChange(event) { <!-- [et_pb_line_break_holder] --> if(event.data === YT.PlayerState.ENDED) { <!-- [et_pb_line_break_holder] --> stopVideo();<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->function stopVideo() {<!-- [et_pb_line_break_holder] --> player.stopVideo();<!-- [et_pb_line_break_holder] --> document.getElementById("player").style.display = "none";<!-- [et_pb_line_break_holder] --> document.getElementsByClassName('fluid-width-video-wrapper').style.padding = "0"; <!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] --></script>