UTM CSSC

Video Container

This is a repsonsive video container making it easy to add videos on our resource pages!

How to use:

Users can use the video container by simply calling:

  • <VideoContainer> </VideoContainer>

These elements are like any other default HTML elements such as <h1>. The user can adjust the element by passing in specific prop values

Props

NameTypeDescription
vid-srcStringPut the url of the iframe we want to display

Example

<VideoContainer
vid-src="https://www.youtube.com/embed/SS-9y0H3Si8">
</VideoContainer>