latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Amazon Cloudfront and JW Player Plugin

Home Forums Community Forum Amazon Cloudfront and JW Player Plugin

This topic contains 7 replies, has 2 voices. Last updated by  Philly 4 years, 4 months ago.

Topic Author Topic
Posted: Thursday Sep 6th, 2012 at 4:48 pm #24389
Susan Leinen
Username: sleinen

I’ve gotten S2 member configured correctly to stream a video from my cloudfront account on the home page of my site here:
http://susanleinendesign.com when logged in (tester test)
Unfortunately, I have not been able to use the short code or the media player to work to add streaming videos from my Cloudfront account on this page:
http://susanleinendesign.com/my-player-page/
The top player is configured with the shortcode and the bottom player is configured using the media player.
Here is my code:
[jwplayer config=”new-player” streamer=”rtmp://ssxly5k2gv9dh.cloudfront.net/cfx/st” file=”video.mp4″ id=”E3TI8WVNT05GNM” image=”http://susanleinendesign.com/wp-content/uploads/2012/08/WALLY-SWING.jpg”
[jwplayer config=”new-player” mediaid=”284″]

What am I doing wrong?
thanks,

List Of Topic Replies

Viewing 7 replies - 1 through 7 (of 7 total)
Author Replies
Author Replies
Posted: Friday Sep 7th, 2012 at 4:59 am #24479

Hello Susan,

s2Member needs to generate signed urls for videos links in order for it to work with cloudfront and for cloudfront to grant access to the file.

When using the JW plugin the signed urls don’t get created so it won’t work.

That plugin only works if using only the s3 configured because the signed url is not required.

I have created a plugin for use in conjunction with s3 and cloudfront, you can find the latest version here there are no reported problems. Let me know if you need any help :)

Posted: Friday Sep 7th, 2012 at 2:16 pm #24552
Susan Leinen
Username: sleinen

Philly,
THANKS SO MUCH!! This plugin is working great!
Two questions:
– Can I disable the “sharing” at the end of the video?
– Can I add the requirement for membership?

thanks,
Susan

Posted: Friday Sep 7th, 2012 at 2:31 pm #24555

Hi Susan,

When you download the player files from longtail you have to ‘uncheck’ a tick box about the sharing bit, for some reason they started adding by default.

What do you mean when you say the requirement for membership?

Do you mean protecting the video from non-members? If so just omit the downloadkey=”true”.

Thanks,
Philly

Posted: Friday Sep 7th, 2012 at 3:19 pm #24559
Susan Leinen
Username: sleinen

Thanks, Philly,
I reloaded the player without the “viral”
In the playlist short code, can I have some videos that are downloadkey=”true” and some “false” ? (I tried this and it didn’t work – my short code below:)

Also, is it possible to add a scrollbar to the playlist as has too many videos to fit in the space?

http://susanleinendesign.com/

[s2playlist width=”980″ height=”450″ size=”10″ playlistsize=”250″ playlistthumbs=”true” playlistposition=”right” scroll=”true”
video1=”1_HelicopterDrill.m4v” html5=”true” download=”true” downloadkey=”true” image1=”http://susanleinendesign.com/wp-content/uploads/2012/08/WALLY-SWING.jpg” title1=”Helicopter Drill” desc1=”Description one”
video2=”2_SackRace.m4v” html5=”true” download=”false” downloadkey=”false” image2=”http://susanleinendesign.com/wp-content/uploads/2012/08/WALLY-SWING.jpg” title2=”Sack Race” desc2=”Description Two”
video3=”3_FingerSqueeze.m4v” image3=”http://susanleinendesign.com/wp-content/uploads/2012/08/WALLY-SWING.jpg” title3=”FingerSqueeze” desc3=”Description Three” video4=”4_NoGaps.m4v” image4=”http://susanleinendesign.com/wp-content/uploads/2012/08/WALLY-SWING.jpg” title4=”No Gaps” desc4=”Description one” video5=”5_ChineseHandcuff.m4v” image5=”http://susanleinendesign.com/wp-content/uploads/2012/08/WALLY-SWING.jpg” title5=”Chinese Handcuff” desc5=”Description one” video6=”6_PerfectGrip.m4v” image6=”http://susanleinendesign.com/wp-content/uploads/2012/08/WALLY-SWING.jpg” title6=”Perfect Grip” desc6=”Description one” video7=”7_CenterPost.m4v” image7=”http://susanleinendesign.com/wp-content/uploads/2012/08/WALLY-SWING.jpg” title7=”Center Post” desc7=”Description one” video8=”8_TheBabeRuth.m4v” image8=”http://susanleinendesign.com/wp-content/uploads/2012/08/WALLY-SWING.jpg” title8=”The Babe Ruth” desc8=”Description one” video9=”9_TriggerFinger.m4v” image9=”http://susanleinendesign.com/wp-content/uploads/2012/08/WALLY-SWING.jpg” title9=”Trigger Finger” desc9=”Description one” video10=”10_Powerlifter.m4v” image10=”http://susanleinendesign.com/wp-content/uploads/2012/08/WALLY-SWING.jpg” title10=”Power Lifter” desc10=”Description one” ]

Posted: Friday Sep 7th, 2012 at 3:48 pm #24560

Hi Susan,

The scroll bar is there its just not visible because your player is set to width=”980″ but your page content area is 965.

If you set download key to true on it will grant access to all files in the list and you cant override that on an individual basis.

What is it your trying to achieve?

Posted: Friday Sep 7th, 2012 at 3:57 pm #24561
Susan Leinen
Username: sleinen

Thanks for the tip on the page size.
What I’d like to be able to do is have some free and some member-only videos in the same list or at least available on the same page.
See http://revolutiongolf.com
Can the player have that “tabbed” playlist look?

I really appreciate your help!!!!

Posted: Friday Sep 7th, 2012 at 5:11 pm #24570

Yes you just need to download a ‘skin’ http://www.longtailvideo.com/addons/skins

Then in shorcode

skin="http://locationofskin.com"

What I’d like to be able to do is have some free and some member-only videos in the same list or at least available on the same page.

Well I guess the best way would be to have one playlist for free and use downloadkey=”true” if the free videos are stored in a protected bucket.

And then have a second playlist with free and paid videos in it, but just omit the downloadkey=”” part altogether.

That way anyone can see the free stuff, but only members can view the premium stuff. Just remember to put the premium playlist in an area of your website that can only be accessed if you’ve paid or users will get confused.

Viewing 7 replies - 1 through 7 (of 7 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.