Skip to content

Web Guide VI : Webpage Video Support

Dani John edited this page Nov 7, 2020 · 41 revisions

Starting with Version 0.9.6.0 Lively supports videos in webpages (web type wallpapers.)

Creating a simple webm video playing webpage

  1. Make sure installed version of Lively is v0.9.6 or above.
  2. Video files need to be in .webm format with VP8 or higher codec, this is a licensing limitation.
  3. 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>
  1. Save & change the file extension to html.
  2. Place the video file in the same folder with the correct name: video_file_name.webm
  3. (Optional) Use Livelypropertie's Folder Dropdown to change video clip during playback.

Converting existing videos to webm

  1. To convert existing video files you can use third party software such as HandBreak
  2. Open handbreak & in Source selection select the video file.
  3. In Summary under Format select WebM.
  4. In Video select VP8 or VP9 as Video Codec.
  5. Click on Start Encode.