PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Amazon s3 Cloud Front etc

s2Member Plugin. A Membership plugin for WordPress®.

Amazon s3 Cloud Front etc

Postby merchant » December 27th, 2011, 9:02 pm

I have configured
1. Amazon CDN S2 and
2. Amazon Cloud Front Options.

I also downloaded the JW Player.
I have my WordPress installed in a directory under my main domain eg http://mydomain.com/wp

Questions:
1. Your instructions state that JW Player should be loaded in the root directory of the webserver.
Does this mean I load it under
a. http://www.mydomain.com or under
b. http://www.mydomain.com/wp

2. After loading this player how am I supposed to use it in WordPress? There are no instructions on what is to be done with the JW Player.

3. The JW Player® ( RTMP streaming MP4, via s2Member's Amazon® S3/CloudFront integration ) option
or the JW Player® ( RTMP streaming MP4, via s2Member's JSON/Shortcode alternative )
in using any of these options I take it use the Cloudfront.
a. But where does one put the script / code that is provided?
b. How do I ultimately render the streaming video in the page so my members can access the videos?

4. Later when I add more videos does s2Member take care of configuring the ACL for those also within Amazon s3? Is there something special in terms of maintenance that we have to do?

5. Does this also mean that all my videos for all my products would be in the same Amazon Bucket as s2Member only allows one Bucket to be configured? DO i have the option to organize these in subfolders or separate buckets?

6. Is there paid help available to help me with this? Or
Is there any video based tutorial available for this?

Would really appreciate your response as my entire membership site is video based and early testing is showing I will be likely better off with something like Amazon s3 services rather than hosting it on my own server (which was my original plan). So a minor setback to my launch.

Please help.
User avatar
merchant
Registered User
Registered User
 
Posts: 45
Joined: October 9, 2011

Re: Amazon s3 Cloud Front etc

Postby Cristián Lávaque » December 29th, 2011, 4:40 am

I'm emailing Jason about this, he'll be able to help you better.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Amazon s3 Cloud Front etc

Postby Jason Caldwell » December 30th, 2011, 9:11 pm

Thanks for your great questions.
1. Your instructions state that JW Player should be loaded in the root directory of the webserver.
Does this mean I load it under
a. http://www.mydomain.com or under
b. http://www.mydomain.com/wp
Well, you can place it anywhere you like, so long as you update the code sample provided by s2Member to reflect the actual location that you decide on. That being said, if you'd rather not update the code sample in this regard, you can play it safe, and upload JW Player here please:
Code: Select all
http://www.mydomain.com/jwplayer/player.swf
The sample code uses a root path of /jwplayer/player.swf, so you can play it safe and just upload JW Player to the root of your site, and NOT inside the /wp/ sub-directory that you're using.

2. After loading this player how am I supposed to use it in WordPress? There are no instructions on what is to be done with the JW Player.
The code sample provided by s2Member pulls the player into a Post/Page, and it plays the video and/or audio file that you ask it to. Nothing special, just copy/paste the code sample provided by s2Member into a Post or Page, via the HTML tab of your editor. You might want to get a RAW HTML plugin though, just so the Visual Editor for WordPress doesn't mangle the raw HTML that s2Member provides you with.

See: http://wordpress.org/extend/plugins/raw-html/
There is also a plugin Shortcode for JW Player, which is optional:
http://wordpress.org/extend/plugins/jw- ... wordpress/

4. Later when I add more videos does s2Member take care of configuring the ACL for those also within Amazon s3? Is there something special in terms of maintenance that we have to do?
No, s2Member auto-configures your Amazon S3 Bucket and CloudFront Distros, including the ACLs and Bucket Policy for all current and future files. No maintenance required in this regard whatsoever. Just upload new files to your Amazon S3 Bucket, that's it.

5. Does this also mean that all my videos for all my products would be in the same Amazon Bucket as s2Member only allows one Bucket to be configured? DO i have the option to organize these in subfolders or separate buckets?
You only need one Bucket. Yes, you can create sub-folders inside your Amazon S3 Bucket, and organize your files however you prefer. This is possible with s2Member's localized storage option in the /s2member-files/ directory, and also with Amazon S3/CloudFront as well.

This feature is illustrated in your Dashboard more clearly, by looking here:
s2Member -> API Scripting -> Custom Capability & Member Level Files
This shows how it's possible to use special sub-directories, and shows how you would link to files in sub-directories of either your localized /s2member-files/ directory, or your Amazon S3 Bucket.

While the examples provided in this section of your Dashboard cover the advanced topic of Custom Capabilities, using regular sub-directories to categorize your content is fine too, and the linking methods follow the same pattern:
Code: Select all
http://mysite.com/?s2member_file_download=my-sub-directory/my-file.zip


6. Is there paid help available to help me with this? Or
Is there any video based tutorial available for this?

We have video tutorials for Amazon S3/CloudFront coming very soon. These will be made available on our website at s2Member.com. These are already in production, so it shouldn't be too much longer. Until then, if you need professional assistance, I have posted some recommendations here: viewforum.php?f=37
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

Users browsing this forum: Yahoo [Bot] and 0 guests

cron