Hello all,
After a lot of time perusing and fussing about trying to get an internal server to stream FLVs to a Wii, I finally figured out how to do it.
Progressive streams will not work because of the limited amount of memory on the Wii. It will fill up and sieze playback forcing you to start over. The only solution to this was to set up a genuine Flash Media Server to handle incremental streaming instead of dropping the whole thing into memory.
After looking over the incredible amount of information about Streaming and, consequentially noticing how little correct information there was out there, I finally got my answers and streamed "Big Love" episode 1 from a computer on my internal network to my Wii.
Using Red5 and JW's player, I got it all together. I'll post the minor changes I made to the basic mediaplayer.html code to get it working. This is for the single FLV player, though I've gotten it to work on both.
CODE:
var so = new SWFObject('mediaplayer.swf','mpl','640','600','7');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','true');
so.addVariable('displayheight','480');
so.addVariable('location','rtmp://localhost/oflaDemo');
so.addVariable('id','Transformers.flv');
so.addVariable('type','rtmp');
so.addVariable('width','640');
so.addVariable('largecontrols','true');
so.addVariable('bufferlength','20');
so.addVariable('shuffle','false');
so.addVariable('volume','100');
so.addVariable('usefullscreen','false');
so.addVariable('usekeys','false');
I believe the exclusion of the usefullscreen variable allowed it to be playable on the Wii, not including any Flash 9 code. (But I didn't try it the other way.)
Also, this is the correct use of the ID and Location tags as well as what I found to be crucial, the type tag. The type tag seemed to be the key for me getting it to stream, but it could have been not tacking on the .flv on the end of the file. (Something that people said you didn't need.)
In any case, this format works on the internal PC. Make sure to change localhost to your internal network IP address to get it to work.
Happy streaming!
And ... THANK YOU JW for being the only worthwhile source on the net for any of this information. I knew it was possible to stream to the Wii, but it was only your site that gave me enough information to do it. :)
@elcman,
WOW!
Thanks for the info. Streaming to the Wii is how I originally found the JW Players. Since then I've gotten diverted too many times.
So, I'm putting everything aside and going back to that project.
I noticed that your display area is 640x480, what is the native resolution of the video file that you streamed and how (codecs, settings, etc.) was it encoded?