1 Reply Latest reply on Jul 7, 2006 8:49 PM by Newsgroup_User

    seeking FLV can prevent it from receiving metadata

    RavenWorks
      I'm making an application where a user watching a progressive-download FLV file can press a button to relaunch it in a seperate window; the current video and current time index are passed through a combination of PHP and javascript, and the SWF in the new window begins loading the requested FLV then immediately seeks to the requested time index. (In theory, it should be able to 'skip ahead' immediately since at least that much of the FLV will still be in the browser's cache from having gotten that far on it in the previous window.) The problem is that whenever flash seeks immediately after accessing a FLV file, the onMetadata event is never triggered; but if, for example, the new window is opened before the playehead can get very far (meaning the new window attemps to seek to a point before the second keyframe), the metadata loads fine.

      Just thought everyone would like to know. Is this the place to be posting bug reports?
        • 1. Re: seeking FLV can prevent it from receiving metadata
          Level 7
          Not sure if it is a bug but more the nature of the timing. The onMetaData
          handler is triggered after a call to the NetStream.play() method, but before
          the video playhead has advanced.


          --
          Lon Hosford
          www.lonhosford.com
          Flash, Actionscript and Flash Media Server examples:
          http://flashexamples.hosfordusa.com
          May many happy bits flow your way!
          "RavenWorks" <webforumsuser@macromedia.com> wrote in message
          news:e8jd49$oio$1@forums.macromedia.com...
          > I'm making an application where a user watching a progressive-download FLV
          > file
          > can press a button to relaunch it in a seperate window; the current video
          > and
          > current time index are passed through a combination of PHP and javascript,
          > and
          > the SWF in the new window begins loading the requested FLV then
          > immediately
          > seeks to the requested time index. (In theory, it should be able to 'skip
          > ahead' immediately since at least that much of the FLV will still be in
          > the
          > browser's cache from having gotten that far on it in the previous window.)
          > The
          > problem is that whenever flash seeks immediately after accessing a FLV
          > file,
          > the onMetadata event is never triggered; but if, for example, the new
          > window is
          > opened before the playehead can get very far (meaning the new window
          > attemps to
          > seek to a point before the second keyframe), the metadata loads fine.
          >
          > Just thought everyone would like to know. Is this the place to be posting
          > bug
          > reports?
          >