Hi, I'm trying to get a video application to work. The basic
question I have is: can i get multiple videos on a flash streaming
server to play in a single FLVPlayback instance? (I want the user
to be able to choose the video based on a button, not play in
succession.) Or do I have to set up a custom player using
NetConnection and NetStream classes along with the
NetStream.play(vidname) method ?
I really need to be pointed in the right direction on this
because the project is due asap.
A single instance of FLVPlayback can handle multiple videos.
I can't remember what the upper limit is. So you can switch between
them based on user input. But I believe it can only ever play one
at any one time. I've used FLVPlayback quite a lot but not for what
you're describing, so can't answer from direct experience.
Check out this page, and the trivial example at the end
(whether its streaming or progressive is irrelevant here, streaming
should work just as well, but perhaps you need to use SMIL files
for the streaming contentPath?)
thank you for the help. It appears that I was just having
issues the rtmp paths on the flash server. Couldn't figure it out
so I just copied the flv's to another location and progressively
downloaded them. That worked out fine, I was able to play all the
videos in a single FLVPlayback instance. So all the button
onRelease functions has to do was call the