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.

Protected videos don't work in Safari

Home Forums Community Forum Protected videos don't work in Safari

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

Topic Author Topic
Posted: Friday Aug 24th, 2012 at 4:51 am #22927

I have come across a strange problem with my test website: http://www.mcemcourses.org/wordpress

After successfully implementing the MediaElement.js video player plugin and protecting content with S2member, videos play across all browsers (Firefox, Chrome, IE 6-9) but not on Safari (desktop version or ipad/iphone). All my video files are currently stored in /s2member-files.

If I move one of the video files into the normal Media folder (/wp-content/uploads) which of course isn’t protected by S2member, it plays with no trouble in all browsers including Safari.

The code I’m using to include a video file in a page is:

[video src="http://www.mcemcourses.org/wordpress/?s2member_file_download=abdomenpainhistorypreview.mp4"]

Can you shed any light on this issue?

List Of Topic Replies

Viewing 7 replies - 1 through 7 (of 7 total)
Author Replies
Author Replies
Posted: Saturday Aug 25th, 2012 at 5:38 am #23029

Hi Shaun,

Try

[video src="http://www.example.org/wordpress/s2member-files/abdomenpainhistorypreview.mp4"]
Posted: Saturday Aug 25th, 2012 at 5:49 am #23032

Thanks for your response. I think you meant:

http://www.example.org/wordpress/wp-content/plugins/s2member-files/abdomenpainhistorypreview.mp4

But unfortunately that doesn’t work in Safari either.

Posted: Saturday Aug 25th, 2012 at 6:28 am #23037

Yes sorry that is what I meant.

Hmm are you logged in with safari? I just visited using chrome and couldn’t view the preview videos because i’m not logged in so just get the blank video player, that would explain why it is working when you move it outside of /s2member-files/

If thats not it perhaps there is a problem with safari and the script protecting the video

Posted: Saturday Aug 25th, 2012 at 7:08 am #23046

You are right in saying that without logging in, the preview videos aren’t available on any browser because I mistakenly put them in the s2member protected folder. I will move those previews into a normal folder.

However, even when I’m logged into Safari I still cannot view any videos so there does seem to be a problem with the script protecting videos within the s2member-files folder.

Posted: Saturday Aug 25th, 2012 at 7:17 am #23047

Yes maybe a support rep can shed more light on this.

Have you tried using the jwplayer?

Posted: Saturday Aug 25th, 2012 at 8:13 am #23050

I have tried JWPlayer but it unfortunately isn’t responsive (which this site requires). Mediaelement.js is the player I’m using as it provides a clever flash fallback so works across all browsers and devices with a single h.264 .mp4 file.

Posted: Saturday Aug 25th, 2012 at 8:34 am #23051

You can make the JWPlayer responsive by setting the width and height in your css file and not setting it in the embedder or shortcode.

You can do the fallback also.

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.