How to Set a Video Wallpaper in Windows XP
April 17th, 2008 . by Markus - Add a Comment
Have you ever wanted to use a video as your wallpaper in Windows XP? Well it is possible and you should be able to get it up and running in a couple of minutes. I will include the files you need below.
To use a video wallpaper (for this guide we are assuming its a .wmv file) the trick is to set a .html page as the background. This .html file will have an embedded video and the video will be set to your screen resolution. The end result is a full screen video wallpaper that looks pretty cool, but admittedly can get pretty annoying.
OK, lets get started.
1) Decide what video you want to use as your background and you will need to know its full file path: eg: c:\documents and settings\videos\myvideo.wmv
2) You need to create the .html file that will be used as the wallpaper. Don’t worry, I have included the template. You just need to edit the filepaths. In the template it will tell you where to edit, just add the path to your file where it says: c:\myvideo.wmv. There will be two places where this needs to be changed. You can also the resolution values to suit your computer.
3) Save your .html file somehwere on your computer.
4) Right-Click on your desktop and select “Properties”. Click the “Desktop” tab. Click the “Browse” button. Locate the .html file you created, click “Open” then click “Apply”.

5) You will now have a video wallpaper as the background
6) To remove it, just go to: Start -> Control Panel -> Display, click on the “Desktop” tab and select a different image for the wallpaper.
The .html template
Copy and paste the code below and save as a .html file. Replace the c:\myvideo.wmv with your video path. You need to change in 2 places. You may also need to change the resolution values depending on your computer.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Video Wallpaper</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
</head>
<body>
<OBJECT ID="wmplayer2" width="1024" height="768" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">
<PARAM name="URL" value="c:\myvideo.wmv">
<param name="autostart" value="true">
<param name="uimode" value="none">
<param name="stretchtofit" value="true">
<param name="playcount" value="999999">
<embed name="wmplayer2" loop="true" width="1024" height="768" type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/"
src="c:\myvideo.wmv" AutoStart="true"></embed>
</object>
</body>
</html>

Posted in
3 Responses to “How to Set a Video Wallpaper in Windows XP”

Cheers guys. I just added a dirty background
Cool Andrew, care to share :)
when i set my .html file as the wallpaper it jsut displays the text ? nay help