[Red5] simple movie player
Dan Rossi
spam at electroteque.org
Thu Dec 7 06:06:55 EST 2006
Never seen that before ! I do know fms wont play with a .flv on the end
only without it !
Michael Plehm wrote:
> That's from my collegue, the flash developer:
>
> hi,
>
> The essential thing is that the red5 flv-path must have the following
> format:
>
> Rtmp://server/application/bla.flv
>
> While the flv-path format for the FMS is:
>
> Rtmp://server/application/flv:bla
>
> I think the default call of the flv-playback-component is in this format
> "dataformat:filename"
>
> Cheers
> Mike
>
> Marko Kobal wrote:
>
>> Hi,
>>
>> Daniel Daley says:
>>
>>> I have been using the FLVPlayback component for a bit now with red5.
>>> I reported most of the changes that had to be done for it to work and
>>> I think they've been implemented as I haven't had to make the changes
>>> manually when downloading from svn. The only requirement is that you
>>> must use an xml file for the contentPath and uncheck the match source
>>> dimensions checkbox. In my case I have a php script that generates
>>> the xml file on the fly based on what's passed to it. I haven't
>>> investigated it further but my guess as to why you must use the xml
>>> file is that FMS probably has some special callbacks coded in just to
>>> handle the FLVPlayback component that we need to mirror in Red5.
>>>
>>> The MediaPlayback and MediaDisplay components do work out of the box
>>> though if you don't want to go the xml route.
>>>
>> I guess I'm still a virgin in Flash video world as I do not fully
>> understand what Dan is trying to say in above text.
>>
>> OK, I get that part from XML file requirement - but - how to use it with
>> an simple flash video player, let's say with Flash Video Player 3.1 from
>> http://www.jeroenwijering.com/?item=Flash_Video_Player. In exaple, wich
>> come with the downloaded package, the flashvars are set like this:
>>
>> flashvars:"file=playlist.xml&displayheight=100&repeat=true..."
>>
>> and the playlist.xml is like this (modified for my example):
>>
>> <playlist version="1" xmlns="http://xspf.org/ns/0/">
>> <trackList>
>> <track>
>> <title>Spiderman3</title>
>> <creator>Hollywood</creator>
>> <location>rtpm://localhost/olfaDemo</location>
>> <identifier>Spiderman3_trailer_300</identifier>
>> </track>
>> </trackList>
>> </playlist>
>>
>> But this does not work.
>>
>> Daniel (or anybody else), can you give me an woriking exaple with any
>> simple flash video player that can play the rtmp streams? You said that
>> you have been using the FLVPlayback component - but how???
>>
>>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20061207/c5f9f562/attachment.htm
More information about the Red5
mailing list