Skip to main content
Participant
November 13, 2006
Question

mediaDisplay Totaltime

  • November 13, 2006
  • 2 replies
  • 240 views
I am trying to use the mediaDisplay component to display a FLV file, but I need a way to find the length of the video dynamically. Is a way with actionscript to find the end timecode of a video without having to manually entering it?

thanks,

Ed
This topic has been closed for replies.

2 replies

November 13, 2006
Hi Ed,

You can use "video.metadata.duration", this gives you the video length in seconds.

CHEERS!!!
PALLAV SAMADDAR
November 13, 2006
yes , you can find out all the informations of the video file while its loading.
Read more about NetStream.onMetaData() function.
It will help you...