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.

JW Player does not play audio file

Home Forums Community Forum JW Player does not play audio file

Tagged: 

This topic contains 18 replies, has 2 voices. Last updated by  ryannagy 4 years, 6 months ago.

Topic Author Topic
Posted: Friday Jun 1st, 2012 at 6:10 pm #15202

Hi,

I am using JW Player with WordPress/s2Member/Amazon S3/CloudFront. The JW Player files have been embedded in the web host, Hostgator. JW Player is not a plug in. I have followed the s2Member video tutorial for Amazon S3/Cloudfront/JW Player to the letter. Yet when I open the page to play the mp3 file, the page shows only the code/text.

Because I am a novice, I have checked and re-checked the installation several times, always with the same result. Please advise.

Check it out at http://www.depressionmeditation.net/a-minimeditation-wake

Thanks.

List Of Topic Replies

Viewing 18 replies - 1 through 18 (of 18 total)
Author Replies
Author Replies
Posted: Tuesday Jun 5th, 2012 at 2:13 pm #15557
ryannagy
Username: ryannagy

It is hard to give you an answer as there are so many possibiliities. I just set this up on Bluehost and it was a pain, but I finally got it to work.

The page you posted about redirects to a “page not found.” Can you give another example so we can see what is happening?

– Ryan

Posted: Tuesday Jun 5th, 2012 at 7:01 pm #15580
ryannagy
Username: ryannagy

One thing that I just remembered: One of the final things that I did to make the JWPlayer work was to install the “Raw HTML” plugin and then makes sure that on EACH page that had the player, I checked the boxes:

Disable wptexturize
Disable automatic paragraphs
Disable convert_chars
Disable smilies

After that, they worked.

– Ryan

Posted: Tuesday Jun 12th, 2012 at 9:46 pm #16311

Hello Ryan,

Thanks for your replies. Yes, I did download RawHTML and checked the boxes during my initial installation. No luck.

I have since reversed the installation as outlined in the s2Member tutorials, and have installed JW Player as a plug-in to my Word Press platform. The tags allow for easy configuration without the need to write code. (Better for me; not a programmer)

JW Player is now inserted twice on the following page: http://www.depressionmeditation.net/aa-draft-audio.

The bottom player was uploaded using the Media tab, and points directly to a file located in my Word Press Media folder: http://www.depressionmeditation.net/wp-content/uploads//wp-content/plugins/s2member-files/mm1wake.mp3

The top player was uploaded using the External Media tab. Presumably this points to S3 bucket with Cloudfront. http://www.depressionmeditation.net/wp-content/uploads/https://s3.amazonaws.com/thedepressionmeditationsystem/mm1wakeey.mp3

When activated, both players begin to search for the file then show error #2032. The players are obviously looking for the file and can’t find it.

I have spent hours searching the help on the Long Tail Video site. There’s quite a bit of help for programmers, but I haven’t seen help for plug-in users.

Where should the players be looking? Any information will be greatly appreciated. Thanks. :)

Posted: Saturday Jun 16th, 2012 at 8:17 pm #16694
ryannagy
Username: ryannagy

Sorry for not replying sooner. The forum is not sending me notifications of replies.

I think you need to skip using the plugin. It is not compatible with S2Member.

The link that you have above is not a valid link. It is actually two links:

http://www.depressionmeditation.net/wp-content/uploads/

https:/s3.amazonaws.com/thedepressionmeditationsystem/mm1wakeey.mp3

The second is the link that you want. When clicking that, I get the error message:

This XML file does not appear to have any style information associated with it. The document tree is shown below.

AccessDenied

Access Denied
045F07366FABE7B0

Eulq2xN99HV9pdYLvjMaQQjbXSaEmBWPG8xyFjeVYX5B1ei8P42i+JZekkSuOmgW

Which is an error message that I used to get as well. It seems to me that to fix that, I had to add a file to my Amazon S3 bucket called crossdomain.xml.

But for the life of me, I cannot remember how I did that. I think instructions are in one of Joshe’s videos. I will post the link in just a moment.

You are almost there!

– Ryan

Posted: Saturday Jun 16th, 2012 at 8:19 pm #16695
ryannagy
Username: ryannagy

