Refactor embedding to pass embed URI parameters.