howtothings.co.uk

Full Version: [TUT][How to] Set a HTML file as your desktop wallpaper
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[TUT][How to] Set a HTML file as your desktop wallpaper

This is a quick tutorial on how to set your Windows desktop wallpaper as a HTML file, the possibilities from here onwards are pretty much endless as you can do things such as embedding videos. Another bonus, no extra software is needed.


Steps

To set your desktop background as a HTML file, follow the following steps.

1) Right click the desktop and select Properties

2) Select the Desktop tab then click Browse

3) Change the "Files of type:" from Background files to HTML Documents then select your HTML file. Apply, then OK.


You can do things such as embedding video

1) Put the following code into a HTML file.

[code=html]
<html>
<body>
<center>
<embed pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="FILENAME.mpg" type="application/x-mplayer2" showstatusbar="0" volume="0" loop="true" autostart="1" height="800" width="1280">
</center>
</body>
</html>
[/code]

2) Replace FILENAME.mpg with the name of your video file.

3) Replace height=”800″ with the vertical pixels your screen displays +100 (If you run 1024×768 you’ll use 868)

4) Replace width=”1280″ with the horizontal pixels your screen displays (If you run 1024×768 you’ll use 1024)

5) Save the notepad file as ANYTHING.html

6) Copy the video file to the directory as the html file

7) Set the HTML file as your wallpaper
Worth Noting: Doesn't work in Vista/Windows7 Afaik. I did try and follow along best I could, but the setting of backgrounds is changed much in Vista/W7
Yeah. I think this only works in XP. I was having a play with it, trying to get Google as the wallpaper on my XP VM - but no dice.
I believe it works in 2000. But don't quote me on that. iirc in 2000 you could create HTML objects, as opposed to having it as a full wallpaper.