Web Guide VI : Webpage Video Support (original) (raw)
WebView2
WebView2 supports H.264 out of the box and does not require convertion.
CefSharp
CefSharp browser plugin does not support H.264 codec due to licensing, only vp8/9 supported.
Converting mp4(x264) videos to webm(vp8/9)
- 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.
Creating a webm video webpage
- Create a new text file, open in notepad and paste the following code:
- 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.