brand
brand copied to clipboard
[Feature Request] Ability to add Videos to the Hero.
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