HighDots Forums  

Streaming video - sizing player?

Website Design comp.infosystems.www.authoring.site-design


Discuss Streaming video - sizing player? in the Website Design forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tx2
 
Posts: n/a

Default Streaming video - sizing player? - 01-06-2007 , 04:37 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...

Reply With Quote
  #2  
Old   
Karl
 
Posts: n/a

Default Re: Streaming video - sizing player? - 01-19-2007 , 10:12 AM






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:
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'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...


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.