 
       inline @elements.workspace,'background:'+newColor+' !important;'
 
-      @blurImage()
-
-      # Youtube
-      @startYouTube()
 
       if conf.treeViewOpacity > 0
         inline @elements.treeView,'background:'+newTreeRGBA+' !important;'

    if url!=''
      ytreg = /// (?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)
      |youtu\.be\/)([^"&?\/ ]{11}) ///i
      ytid=ytreg.exec(url)

  startYouTube: ->
    conf = atom.config.get 'editor-background'
    if conf.youTubeURL? != ''
      ytid = @generateYTid conf.youTubeURL
      console.log ytid

  getOffset: (element, offset) ->
    {left:0,top:0}

      @colors.workspaceBgColor=style(@elements.editor).backgroundColor
      @colors.treeOriginalRGB=style(@elements.treeView).backgroundColor
      @packagesLoaded = true

      @blurImage()
      @applyBackground.apply @
    else
      setTimeout (=>@initialize.apply @),1000
