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.

About: Addison Day

Sorry, I've not written a description yet. I'll get to it soon!


My Latest Replies (From Various Topics)

Viewing 10 replies - 1 through 10 (of 10 total)
Author Replies
Author Replies
Posted: Sunday Jan 13th, 2013 at 6:13 pm #37312

We use the Transmit ftp program to upload, and the AWS console site to manage permissions, etc., but no other websites are using the files.

I’m currently experiencing this problem using a new bucket containing a single test file. I tried using my old bucket initially, but after experiencing this problem I created a fresh one, along with a fresh wordpress installation for testing purposes.

In regards to other AWS services, we use EC2 for hosting, and I have a separate S3 bucket and CloudFront distribution for CDN through W3 Total Cache, but the cache wasn’t setup when I first experienced this problem.

  • This reply was modified 3 years, 11 months ago by  Addison Day.
Posted: Saturday Jan 12th, 2013 at 9:19 pm #37198

I found this on the JW Player Troubleshooting page:

Error loading stream: ID not found on server
This means the player successfully connected to your RTMP server, but the server failed to return the requested stream. Ensure your stream is indeed available at the correct location and any security mechanism (like Wowza securetoken or Cloudfront signing) is correctly set. If the stream is a live stream, ensure the encoder is connected and streaming video too.

Could this be related to new S3 or CloudFront versions security? When I set up my s2Member CloudFront integration I copied the contents of my CloudFront key pair’s [*.pem] file into the text field without the “—–BEGIN RSA PRIVATE KEY—–” and “—–END RSA PRIVATE KEY—–” parts. This method worked for me on my previous setup.

Posted: Saturday Jan 12th, 2013 at 8:48 pm #37193

Thanks for getting back to me, Jason.


Update

I prepended the string with the “MP4” extension as shown in this post. I used:

{type: "rtmp", file: "<?php echo $mp4["streamer"]; ?>/mp4:<?php echo $mp4["file"]; ?>"},

But alas, no change. I’m still getting the Error loading stream: ID not found on server error. I am still using the JW Player 6 code sample, as it appears in the s2Member download settings. I used:

<?php
// Configuration.
$s2_jw_config["jwplayer"] = "/jwplayer/"; // Relative URL path to JW Player files directory.
$s2_jw_config["mp4_video_file_name"] = "how-to-use-this-site.mp4"; // Name of your MP4 test file.
// Don't edit anything else below unless you know what you're doing.
?>

<div id="jw-container">JW Player® appears here.</div>
<script type="text/javascript" src="<?php echo $s2_jw_config["jwplayer"]; ?>jwplayer.js"></script>

<?php /* A direct URL to the RTMP source; counting the file against the current User in real-time. */
$cfg = array ("file_download" => $s2_jw_config["mp4_video_file_name"], "url_to_storage_source" => true, "count_against_user" => true); ?>

<?php /* API Function `s2member_file_download_url()` returns false if access is denied to the current User. */
if (($mp4 = s2member_file_download_url ($cfg, "get-streamer-array"))) { ?>

    <script type="text/javascript">
        jwplayer('jw-container').setup({
                playlist:
                    [{
                        sources: /* List all available sources. */
                            [
                                {type: "rtmp", file: "<?php echo $mp4["streamer"]; ?>/mp4:<?php echo $mp4["file"]; ?>"},
                                {type: 'mp4', file: '<?php echo $mp4["url"]; ?>'}
                            ]
                    }],
                primary: 'flash' /* Try Flash® RTMP first, fallback on HTML5 or direct download of MP4 file. */,
                width: 480, height: 270 /* Set video dimensions for all sources. */
            });
    </script>

<?php } else /* Access is denied to the current User. */ { ?>
    Sorry, you do NOT have access to this file.
<?php } ?>

Also,

  • MP4 file in bucket root, not in a subdirectory
  • Fresh WordPress install
  • Download link = success
  • This reply was modified 3 years, 12 months ago by  Addison Day.
  • This reply was modified 3 years, 12 months ago by  Addison Day.
Posted: Thursday Jan 10th, 2013 at 12:48 pm #36868

I see that you aren’t using the sample JW code for streaming in s2Member, but a modified version trying to have a playlist.

Actually, I’m using the code sample exactly. I just copied it straight from the sample. I just checked and I didn’t copy it incorrectly…

Have you tried using Philly’s plugin for this?

Yes! its great, but only compatible with JW Player 5, and I can’t find a legacy download of JW Player 5 anywhere.

By the way, I removed the login info from your post, for security reasons. I suggest that you remove that account or, at least, change the password.

Thanks! Its just a test site. I have lots of them right now trying out new configs, so no worries.

Next Steps

Since my s2member download links are working, reconfiguring my s3/cloudfront integration won’t do anything. I checked my code against the sample – it matches. I don’t know what to do next. I guess I’ll just start from scratch with a new wordpress installation… :( I hope i can resolve this soon. This is the whole reason we are using s2member.

Posted: Wednesday Jan 9th, 2013 at 4:47 pm #36801

Forgot to mention:

JW Player Error Message
Error Loading Stream: ID Not Found on Server
Download URL Works

I added a download link to the “video-test” page, and this delivers the video inline from the CloudFront download distribution just fine, so I know the problem isn’t due to to a faulty s3/cloudfront setup.

The only file in the bucket, “How-to-use-this-site.mp4” is not in a subdirectory, and since my JW Player 6 is in /jwplayer/, I didn’t change anything in the sample code except the file name.

  • This reply was modified 3 years, 12 months ago by  Addison Day.
Posted: Wednesday Jan 9th, 2013 at 11:56 am #36787

OK. Thanks for the support. :) I’ll look into it. I posted separately about the RTMP issues i’ve been having.

Posted: Monday Jan 7th, 2013 at 5:39 pm #36492

thanks Cristián

I had hoped to post an update over the weekend:

I started fresh with a new WP Installation and S2Member – Fixed all check-my-server warnings. Still having some problems with JW Player 6 in WP 3.5 with current s2 version but I will post about those separately.

I will try and find a suitable plugin for the admin bar removal job. Any recommendations? Did previous s2 versions hide the admin bar for s2Member Level users?

Posted: Saturday Jan 5th, 2013 at 2:02 pm #36291

anyone?

Posted: Friday Nov 9th, 2012 at 11:20 am #31134

I did not reset like this. Ill give it a shot and report back. Thanks again!

Posted: Thursday Nov 8th, 2012 at 9:59 pm #31089

UPDATE:

I disabled all my plugins except my theme (which wasn’t causing errors initially) and the PhillyMax s2Member video shortcode plugin i use to embed (which has worked like a charm up to this point). No change.

Full disclosure: I had been messing with some .htaccess rewrites to redirect more efficiently to my login page, and was not very familiar with what I was doing there… I did remove my code from the .htaccess files in my root and wp install directory, but did not affect the problem

Thanks to all who help out on this forum… wouldn’t have made it this far without all this great information!

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

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.