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.

Home Forums Todd

About: Todd

I'm unique! Just like everybody else.


My Favorite Topics


Topics I'm Subscribed To

Viewing 14 topics - 1 through 14 (of 14 total)
Topic Count Last Reply
Still Looking Forward to Stripe Integration

By:  Todd in: Community Forum

voices: 5
replies: 15

3 years, 6 months ago  VegasKev

New JW Player Features with Responsive Video

By:  Todd in: Community Forum

voices: 2
replies: 2

3 years, 8 months ago  Bruce

Responsive Video with S2Stream and JWplayer.

By:  Todd in: Community Forum

voices: 2
replies: 1

3 years, 8 months ago  Bruce

S2Stream Shortcode – Width Percentage

By:  Todd in: Community Forum

voices: 3
replies: 6

3 years, 9 months ago  Todd

New JW Player 6 S2 Video/ audio shortcodes?

By:  RossGrant in: Community Forum

voices: 4
replies: 9

3 years, 11 months ago  Todd

Pass JWPlayer Pro License Key with S2Stream?

By:  Todd in: Community Forum

voices: 2
replies: 2

3 years, 11 months ago  Jason (Lead Developer)

Infusionsoft Integration

By:  michael cosentino in: Community Forum

voices: 4
replies: 8

3 years, 11 months ago  michael cosentino

Need some help w/ mysterious JW Player issue!

By:  RossGrant in: Community Forum

voices: 4
replies: 7

4 years ago  Todd

Existing Customers Upgrade 30% Discount

By:  Todd in: Community Forum

voices: 2
replies: 3

4 years ago  Cristián Lávaque

JW Player RTMP streaming MP4, Amazon® S3 1 2

By:  James Martell in: Community Forum

voices: 8
replies: 47

4 years, 1 month ago  Bruno

Stripe Integration With S2Member

By:  VegasKev in: Community Forum

voices: 8
replies: 17

4 years, 1 month ago  Bruce

Does S2Member Support Stripe Yet?

By:  Todd in: Community Forum

voices: 3
replies: 2

4 years, 3 months ago  Cristián Lávaque

Stripe s2Member Integration

By:  Alex Aames in: Community Forum

voices: 2
replies: 1

4 years, 4 months ago  Todd

Viewing 14 topics - 1 through 14 (of 14 total)

My Latest Replies (From Various Topics)

Viewing 24 replies - 1 through 24 (of 24 total)
Author Replies
Author Replies
Posted: Sunday May 12th, 2013 at 1:07 pm #49781
Todd
Username: tdaubs

I want to confirm this bug report. I, too, updated to 130510 and JW Player stopped working and even prevented pages with JW Player from fully loading. The browser just gets stuck where the s2stream shortcode is.

Fortunately, I am hosting with a company that allows for easy restores and I reverted back to former version and everything works fine.

Don’t upgrade to 130510 if you’re using JW Player until this is addressed.

I’m using S2stream with Amazon and Cloudfront with JW Player 6.

Posted: Saturday Mar 23rd, 2013 at 5:55 pm #45569
Todd
Username: tdaubs

Thanks Jason. It will be nice to have this functionality in S2Stream.

Posted: Saturday Mar 16th, 2013 at 11:48 pm #44952
Todd
Username: tdaubs

I was able to find a work around until S2Stream can support width and height percentages. The reason I want to use percentages is that I want the video to be responsive. In order to implement a responsive video I am implementing the process similar to the method presented here.

One of the requirements of this method is to have the video width and height attributes set to 100%.

As of version v130221, S2Members S2Stream shortcode doesn’t (evidently) support percentages in the width and height values. If you use a percent sign in width and height it’s stripped out. To bypass this limitation, I duplicated the shortcode file jwplayer-v6-rtmp.php found at /wp-content/plugins/s2member/includes/templates/players and renamed the new file jwplayer-v6-rtmp-responsive.php.

Find the line

height: %%player_height%%,

and replace with

height: '%%player_height%%%',

Then find

width: %%player_width%%,

and replace with

width: '%%player_width%%%',

Now when using the shortcode, I can use 100 for the width and height and it will honor the extra percentage sign we added in the new shortcode.

[s2Stream player="jwplayer-v6-rtmp-responsive" player_path="/jwplayer/jwplayer.js" file_download="myfile.mp4" player_width="100" player_height="100" player_key="myplayerkeycodehere" download_key="true" file_type="mp4" player_id="s2_stream_video" player_stretching="fill" /]

Finally, I’m using the FitVids for WordPress plugin. After activating the plugin, in it’s settings in the field for jquery CSS selector I’m using #wrapper. For the FitVids custom selector I’m using s2_stream_video_wrapper.

In my CSS, I add…

#s2_stream_video_wrapper {
    width: 100%;
    position: relative;
    padding: 0;
    padding-bottom: 75%;
}
#s2_stream_video_wrapper object {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

Please note, as pointed out in the above linked article, you will likely need to change the padding-bottom value in your CSS. The way to get that number is to divide the height/width of the source video and then multiply by 100. (height / width * 100 = percentage) The final number is the padding-bottom percentage you should use.

