Hi Guys –
I hate to open a new thread, but I need to bump this and there are now 2 inter-related issues using S3/CloudFront/CDN…
As noted in http://www.s2member.com/forums/topic/s3-cdn-getting-started/
the patch provided in http://www.s2member.com/forums/topic/s2stream-short-code-url-problem/ (which has been closed on the forum) causes problem with the S3 request.
However the problem with the file names in the URL crops back up (since I had to remove the patch). As you see in the JW Player playlist (actual filename replaced with FILENAME for security reasons):
sources: // Available sources.
[
{file: 'rtmpe://s8jiuu3ktp2i8.cloudfront.net/cfx/st/mp4:access-s2member-level2/2013/FILENAME.mp4?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiYWNjZXNzLXMybWVtYmVyLWxldmVsMi8yMDEzL0JpVFMyMDEzczZwMk1pZ2xpYWNjaW8ubXA0IiwiQ29uZGl0aW9uIjp7IklwQWRkcmVzcyI6eyJBV1M6U291cmNlSXAiOiI3NS4zNy4xOTIuMTIzLzMyIn0sIkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxMzY0OTU4Nzg0fX19XX0_&Signature=F-yO~h1m9M7lxWkkYvGaj~-hbRlDz5H3fBWk1IlmPzVZRfP7LxMxzwH6VJwVoxD60mQ2t0hTUkUBimSF0GW-apiRuYSLnQ5zjLQN5x3A2qMKMPpvmsJMoZ-8chNj6PTF07ljZZ01ypyJeiQlWzLmiChWOkBsvc2N3JX-iilIpHM_&Key-Pair-Id=APKAIWLVFIBJE4VLZZJQ'},
{file: 'https://d234ebimhxzr96.cloudfront.net/access-s2member-level2%2F2013%2FFILENAME.mp4?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kMjM0ZWJpbWh4enI5Ni5jbG91ZGZyb250Lm5ldC9hY2Nlc3MtczJtZW1iZXItbGV2ZWwyJTJGMjAxMyUyRkJpVFMyMDEzczZwMk1pZ2xpYWNjaW8ubXA0IiwiQ29uZGl0aW9uIjp7IklwQWRkcmVzcyI6eyJBV1M6U291cmNlSXAiOiI3NS4zNy4xOTIuMTIzLzMyIn0sIkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxMzY0OTU4Nzg0fX19XX0_&Signature=hDr97cd~7VQ8Pe7GHHw2GeZ~2RBT20gUyjOETqYX93y6DUNd2jcw6SMGCOTV2Axs86Fl~ypzZi92dnUdYIr2OMg0OWla0J15vtEB3HvXRHF86aUvoGT2VhWHbdEfZQZ83MgRsMdNSVqSAx9JZ6NaLyAtRPDGS~1SmCAds54bmx4_&Key-Pair-Id=APKAIWLVFIBJE4VLZZJQ'}
the non-RTMP file (the .mp4) has the bug with the %2F’s instead of the “/” in the filenames. And if you try to edit them (manually for testing), S3 doesn’t like the signature.
Would you kindly take a look at this ASAP and let me know how to fix. Or hopefully the patch Jason supplied in the first thread above can be updated.
Thanks,
Ira