added isEmbedEnabled