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

    video.appendChild source
    source.type="video/"+@elements.videoFormat
    source.src = savePath
    video.width="100%"
    video.height="100%"
    video.style.cssText="
    position:absolute;
    left:0;

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