By the way – Can you do a normal S2member link such as a download? That is can you link and download protected files without JwPlayer? That would be a good test that yourS2member is set-up correctly.

– Ryan

Posted: Sunday Jun 17th, 2012 at 7:06 pm #16742

Hello Ryan,

Thanks for your response. No matter about the time–its perfect.

re: Link: Thanks for letting me know which link I need. The s2 tutorial simply says: “Once your S3 bucket is configured, everything else is the same.” It does not specifically state whether to point to S3 or Word Press. Here’s the tutorial:

http://www.youtube.com/watch?list=PLA40AFC154461862E&v=_x_KkSn803M&feature=player_embedded

In addition, when pasting just the S3 path, JW Player automatically adds the s2 path in front. There’s no way around it. Maybe this is the source of the plug-in incompatibility.

re: Crossdomain.xml: Yes, when I originally used the “cut and past code” method as outlined in the s2 tutorials, I downloaded the crossdomain.xml file to my S3 bucket. It loads automatically during installation.

I just removed crossdomain.xml from my bucket. Perhaps that’s what’s confusing things, although I doubt it.

re: plug-in compatibility: I referred to a post that recommended using the plug in. It suggested adding a tag to the file: content-disposition = inline. This tag appears to fix only a streaming issue and not compatibility issues. I’m a complete novice and simply do not know.

I will search for the post and send you the link. Probably tomorrow.

If I cannot make the plug in work, then I will revert to the short-code method and go from there.

Thanks again for your time and information.
Janet

Posted: Sunday Jun 17th, 2012 at 7:11 pm #16743

Ryan–

Also, I have not tried to play the S3 file without JW Player. Have thought about it but I’m not sure how to go about that. Suggestions?

Thanks again.
Janet

Posted: Sunday Jun 17th, 2012 at 9:08 pm #16747
ryannagy
Username: ryannagy

Hi Janet – Keep the crossdomain file in there I think S2Member needs it.

The linking style that I mentioned is something like this:

<a href="[s2File download="FILENAME.mp3" /]" target="_blank">Download Presentation.</a>

Although for you, the file extension might not be .mp3. If you can do the above and it works (i.e downloads or opens in another browser window) it will be an indication that your S2member is configured correctly. If not, then the problem might not be with JWPlayer but with your S2member configuration.

Try it and see what happens?

– Ryan

  • This reply was modified 4 years, 6 months ago by  ryannagy.
Posted: Monday Jun 18th, 2012 at 6:28 pm #16794

Hello Ryan,

Thanks for your reply. I created a page with the code you provided. Is the “filename” correct? Or should I include the entire path with the filename?

Here’s the exact code on the page:

<p>FILE BEGIN<br />
<a href="[s2File download="mm1wakeey.mp3" /]" target="_blank">Download Presentation.</a><br />
FILE END</p>

<p>FILE BEGIN<br />
<a href="[s2File download="mm1wake.mp3" /]" target="_blank">Download Presentation.</a><br />
FILE END</p>

Here’s the s2 Media File URL for “mm1wakeey.mp3”: http://www.depressionmeditation.net/wp-content/uploads/https://s3.amazonaws.com/thedepressionmeditationsystem/mm1wakeey.mp3

Here’s the s2 Media File URL for “mm1wake.mp3”: http://www.depressionmeditation.net/wp-content/uploads//wp-content/plugins/s2member-files/mm1wake.mp3

Neither File URL can be edited.

Here’s the link to the page:

http://www.depressionmeditation.net/test2

Here is the error code when clicking on the link:

503: Basic File Downloads are NOT enabled yet. Please contact Support for assistance. If you are the site owner, please configure: s2Member -> Download Options -> Basic Download Restrictions.

What does this indicate?

Thanks again Ryan,
Janet

Posted: Monday Jun 18th, 2012 at 7:19 pm #16799
ryannagy
Username: ryannagy

Ok. I thought something like that might be happening. You need to tell S2members how often your various members can download your files (if they can download them at all? Or are you just doing streaming?)

