         if not player.paused()
           seconds = player.currentTime()
           scrollCommentTime seconds
-          updateComment()
       , 100
+
+      setInterval ->
+        updateComment()
+      , 33
 
       layoutComment = (chat, chatIndex) ->
         vpos = player.currentTime()
-        videoWidth = videoEl.offsetWidth
+        videoWidth = player.width()
 
         if vpos - settings.commentPostTime < chat.vpos / 100 < vpos + settings.commentPreTime
           scrollTime = (vpos + settings.commentPreTime) - chat.vpos / 100


          commentEl.dataset.line = line
          commentEl.dataset.index = chatIndex
          commentEl.style.top = line * settings.commentHeight + 'px'
          commentEl.style.left = commentOffset + 'px'
          lineEndTimes[index] = chat.vpos / 100 + settings.commentPostTime


      updateComment = ->
        vpos = player.currentTime()
        videoWidth = player.width()

        removalPendingElements = []

