Page 1 of 1

Embedding Video

PostPosted: January 10th, 2012, 10:58 pm
by sandrad
For something that should be so simple, it has proven to be quiet challenging for this beginner.

Am I uploading my videos to the correct location (s2member-files)?

Can I use any video player or do I have to use JW Player as others have mentioned here?

I know zero about coding, where to place it in my blog. If you can break it down for me in the simpliest form that would be so appreciated!!!

Re: Embedding Video

PostPosted: January 11th, 2012, 2:56 pm
by Raam Dev
Hi sandrad,

Did you read the inline documentation at WP Admin -> s2Member -> Download Options -> JW Player® & RTMP Protocol Examples and try the first example (JW Player® ( MP4 file, via Rewrite URLs. Amazon® S3/CloudFront NOT required )) that's explained there?

Re: Embedding Video

PostPosted: January 11th, 2012, 5:04 pm
by sandrad
Well of course not. I'll try there.

Are there places I can go to outsource this part? Elance maybe?

Re: Embedding Video

PostPosted: January 12th, 2012, 5:21 pm
by Raam Dev
Yes, please see here: s2Member Install Help / Projects / Custom Coding viewtopic.php?t=4158

Re: Embedding Video

PostPosted: January 25th, 2012, 12:24 am
by sandrad
Well I tried the first script example from WP Admin -> s2Member -> Download Options -> JW Player® & RTMP Protocol Examples but no luck. I could not even get jwplayer to display on the page. So I took the example from Jwplayer's quick start (see below) and it displays when the page is rendered.
However, I am getting the same error as before "Video not found or access denied /up-content/plugins/s2member-files/s2member-file-inline/StandingPoseVideo.mp4". I verified that the directories exist and the mp4 video is located in s2member-file-inline. Still feels like a permissions issue. Thoughts?

<script type="text/javascript" src="/jwplayer/jwplayer.js"></script>

<div id="container">Loading the player ...</div>

<script type="text/javascript"> jwplayer("container").setup({ flashplayer: "/jwplayer/player.swf", file: "/wp-content/plugins/s2member-files/s2member-file-inline/StandingPoseVideo.mp4", height: 270, width: 480 }); </script>


Also, the code works if I specify a file not in the s2member-files directory....see below:


<script type="text/javascript" src="/jwplayer/jwplayer.js"></script>

<div id="container">Loading the player ...</div>

<script type="text/javascript"> jwplayer("container").setup({ flashplayer: "/jwplayer/player.swf", file: "/sandra/StandingPoseVideo.mp4", height: 270, width: 480 }); </script>

Re: Embedding Video

PostPosted: January 26th, 2012, 11:24 am
by Raam Dev
Hi Sandra,

Please see Cristian's suggestion here: viewtopic.php?f=4&t=16983&p=61587&#p61587