How do I add fullscreen to wmv html?

Asked By 20 points N/A Posted on -

Hi guys.  I'm trying to create an HTML webpage and I was wondering how I can embed a Windows Media Video on the webpage in full screen.  How do I add fullscreen to WMV HTML?  Any suggestions would be highly appreciated.  Thank you.

Answered By 80 points N/A #134869

How do I add fullscreen to wmv html?


Greetings David Aames,

You can use the JavaScript function for your video to go to your. The code is attached in the txt file below. That part goes in the <head> part of your html.


Now you need to do 2 things in body part of the document.

1. Make sure you give id=video to your object tag where your video is.

Then simply add the following function below the object tag.

<a href="javascript:fullScreen();"><img src="full-screen-button.gif"
width="150" height="70" border="0"></a>

full-screen-button.gif is an image you need to make for that button. The Width and height are the dimensions of that. You can tinker with that. Once that button is pressed the WMV will go full screen.

Hope I helped you,

Login/Register to Answer

Related Questions