Embedded Video
YouTube video
ESL Media has full support of YouTube provider. And you can use esl media component the same way as a native video element
HTML video
ESL Media can be used for simple HTML videos. It brings us the ability to use extra features (like lazy loading or cropping) for simple videos.
Basic Iframe Example
ESL Media also has build-in provider to wrap abstract iframe source. Here is a simple example for Vimeo media source
Basic Iframe provider has limited API so you can only show/hide/reinitialize inner iframe
HTML video background
Cropping and decorations features of ESL Media allows us to use it as an active background for the block.
Background media
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
YouTube video background
We still can use any source in background mode
Background media
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.