This method provides a responsive video using S2Member’s S2Stream shortcode with JWPlayer.

One final note, this will only work on pages with a single video and not on pages with multiple videos.

Posted: Thursday Mar 14th, 2013 at 9:41 pm #44663
Todd
Username: tdaubs

Any insight on what I need to do different is greatly appreciated.

Posted: Thursday Jan 24th, 2013 at 12:35 am #39279
Todd
Username: tdaubs

Updated to the latest version of S2 just a few minutes ago. Plugged in my JWplayer Pro key and everything is working beautifully. Really impressed by the support and superb documentation Jason. Thanks so much for all your hard work!

Posted: Wednesday Jan 23rd, 2013 at 3:41 pm #39229
Todd
Username: tdaubs

Any ideas?

Posted: Tuesday Jan 22nd, 2013 at 1:14 pm #38981
Todd
Username: tdaubs

Just wanted to drop a note of thanks to Randy for this very helpful post. I have been considering Infusionsoft for a project and I’m making a special note of this post. Again, thanks!

Posted: Monday Jan 21st, 2013 at 9:15 pm #38768
Todd
Username: tdaubs

Thanks RossGrant for the reference.

I haven’t been able to figure out how to pass a the license key for the pro version of JWplayer.

Neither this

player_jwplayer.key="####mykeyhere####"

nor this

player_key="####mykeyhere####"

work. I’m wondering if there is a way to pass a license key with this shortcode.

Posted: Monday Jan 21st, 2013 at 2:40 pm #38607
Todd
Username: tdaubs

I have the pro licensed version of JWplayer and I’m trying to figure out how to install the key. According to the S2Member docs, it seems you pass parameters like so… player_jwplayer.key=”####mykeyhere####” but that doesn’t seem to be working.

Any ideas?

Posted: Monday Jan 21st, 2013 at 2:12 pm #38603
Todd
Username: tdaubs

RossGrant – Could you provide a link to that documentation? I’m having some trouble finding it.

Posted: Monday Jan 21st, 2013 at 2:06 pm #38601
Todd
Username: tdaubs

Really happy to see S2member add these shortcodes. VERY HELPFUL! Thank you!

I, too, currently use Phillys shortcode plugin with JWplayer 5. Philly has been dealing with some health issues so has not yet upgraded the plugin to support JWP 6. So I am interested in using this new functionality in S2Member but I would like to see a bit more documentation on what options we have with passing parameters to the plugin.

Any additional comments/docs appreciated.

Posted: Sunday Dec 23rd, 2012 at 12:18 pm #35440
Todd
Username: tdaubs

Yes, I have the same issue. I am using a theme from the MySiteMyWay people and I have been unable to get JWPlayer working with responsive settings turned on.

I’m still making efforts to fix this issue. I believe there is a js conflict somewhere but I have been unable to troubleshoot it.

Posted: Sunday Dec 23rd, 2012 at 12:15 am #35395
Todd
Username: tdaubs

I’m not sure this will be any help but I’m wondering if when you authenticate your Amazon S3 credentials in the S2 settings, if after moving the domain, you might need to do it again?

Posted: Sunday Dec 16th, 2012 at 12:51 pm #34788
Todd
Username: tdaubs

Yes, it is working now. Thanks!

Posted: Sunday Dec 2nd, 2012 at 1:45 pm #33219
Todd
Username: tdaubs

@Jason Did you update the code samples with the latest release for JWPlayer 6?

Posted: Friday Nov 30th, 2012 at 9:10 pm #33069
Todd
Username: tdaubs

I just want to add that I think Stripe is a game changer for payment processing especially for those that sell digital content. I’m really happy that S2 plans to support Stripe soon!

Posted: Tuesday Nov 20th, 2012 at 11:47 pm #32190
Todd
Username: tdaubs

Thanks Jason.

I’m anxiously looking forward to two pieces of functionality in a future release of S2. JWplayer 6 support and Stripe support.

Keep up the fantastic work!

Posted: Saturday Nov 17th, 2012 at 2:25 am #31861
Todd
Username: tdaubs

I discovered the issues. They are not related to S2. However, this may be good to have in case anyone else runs into the same problem.

After I purchased S2Member I found a recommendation Jason made regarding a theme from MySiteMyWay. In fact, one of the themes at MySiteMyWay actually powers S2member.com although with some modifications in place.

After reading his recommendation, I decided to checkout their themes and was pleasantly surprised at the quality of the themes and the power of them. So I licensed their theme called Construct.

The theme can be responsive and has some fairly complex functionality to resize content on a page based on the size of the screen viewing it. Each of MysiteMyway themes allow for the responsive functionality to be turned off.

After trying about everything in the universe to get JWplayer to play movies… I defaulted back to the 2010 theme that WP ships with and… sure enough… JWplayer loaded up just fine and my content was streaming beautifully from S3 and Cloudfront. I DID have those settings correct! :)

However, in the Construct theme, it simply would not load UNLESS I unchecked responsive functionality in the theme. So there is some javascript conflict between JWplayer and the JS that makes Construct (I’m guessing this affects all their themes as they are all based on the same framework) responsive.

