brand icon indicating copy to clipboard operation
brand copied to clipboard

[Feature Request] Ability to add Videos to the Hero.

Open joshvogel17 opened this issue 1 year ago • 0 comments

Proposal There is a need to display videos in the Hero given a url for the video source. The video would be located in the same place as the Hero.Image and follow the same positioning logic. A Hero could only have an image or a video. If a Hero is given both, the Hero.Image would take priority.

Possible Solution Create a Hero.Video component that has videoSrc as a parameter. The Hero.Video would be placed in the same Grid.Column as the Hero.Image so that it would adhere to the imagePosition logic.

Only render the Hero.Video if there is no Hero.Image component.

Example Video in Hero

Image

joshvogel17 avatar Jun 04 '24 20:06 joshvogel17