Skip to main content
Participant
March 22, 2008
Question

Streaming only a portion of a flv

  • March 22, 2008
  • 1 reply
  • 644 views
I am trying to set up a flv player which will play only a portion of a flv file from a streaming server. The file is a lengthy file, and I want two things: 1) to have a player which can play and seek through the whole thing (this is working) and 2) to have a player in which I can load a specific segment of the entire file. Then the seek bar would be limited so that the viewer cannot seek outside of the specified range.
Does anyone have advice on how to approach this?
Thank you!
    This topic is closed to new replies. Start a new post to keep the conversation going.

    1 reply

    Graeme Bull
    Community Expert
    Community Expert
    March 27, 2008
    In the play method you can set at what time you want the FLV to start and how long you want it to play. Other than that, you're going to have to make your scrubber understand how many seconds it needs to account for, then when clicked or scrubbed along it should seek in the FLV to the offset amount of time plus the time they seeked to on the scrubber bar.