Go to that section and put in some numbers. For example 10 times every 30 days or something (and remember to click “SAVE.” and then test your link on this page again:

http://www.depressionmeditation.net/test2

you should be able to download.

What you wrote below is not a link, it is two links:

Here’s the s2 Media File URL for “mm1wakeey.mp3″: http://www.depressionmeditation.net/wp-content/uploads/https://s3.amazonaws.com/thedepressionmeditationsystem/mm1wakeey.mp3

Namely:

http://www.depressionmeditation.net/wp-content/uploads/

and:

https://s3.amazonaws.com/thedepressionmeditationsystem/mm1wakeey.mp3

Posted: Monday Jun 18th, 2012 at 8:32 pm #16811

Ryan,

Thank you so much again for your patience. I’m a writer not a programmer and really appreciate your time and information.

Against your advice I deleted the crossdomain.xml file. How do I get it back? I have researched s2Member and have not found the file. It is downloaded automatically when Cloudfront is configured. Can you point me in the right direction?

Thanks again,
Janet

Posted: Monday Jun 18th, 2012 at 9:00 pm #16812
ryannagy
Username: ryannagy

Hi Janet – Not a problem, though sorry you are not up and running just yet. I believe S2member created your crossdomain automatically as you mentioned. I did find an old post by Jason (the developer) which talks about what to put in your crossdomain file.

I believe you can simply copy and past what he wrote (see the post) into a text file. Save the text file as crossdomain.xml and then upload it:

http://www.s2member.com/forums/topic/file-access-and-crossdomain-errors/#post-6706

Posted: Monday Jun 18th, 2012 at 9:25 pm #16815

Thanks so much for your reply. The crossdomain.xml file is uploaded into S3 per your instructions.

I have since had a few more ideas that I’m working with (on http://www.depressionmeditation.net/aa-draft-audio). I’ll continue tomorrow.

FYI: All mp3 files will be available to all members at any given time. They will stream and not download. I remember restricting to 5 streams per individual file per membership per day. But I can’t recall where I did that.

And yes, I look forward to be up and running soon!

Thanks again,
Janet

Posted: Tuesday Jun 19th, 2012 at 10:44 pm #16960

Hello Ryan,

Even though I will not allow download and will only allow streaming, I set the maximum download parameters per your recommendation. It seems to like that.

In addition, I opted to deactivate and delete the JW Player plug in. I deleted all previous attempts and began again. I followed the instructions on the video tutorial in s2Member/Video Tutorials/s2Member File Downloads (Amazon S3/CloudFront/JW Player).

I’m making progress: the player appears and the error message is different.

You may see the file at http://www.depressionmeditation.net/aa-draft-audio. Expand the player to full screen to see the entire error message. Obviously the file can’t be found, even though it’s properly configured in my S3 Bucket.

Do you have any thoughts?

Thanks,
Janet

Posted: Thursday Jul 5th, 2012 at 1:43 pm #18401

Hello Ryan,

Thanks again for all your advice. I finally got everything to work. It was a combination of the changes you suggested, as well as converting the mp3 files to mp4. (duh… :))

Cheers!

Posted: Thursday Jul 5th, 2012 at 4:51 pm #18412
ryannagy
Username: ryannagy

Janet – Good to see that you got it going. Sorry that I missed your previous message.

I did not think of the mp4 issue. Most of my files are mp3 audio only and work fine. Once Amazon s3 is up and running it seems to run flawlessly. I am serving 300 members 42 mp3 and 3 videos and so far, everything has been great.

(After the headache of getting it set-up, of course)

– Ryan

Posted: Thursday Jul 5th, 2012 at 5:05 pm #18413

Ryan-

Interesting that you’re running mp3 files… I converted my mp3’s to mp4 in order for it to work. Yes, s2 and s3 seem to be working well so far.

Great that you have 300 members. What is your website?

Janet

Posted: Thursday Jul 5th, 2012 at 5:14 pm #18414
ryannagy
Username: ryannagy

Janet –

Thanks for asking. This is my site:

http://ericksoniancongress.com/

People pay a one time fee (Now $395, but it started out at $195) for access to the presentations. The business model works very well because some of my presenters are very well known and they have large email lists. They promote the conference, get a large % of the registration fee and there is still enough left for me and my business partner. Also, I use Aweber and S2member to collect emails and thus am building a large list of my own.

This is the 4th or 5th conference that I have done with S2member. One only made about a $100) total and some of the others did better. But little by little I am figuring it out.

cheers! And good luck.

– Ryan

Viewing 18 replies - 1 through 18 (of 18 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.