So I have everything working with S2Member as needed but my site is no longer responsive. :(

I’m hoping the MySiteMyWay guys can help me figure this out. Read more here.

**Please note*** I also had to comment out two lines in the themes framework. More info on this at the above link.

  • This reply was modified 4 years, 1 month ago by  Todd.
  • This reply was modified 4 years, 1 month ago by  Todd.
Posted: Friday Nov 16th, 2012 at 7:27 pm #31846
Todd
Username: tdaubs

@James Can you elaborate on what the issues you were having with Raw HTML and PHP-exec?

@bruno Thanks for the suggestions.

I have gone through all the steps you mentioned. Double-checked. Triple-checked. I also uninstalled S2, reset the former S2 settings with the code mentioned here. I setup a new bucket on S3 and implemented my Cloudfront with private key. Cloudfront shows the distributions accordingly with a status of deployed and state of enabled. My jwplayer files are in the root of the site at /jwplayer/ and I have boxed checked to disable the visual editor when writing along with both Raw HTML and PHP-exec plugins installed and activated with the recommended settings. In addition, I have tried numerous code samples as suggested in the JW Player & RTMP protocol examples AND also tried the S2 Video Shortcodes plugin… and nothing works.

My download restrictions are set to 999999999 for every 1 day.

Even with all these tests, I notice one strange thing and I can’t figure out how to avoid this issue. I’m getting paragraph tags and linebreaks added to the code after submission even though the visual editor is disabled.

When I try the code sample suggested by S2Member, the source looks on the page looks like this…

<div id="jw-container">JW Player® appears here.</div>
<p><script type="text/javascript" src="/jwplayer/jwplayer.js"></script><br />
    <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: code removed here but looks correct... </p>
<p>            /* Else, try an HTML5 video tag. */
       {type: "html5", provider: "video",
           config: {file: more code removed but looks correct... </p>
<p>            /* Else, this is a safe fallback. */
       {type: "download", /* Download the file. */
           config: {file: "code removed but looks correct... }}
   ],
   /* Set video dimensions. */ width: 480, height: 270
   });
    </script></p>

Lots of p tags everywhere. Why? I have no idea.

I’m now trying the S2 Video Shortcodes plugin as I seem to get a bit closer but still a couple of p tags.

[s2video html5="true" download="true" downloadkey="true" width="1024" height="768" video="myvideofile.mp4"]

When I go into view the source for the video post it looks something like this…

<div id="videoplayer" class="videoplayer"></div>
<p>		<script type="text/javascript" src="http://www.mysite.com/jwplayer/jwplayer.js"></script><br />
		<script type="text/javascript">all this code removed but looks good</script><br />
		<script type="text/javascript">
			if(typeof mp4 === 'object')
				{
					jwplayer("videoplayer").setup({
						modes:[
							{type: "flash", provider: "rtmp", src: "http://www.mysite.com/jwplayer/player.swf",
								config: {"streamer": mp4['streamer'], "file": mp4['file']}},{type: "html5", provider: "video", config: {"file": mp4['url']}},{type: "download", config: {"file": mp4['url']}},],
			"author": "",
			"description": "",
			"duration": "",
			"image": "",
			"start": "",
			"title": "",
			"controlbar": "bottom","width": "1024","height": "768","plugins": ""});
		}
		else
		{
		document.write("Sorry, you do NOT have access to this file.");
		}
		</script></p>

Finally, when I use the code suggested by S2Member, I do get a “JW Player® appears here”. However, when I use the shortcode, I get nothing that displays on the front end.

Anybody got any ideas on what else I can do to troubleshoot?

Posted: Friday Nov 16th, 2012 at 2:10 pm #31795
Todd
Username: tdaubs

Sorry for the back to back posting but I forgot to ask a question.

In one of the tutorials on the site it says to upload protected files to the s2-protected files directly but in another place it says to upload to the bucket at S3. Which approach is correct or will either work?

Posted: Friday Nov 16th, 2012 at 2:07 pm #31794
Todd
Username: tdaubs

I’m still troubleshooting myself. I feel pretty strongly that it must be something on my side wrong as others are getting this to work. I have now decided to uninstall S2 and start all over again.

It would be great if there was a page with step by step instructions to cover ALL the bases of getting S2, S3, Cloudfront and JW Player setup correctly and securely. I have watched the video a few times and its a great resource but a list of instructions would be a little more friendly when going through the process.

Posted: Wednesday Nov 14th, 2012 at 9:34 pm #31651
Todd
Username: tdaubs

Excellent! I’ll check back in later tonight too. Thanks for all your hard work on this!

Posted: Wednesday Nov 14th, 2012 at 5:34 pm #31620
Todd
Username: tdaubs

I, too, need to get this working. Just licensed S2Member a few days ago. Any updates?

Posted: Thursday Aug 30th, 2012 at 12:21 pm #23597
Todd
Username: tdaubs

According to this thread its coming. Really happy to see Stripe support in S2 almost here.

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