PluginProbe
s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions / 261001
s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions v261001
261001 260927 260917 260913 260909 260829 260814 260805 110710 110731 110812 110815 110912 110913 110915 110926 110927 111002 111003 111011 111017 111029 111105 111206 111216 All 191 releases
← All changes | src/includes/classes/sc-files-in.inc.php +2 -1 260913 → 261001 View file →
@@ -132,9 +132,10 @@
132 132 'player_width' => '480', 'player_height' => '270', 'player_aspectratio' => '',
133 133
134 134 // Playback
135 135 'player_autostart' => 'no', 'player_fallback' => 'yes', 'player_mute' => 'no',
136 - 'player_primary' => (($attr['player'] === 'jw-player-v7' || $attr['player'] === 'jw-player-v6') ? 'html5' : 'flash'),
136 + //260920.1835 Avoid reading the optional player attribute before shortcode defaults have been applied.
137 + 'player_primary' => ((isset($attr['player']) && ($attr['player'] === 'jw-player-v7' || $attr['player'] === 'jw-player-v6')) ? 'html5' : 'flash'),
137 138 'player_repeat' => 'no', 'player_startparam' => '', // `startparam` seems to be JW Player v6 only.
138 139
139 140 // Advanced Option Blocks
140 141 'player_option_blocks' => ''), $attr);