# s2member/261001/src/includes/templates/players/jwplayer-v7.php

s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls &amp; Member Access Subscriptions, version 261001. 43 lines.

- Page: https://pluginprobe.com/plugins/s2member/261001/code/src/includes/templates/players/jwplayer-v7.php
- Raw: https://pluginprobe.com/plugins/s2member/261001/raw/src/includes/templates/players/jwplayer-v7.php
- Modified: 2017-02-21T03:53:30+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/s2member/261001/code/src/includes/templates/players/jwplayer-v7.php#L10-L20`.

```php
<?php
// @codingStandardsIgnoreFile
if(!defined('WPINC')) // MUST have WordPress.
	exit("Do not access this file directly.");
?>

<div id="%%player_id%%" class="s2member-jwplayer-v7"></div>
<script type="text/javascript" src="%%player_path%%"></script>
<script type="text/javascript">
	if(typeof jwplayer.key !== 'string' || !jwplayer.key)
		jwplayer.key = '%%player_key%%';

	jwplayer('%%player_id%%').setup
		({
			playlist:
				[{
					title: '%%player_title%%',
					image: '%%player_image%%',

					mediaid: '%%player_mediaid%%',
					description: '%%player_description%%',

					tracks: %%player_tracks%%,

					sources: %%player_sources%%
				}],

			controls: %%player_controls%%,
			stretching: '%%player_stretching%%',
			width: %%player_width%%,
			height: %%player_height%%,
			aspectratio: '%%player_aspectratio%%',

			mute: %%player_mute%%,
			autostart: %%player_autostart%%,
			fallback: %%player_fallback%%,
			primary: '%%player_primary%%',
			repeat: %%player_repeat%%,

			%%player_option_blocks%%
		});
</script>

```
