Media

Media renders content like image & video.

Examples

Videos with different fit properties

contain
Thumbnail
fill
Thumbnail

You can check the implementation of the component for more details.

Video exports

You can import this module like so:

import {Video} from 'spaceweb/video'

It exports the following components or utility functions:

  • Video