|
|
|
|
| Author |
Message |
Tx2 Guest
|
Posted: Sun Jan 07, 2007 10:37 pm Post subject: Yes, another streaming web cam question! |
|
|
I am using the code below in a very basic web page i am testing to view
streaming video from a web cam. I've deliberately omitted the IP and
port.
The encoder (WME) is streaming at 58Kbps 160 x 120
The problem I am getting is in Firefox 2, in that although I specify
size of the media player in the code, Firefox refuses to expand the
height setting meaning the video appears as 'widescreen.
A screen shot is here:
http://www.sussexsites.co.uk/webcam.jpg
As you can see, the image on the left is the Firefox display, the image
on the right is IE7
If I resize the code below to match that of the encoder settings (160 x
120) Firefox displays it correctly, but omits the status bar!
Can someone please point me in the right direction?
I don't want to stream a large picture, 160 x 120 or 240 x 180 is fine,
but I need the subsequent player to be the same size cross-browser.
Here's the code, for which i give credit to, and which came from,
http://vwlowen.co.uk/video/icam/icam01.htm
<object id="mediaPlayer" width=320 height=258
classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
codebase=
"http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#V
ersion=6,4,5,715"
standby="Loading Microsoft Windows Media Player components..."
type="application/x-oleobject">
<param name="FileName" value="http://{IP}/">
<param name="AutoStart" value="true"/>
<param name="ShowControls" value="0"/>
<param name="ShowStatusBar" value="1"/>
<param name="ShowDisplay" value="false"/>
<Embed type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"
width=320
height=258
src="http://{IP}/"
id=MediaPlayer
Name=MediaPlayer
AutoStart=1
ShowControls=0
ShowStatusBar=1
ShowPositionControls=0
ShowTracker=0
autoSize=0
DisplaySize=4>
</embed>
</object>
--
My reply address is invalid
Please post replies to the group... |
|
| Back to top |
|
 |
|
|
Tx2 Guest
|
Posted: Sun Jan 07, 2007 11:12 pm Post subject: Re: Yes, another streaming web cam question! |
|
|
In article <MPG.200b323adfb55c9896cb@News.Individual.NET>,
this.is.an.inv@lid.address.u.know.com thought we might be interested in
the following...
| Quote: | I am using the code below in a very basic web page i am testing to view
streaming video from a web cam.
|
I'm not against using FTP with short refresh if needed. I just want to
be able to type in a URL, and see the area my cam covers!
--
My reply address is invalid
Please post replies to the group... |
|
| Back to top |
|
 |
|
|
| |