added iframe option to embedType