RE: Access the original dimension of a live video
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Macromedia Flash Server > RE: Access the original dimension of a live video




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    RE: Access the original dimension of a live video  
David Simmons


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-26-05 10:45 PM

Once the stream has started displaying in your video object (named
liveVideo here), try:

liveVideo._width =3D liveVideo.width;
liveVideo._height =3D liveVideo.height;

You can call this from a timer/interval or trigger it with some other
event.

Hope this helps,
=20
- Dave Simmons
Macromedia Engineering


-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.
org] On Behalf Of Naicu
Octavian
Sent: Friday, August 26, 2005 2:48 PM
To: FlashComm Mailing List
Subject: Re: [FlashComm] Access the original dimension of a live video
stream(being played) ?

There might be 2 solutions:
1) use netStream.send() to call a function on every
subsciber's client that resizes the video object to
the parameters sent. You can use send() every x
seconds or whenever a new user joins.

2) use the onMetaData() event (search the list it has
been discussed before) but I do not know if you will
recieve any size information from live streams!

--- Wilton Rossi <wiltonrossi-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote
:

> I think that the best solution is to use a shared
> object that stores all user config soon after the
> settings are defined. That info can be retrieved any
> time later. That's very easy to implement.=20
>=20
> Regards,
>=20
> W
>=20
> --- lti-1a8g-LMbKfuCQv7pBDgjK7y7TUQ@public.gmane.org wrote:
>=20 
> of 
>
=3D----------------------------------------------------------- 
>
=3D----------------------------------------------------------- 
>
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm 
>=20
>=20
>=20
> 	=09
>  ________________________________________
____________
> Start your day with Yahoo! - make it your home page=20
> http://www.yahoo.com/r/hs=20
> =20
>=20
>
=3D-----------------------------------------------------------
> Supported by Fig Leaf Software -
> http://www.figleaf.com
>
=3D-----------------------------------------------------------
>=20
> To change your subscription options or search the
> archive:
>
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>=20


 ________________________________________
__________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around=20
http://mail.yahoo.com=20

=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:28 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register