FLV file not ending with .flv

  • ScottG
  • Proficient
  • Proficient
  • ScottG
  • Posts: 483

Post 3+ Months Ago

I am a good coder when it come to AS and a few other scripting languages. I have recently come across an issue and also came up with a work around for the issue. However I am trying to find out if my solution is a legitimate solution or if it is a kludge that will be fixed in a security update down the road. If it is a kludge I would like to know how to fix the issue I have at hand.

My issue is I have flv files on limelight being secured by media vault. So to access the flv file the file path looks like this http://SOMELIMELIGHTURL/secure_folder/myfile.flv?h=MYKEY

I cannot give the actual link do to security purposes but the path to the file dose not end in .flv but with get variables attached to the end to provide the login type access to the file. It seems like the flash player whether using the MediaDisplay component or doing a video embed flash wants a .flv at the end of the filename

My fix was to add &junk=.flv so the file path looks like http://SOMELIMELIGHTURL/secure_folder/myfile.flv?h=MYKEY&junk=.flv

So, this actually works It fools flash into thinking this myfile.flv?h=MYKEY&junk=.flv is a flv file with a really strange filename. Is this a valid solution or not and if not what is a better one?
  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Posts: 1825
  • Loc: In the Great White North

Post 3+ Months Ago

I'm actually kind of surprised that flash is being picky about variables on the string since it doesn't worry about most other file types. It actually makes me wonder if its some other cross domain security issue than having to end in .flv Your's seems like a bit of a strange solution, but I doubt it will break down the road since proper function would be to simply ignore the variables on the end of the string meaning it would then work either way.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 6 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.