YSS players - YourMembers/yourmembers GitHub Wiki

Out of the box Your Members Your Secure Stream supports two players.

JWPlayer

JWPlayer is supported through its official WordPress plugin. It is written by the JWPlayer authors (Longtail Video) and can be found on WordPress Extend Here.

JWPlayer supports S3, Download and Streaming CloudFront Distributions fully.

Flowplayer

Flowplayer through a WordPress plugin, FV WordPress Flowplayer. This can be fond on WordPress Extend Here.

Flowplayer in YM YSS supports S3 and Download Cloudfront distributions fully. It also supports Streaming Distributions for FLV files only.

The Shortcode

The basic form of the YSS Player short code is as follows:

[ yss_player id=x]

Where x is the ID of the video as found on the Content tab of YSS in YM Admin.

Additionally you can include the following arguments:

  • width=x for specifying a width over the default 640
  • height=x for specifying a height over the default 380
  • player=x for specifying a player, this means you can choose the player you want to use for that file

The default heights normally work effectively, and were sourced from the standard size that YouTube displays videos at.

If you are using player, the follow entries are valid. Any other content will result in unexpected results.

  • fv-wordpress-flowplayer for Flowplayer
  • jwplayer for JWPlayer
  • custom for Custom Player

Custom Players

YM YSS now supports the use of Custom Players. Rather than using a pre built Plugin, you can upload your own player of choice, or even use one of the plugin files above, and create your own embed code.

Or you can just create a link to the file, and allow your users to download the file.

The custom player box, will take any HTML, and thru four shortcodes you can drop in the relevant substitutions for the file in question.

The shortcodes for the Custom Player are, (note they are only valid in this textarea and cannot be used in posts).

[yss_video_url] - the URL for the File, protected/encoded as required. [yss_streamer] - if you are using a CloudFront streaming distribution the Stream URL will be entered here, (CloudFront uses RTMP streaming) [yss_video_height] - the Height in digits [yss_video_width] - the Width in digits

Through the use of a custom player you can do more advanced things than the standard additional plugins can do. You should refer to the available documentation from the Player Vendor for further information, or contact us for a custom quote for a specific player.

⚠️ **GitHub.com Fallback** ⚠️