This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Website Design Forum > January 2007 > Streaming video - sizing player?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Streaming video - sizing player?
Tx2

2007-01-27, 11:33 pm


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 omitted the IP.

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?

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...
Karl

2007-01-27, 11:33 pm

Hi,

I have just attempted to do the same thing and while searching for a
solution came across your posting. Im sorry I don't have the answer but
I do have exectly the same problem. Did you figure it out in the end?

Also, whatever movie I use, it always auto starts, even with the
autostart parameter set to false.

Karl

Tx2 wrote:
> 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 omitted the IP.
>
> 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?
>
> 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...


Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews