25-12-2010, 12:56 AM
[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
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