4 Replies Latest reply on Dec 2, 2013 11:56 AM by afukada

    Can VideoPlayer source be a PHP url?


      I have audio clips saved in a database, and use a PHP script to retrieve them. If I call something like this in a browser, the PHP script sends an MP3 data stream and the browser plays it correctly.




      What I want to do now is to play these clips using Flex VideoPlayer. I tried the following, but nothing played.


      <s:VideoPlayer source="https://sample.com/retrieve.php?clip=audio23" />


      Does VideoPlayer check the file extension and disallow non-media files? I could write the audio data to a .mp3 file first on the server, but I'd rather not do that.