in reply to Re: Using perl to stream flash
in thread Using perl to stream flash

Yea thats the kind of solution I was looking for crashtest just wondered whether it was available to simply put content-type => flash/swf or whether it'd be more complex really... To reply to the others I can't stop hotlink access because i'm using the same website as they are, the access rules are a bit more complex than just that. And yes its about bandwidth, I don't care if someone steals my rubbishy 3mb music video (its literally the music with a pic of the album cover on it) its the fact everyone is just abusing my bandwidth and using my video on their own profiles and in all likelihood most people won't go to the effort of stealing mine and hosting it themselves.

Replies are listed 'Best First'.
Re^3: Using perl to stream flash
by Feltros (Acolyte) on Sep 25, 2006 at 01:04 UTC
    Apparently its Content-type: application/x-shockwave-flash from my research although i'm still at a miss as to the content length variable since I don't understand HTTP headers all that greatly - and reading the w3 info on them isn't that useful.

      So don't you have everything you need now? Just update the code I posted to point to your flash file, and change the content type from flash/swf to application/x-shockwave-flash.

      (stat FLASH)[7] is the code that determines and passes on the size of your flash file. You should be all set.