Video player embed code types
VIXY offers multiple ways to embed the video player in your website or app, in this article we explain the different embed code types.
Within VIXY the following embed options are available:
- Auto Embed – (default) Auto embed is concise embed code and is good for quickly getting a player or widget onto the page without many runtime customizations (flashvars).
- Dynamic Embed – This is the preferred method to dynamically embed the VIXY player into web sites and web applications. The advantages over an object or Flash library rewrite are:
- Fast - does not have to wait for dom ready to output the Flash or HTML5 player
- Clean - uses JSON embed configuration for easy runtime customization, no long messy param strings
- Dynamic - better supports dynamic HTML5 and Flash embed methods, responsive web design, and CSS inheritance of embed target.
- Thumbnail Embed – This method takes the same arguments as the dynamic embed. Thumbnail embed passes the entire configuration to the kWidget.embed when the user "clicks" on the play button. This is the recommended method to use when you need to embed many players/entries in the same web page.
- Legacy Flash Embed (Object Rewrite) – The basic player rewrites works by including the JavaScript library followed by the Flash object tag embed. This option should be used only when JavaScript cannot be embedded or you don’t require high performance HTML5 support.
- Iframe, no page JavaScript embed - iframe embed is good for sites that do not allow 3rd party JavaScript to be embedded on their pages. This mode fits more stringent page security requirements while supporting both Flash and HTML5