sanch3x
12-07-2004, 01:45 PM
Hey everyone
I am working on a website for work and I have to stream a video on the webpage. The problem is that there are many videos and they aren't all the same size (height and width wise.. no memory size). Thing is whenever a video is too big it disrupts the website's design and is pretty ugly. My only solution so far was to open the video in a new window with no layout but that's not really what my employer had in mind.
Is there a way to make the media player in the webpage have static height/width regardless of the size of the video? If it can help here's the script (real simple):
<script language="Javascript">
if( g_bNetscape )
{
document.writeln( "<applet mayscript code=WMPNS.WMP name=WMP1 width=300 height=200 mayscript >" );
}
</script>
<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" ID="WMP">
<param name="Name" VALUE="WMP1">
<param name="URL" VALUE="video.mpg">
</object>
</applet>
Any help would be appreciated! Thanks!
Seb
I am working on a website for work and I have to stream a video on the webpage. The problem is that there are many videos and they aren't all the same size (height and width wise.. no memory size). Thing is whenever a video is too big it disrupts the website's design and is pretty ugly. My only solution so far was to open the video in a new window with no layout but that's not really what my employer had in mind.
Is there a way to make the media player in the webpage have static height/width regardless of the size of the video? If it can help here's the script (real simple):
<script language="Javascript">
if( g_bNetscape )
{
document.writeln( "<applet mayscript code=WMPNS.WMP name=WMP1 width=300 height=200 mayscript >" );
}
</script>
<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" ID="WMP">
<param name="Name" VALUE="WMP1">
<param name="URL" VALUE="video.mpg">
</object>
</applet>
Any help would be appreciated! Thanks!
Seb