This topic contains 4 replies, has 2 voices. Last updated by Cristián Lávaque 3 years, 9 months ago.
Topic Author | Topic |
---|---|
Posted: Friday Apr 5th, 2013 at 12:50 am #46673 | |
My apologies if this is answered elsewhere… I’ve been reading through dozens of posts in the last 3 hours, and haven’t been able to find the answer. I want to sell access to a video and accompanying PDF, both of which are hosted in a private bucket on Amazon S3. I’ve restricted the page that gives access to the video and PDF using the Specific Post/Page Access Restrictions feature (Buy Now). I’ve also used the [sFile ] advanced restriction to generate a key to allow the buyer to access the PDF file. Where I’m running into trouble is with the JW Player: How do I generate a key dynamically to allow the JW Player to access the private S3 bucket? I’ve installed ezPHP and tried this code, which didn’t work (the player shows up, displays the image, but when I click to play the video, it gives me an error message about failing to connect to the server):
And I don’t think I can “nest” shortcodes (i.e., insert the [sFile ] shortcode into the [s2Stream ] shortcode). Any ideas? I’m a bit of a noob… so I hope you can put this into laymen’s terms for me. Thanks! |