           maxLength : 2000
 
     @previousURL = []
+    @requestEmbedLock = off
 
     @largeInput = new KDInputView
       cssClass      : "status-update-input"

          maxLength : 3000
        messages    :
          required  : "Please type a message..."
      paste:=>
        @requestEmbed()
      blur:=>
        @requestEmbed()
      keyup:=>
        if ($(event.which)[0] is 32) # when space key is hit, URL is usually complete
          @requestEmbed()


    @cancelBtn = new KDButtonView
      title       : "Cancel"

    @tagAutoComplete = @tagController.getView()

  requestEmbed:=>
    unless @requestEmbedLock is on
      @requestEmbedLock = on
      setTimeout =>
        firstUrl = @largeInput.getValue().match(/([a-zA-Z]+\:\/\/)?(\w+:\w+@)?([a-zA-Z\d.-]+\.[A-Za-z]{2,4})(:\d+)?(\/\S*)?/g)
        if firstUrl?
          @embedBox.embedLinks.setLinks firstUrl

          unless @previousURL is firstUrl
            @embedBox.embedUrl firstUrl?[0], {
              maxWidth: 525
            }, =>
              @requestEmbedLock = off
              @previousURL = firstUrl
        else
          @requestEmbedLock = off
      ,500

  switchToSmallView:->

