Hi there, I am new to this world of video streaming and protected content, so please be kind
I am having trouble figuring out how to stream video files with s2member's protected file system. I am using JWPlayer 5.7 and tried the code that Jason posted above, but I can't get it to work. My files are hosted on Amazon S3 and I've configured the area under Download Options > Amazon S3. Linking directly to the video file (.mp4) in my bucket works with the above code, but that of course defeats the purpose of protecting the files. I feel like there is a disconnect between s2member and Amazon S3 and I am at wits end trying to find a solution
Here is what I have on my page... I'm not sure if I have it set up correctly-- I basically just copied what s2member said the download link would be and what Jason said above, then dropped in the filename from my bucket.
- Code: Select all
<div id='mediaspace'>Please wait while your video is loading.</div>
<script type="text/javascript">
jwplayer('mediaspace').setup({
'id': 'playerID',
'file': 'http://www.lydaslanguages.com/wp/?s2member_file_inline=yes&s2member_file_download=/Spanish-Lesson-03.mp4',
'height': '270',
'width': '480',
'modes':[
{type: 'html5'},
{type: 'flash', src: '/scripts/player.swf?type=video'},
{type: 'download'}]
});
</script>
Sorry if I am asking something really obvious, I really appreciate anyone's input! ^_^