 
     KD.utils.defer => @markers.reset()
 
-
   hide:->
-
     @setClass 'out'
     document.body.classList.remove 'intro'
 

            "width=#{w},height=#{h},left=#{Math.floor (screen.width/2) - (w/2)},top=#{Math.floor (screen.height/2) - (h/2)}"

    @markers = new MarkerController


  showVideo:->

    @play.hide()
    @markers.hide 'teamwork'
    @$('figure.laptop section.teamwork').hide()
    @$('figure.laptop').append iframe



  hideVideo:->

    @play.show()
    @$('figure.laptop section.teamwork').show()
    @$('figure.laptop iframe').remove()
    KD.utils.wait 1000, => @markers.show 'teamwork'


  show:->

    @appendToDomBody()  unless document.getElementById 'home-page'

    @unsetClass 'out'

class HomePage extends JView

  iframe = """<iframe src="//www.youtube.com/embed/5E85g_ddV3A?autoplay=1&origin=https://koding.com&showinfo=0&theme=dark&modestbranding=1&autohide=1&loop=1" width="853" height="480" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>"""

  partialData = KD.customPartial?.partial or {}

  constructor:(options = {}, data)->

