|
-
NetStream instance with FLVPlayback
I want to utilize the FLVPlayback component so I don't have to create my own skins and the documentation says the FLVPlayback class "wraps" the VideoPlayer class and ALL the methods/props available in the VideoPlayer class are available to the FLVPlayback class, BUT I notice the FLVPlayback class doesn't inherit or subclass the VideoPlayer class and some of the methods/props for the VideoPlayer class generate errors when utilized by the FLVPlayback class.
In short, I want to take a NetStream instance that has the stream I want to utilize and force that on the FLVPlayback instance. I can get it to work with the VideoPlayer instance BUT NOT the FLVPlayback instance. I don't want to set the FLVPlayback instance's "source" property with a string as the documentation suggests, I want to do something like:
Code:
flvPlaybackComp.attachNetStream(stream);
how can I accomplish this? I've seen the "getVideoPlayer" method on the FLVPlayback class and thought that might be a "round about" way of controlling the underlying VideoPlayer instance, but haven't gotten that to work properly. Ideas please!
-
hello? anybody? surely someone has run into this issue...
-
I remember looking into this about a year ago when I discovered that the source url can only point to a literal flv file and can not contain a query string, i.e. "getVidById.asp?id=123" would fail simply because it does not end in ".flv". One solution was to write a custom NCManger class, which might work in your situation as well. In the end I ditched the FLVPlayBack component, it required far too much modification to fit my needs, so I can not give you any specifics on overrighting the NCManger.
-
yes, I think the custom NCManager class might be my solution...does anybody out there have any familiarity with creating a custom NCManager class and applying that to the FLVPlayback?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|