-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Web Guide VI : Webpage Video Support
Dani John edited this page Sep 4, 2025
·
47 revisions
WebView2 supports H.264 out of the box and does not require convertion.
CefSharp browser plugin does not support H.264 codec due to licensing, only vp8/9 supported.
- To convert existing video files you can use third party software such as HandBreak
- Open handbreak & in Source selection select the video file.
- In Summary under Format select WebM.
- In Video select VP8 or VP9 as Video Codec.
- Click on Start Encode.
- Video will be available in Save As location.
- Create a new text file, open in notepad and paste the following code:
<!DOCTYPE html>
<head>
<style>
body{
margin: 0;
overflow: hidden;
}
video{
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<video src="video_file_name.webm" autoplay muted loop></video>
</body>
</html>- Save & change the file extension to html.
- Place the video file in the same folder with the correct name: video_file_name.webm
- (Optional) Use Livelypropertie's Folder Dropdown to change video clip during playback.