Asked By
David Aames
20 points
N/A
Posted on - 03/25/2013
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.
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,