How to recognize if player is embed iframe or thumbnail way?

as in topic - how from the code recognize embed type?

On the kdpReady event take the dom element of the player and check if it has child (or sub child) of type img

1 Like

Thanks, this is a good way to get it on the page but i would like to know it from the plugin. Can i do it anyhow from the code? on the page (if its generated by KalturaEmbedCodeGenerator) i can even use window.embedType but from the code it doesnt work

can you discover the id of the object from the player? (embedPlayer)