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™

Integration with AWS streaming and S2

s2Member Plugin. A Membership plugin for WordPress®.

Re: Integration with AWS streaming and S2

Postby Jason Caldwell » January 19th, 2012, 1:10 pm

Thank you. I find this in your source code. So this confirms that "video.mp4" is being served properly in this case. However, you might take a look at the content filters enabled on your WordPress installation. It looks like WordPress is adding in some <p> tags via the wpautop content filter. I would suggest this plugin for you. See: http://wordpress.org/extend/plugins/raw-html/

Code: Select all
 <div style="background-repeat: no-repeat;"><div id="jw-container">JW Player® appears here.</div>
    <p><script type="text/javascript" src="/jwplayer/jwplayer.js"></script></p>
    <p><script type="text/javascript">
    jwplayer("jw-container").setup({modes: /* JW Player®. */
    [
    /* First try real-time streaming with Flash® player. */
    {type: "flash", provider: "rtmp", src: "/jwplayer/player.swf",
    config: {streamer: "rtmp://sx2kg2pfwt7yi.cloudfront.net/cfx/st", file: "video.mp4?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoidmlkZW8ubXA0IiwiQ29uZGl0aW9uIjp7IklwQWRkcmVzcyI6eyJBV1M6U291cmNlSXAiOiIxNjYuMjUwLjY1LjM3LzMyIn0sIkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxMzI3MDgyMTc1fX19XX0_&#038;Signature=mZZ5WQ54xFQExuuqL8~wX7tZqU33cZ9tUwdEmj4b7eRySZtBBEEK0evAvCorodsEizdG0Q6S3L1nd4YeD19XK5Ipe2u~UbQcEMUxpw5CkZ5V-VtH85P0a4UCPwnBo0vP2xM-n7KugIUrsRwFQp9MGIIuFVP3dfbUaIlvme02-d8_&#038;Key-Pair-Id=APKAIJSTEXVC4PFGE2NA"}},</p>
    <p>/* Else, try an HTML5 video tag. */
    {type: "html5", provider: "video",
    config: {file: "http://d15q0sklvx3bb5.cloudfront.net/video.mp4?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cDovL2QxNXEwc2tsdngzYmI1LmNsb3VkZnJvbnQubmV0L3ZpZGVvLm1wNCIsIkNvbmRpdGlvbiI6eyJJcEFkZHJlc3MiOnsiQVdTOlNvdXJjZUlwIjoiMTY2LjI1MC42NS4zNy8zMiJ9LCJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTMyNzA4MjE3NX19fV19&#038;Signature=qO68Ey2uNcHGMCofqbS6Pe24lLYvPsGkU5YZXq~CFfRYCC5Wr0Kv2LzeUFxopuvEo8X8Plsmvl59UJNfd93Azhowl5fJZ8esg-f-pNJTdQ~H19M-3J3ES4nKHaKQbluLsApigSZ5tymkPtDUtKs1iS~FgMq0x9DXrYyqUV5NG-M_&#038;Key-Pair-Id=APKAIJSTEXVC4PFGE2NA"}},</p>
    <p>/* Else, this is a safe fallback. */
    {type: "download", /* Download the file. */
    config: {file: "http://d15q0sklvx3bb5.cloudfront.net/video.mp4?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cDovL2QxNXEwc2tsdngzYmI1LmNsb3VkZnJvbnQubmV0L3ZpZGVvLm1wNCIsIkNvbmRpdGlvbiI6eyJJcEFkZHJlc3MiOnsiQVdTOlNvdXJjZUlwIjoiMTY2LjI1MC42NS4zNy8zMiJ9LCJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTMyNzA4MjE3NX19fV19&#038;Signature=qO68Ey2uNcHGMCofqbS6Pe24lLYvPsGkU5YZXq~CFfRYCC5Wr0Kv2LzeUFxopuvEo8X8Plsmvl59UJNfd93Azhowl5fJZ8esg-f-pNJTdQ~H19M-3J3ES4nKHaKQbluLsApigSZ5tymkPtDUtKs1iS~FgMq0x9DXrYyqUV5NG-M_&#038;Key-Pair-Id=APKAIJSTEXVC4PFGE2NA"}}
    ],
    /* Set video dimensions. */ width: 640, height: 480
    });
    </script></p>
~ 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

Re: Integration with AWS streaming and S2

Postby lostinla » January 19th, 2012, 1:41 pm

OH
MY
GOD!
This appears to be working!!

On to the next problem....

I can't thank you enough for this help, my friend. But I'm sure I'll be back.... lol
User avatar
lostinla
Registered User
Registered User
 
Posts: 16
Joined: January 7, 2012

Previous

Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 3 guests

cron