When using embed codes, you can select from one of three options: Auto Embed, Dynamic Embed and Iframe Embed. You may want to use different embed code types in different situations, according to the explanations below.
Auto embed is the recommended embed code for the Kaltura Player. It uses precise code and is good for getting a player or widget onto the page quickly and easily without any runtime customizations.
Auto embed is optimized for packing a lots of resources into the initial request, allowing the player to be rendered quickly.
Here’s how to use the auto embed code:
Dynamic embed is recommended for cases where you want to control runtime configuration dynamically and/or have more control over the embed call.
Basic dynamic embed codes look like this:
Note that if you use the iFrame-only embed mode, the page won’t be able to access the player API: