         @location = "#{window.location.protocol}//#{window.location.host}/#{@location}"
 
     @params = @getParams()
-    @setAllowedRotations([])
+    # Having the Portrait orientation allow for the
+    # webview to go back to Portrait when rotated by another view
+    # e.g when doing video playback
+    @setAllowedRotations([0])
 
 
   preload: (options={}, callbacks={}) ->

      failureCallbacks: [callbacks.onFailure]

  updateKeyboard: (options={}, callbacks={}) ->
    
    params = {}
    
    if options.accessoryBarEnabled?
      params.accessoryBarEnabled = options.accessoryBarEnabled
    
    steroids.nativeBridge.nativeCall
      method: "updateKeyboard"
      parameters: params

      options
    else
      options.color

    steroids.nativeBridge.nativeCall
      method: "setWebViewBackgroundColor"
      parameters:
        color: newColor
      successCallbacks: [callbacks.onSuccess]
      failureCallbacks: [callbacks.onFailure]

  setBackgroundImage: (options={}, callbacks={}) ->
    newImage = if options.constructor.name == "String"
      options
    else
      options.image

    steroids.nativeBridge.nativeCall
      method: "setWebViewBackgroundImage"
      parameters:
