             console.log 'downloaded'
             @insertVideo.apply @,[savePath]
         video.pipe fs.createWriteStream(savePath)
-      else
-        @insertVideo savePath
     else
       @removeVideo()
 

      type:'string'
      default:''
      order:1
      description:"paste youtube render video loop url here to have animation"
    textBackground:
      type:"color"
      default:"rgb(0,0,0)"

    videoFormat = @elements.videoFormat
    if url != ''
      ytid = @getYTId url
      @elements.ytid = ytid
      savePath = @elements.videoPath+ytid+videoExt
      alreadyExists = false

