Changeset 2116033
- Timestamp:
- 07/02/2019 09:52:28 AM (7 years ago)
- Location:
- spreaker-shortcode/trunk
- Files:
-
- 3 edited
-
package.json (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
spreaker_shortcode.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
spreaker-shortcode/trunk/package.json
r2045976 r2116033 1 1 { 2 2 "name": "spreaker-shortcode", 3 "version": "1.7. 7",3 "version": "1.7.8", 4 4 "description": "A simple and easy way to embed Spreaker widgets into your WordPress blog.", 5 5 "main": "spreaker_shortcode.php", -
spreaker-shortcode/trunk/readme.txt
r2045976 r2116033 4 4 Requires at least: 2.5.0 5 5 Tested up to: 5.1 6 Stable tag: 1.7. 76 Stable tag: 1.7.8 7 7 8 8 … … 33 33 * `height`: player's height - can be in % or px (ie. `100%` or `400px`). 34 34 * `theme`: player's UI theme. Supported themes are: `light` (default) and `dark`. 35 * `color`: player's main color. Supported fromats are short and long hex values (ie. `F00` or `FF0000`). This feature requires the podcast author to subscribe to [Station plan or above](https://www.spreaker.com/plans) 35 36 * `cover`: HTTPS url of an image to display as player's background. 36 * `playlist`: configures how the playlist should be built. It can be `playlist="false"` to disable the playlist, `playlist="user"` to display all user's episodes in the playlist or `playlist="show"` to display all show's episodes in the playlist. The default behavious depends on resource. The playlist is visible only if the player height is greater than 200px.37 * `playlist`: configures how the playlist should be built. It can be `playlist="false"` to disable the playlist, `playlist="user"` to display all user's episodes in the playlist or `playlist="show"` to display all show's episodes in the playlist. The default behavious depends on resource. The playlist is visible only if the player height is greater than 200px. 37 38 * `playlist-continuous`: enables or disables the playlist continuous playback. When `true` it continuously plays all episodes in the playlist until the end. 38 39 * `playlist-loop`: enables or disables loop playlist playback when continuous playback is enabled. When `true` and playlist continuous playback is enabled as well, it will loop the playlist continuously (defaults to `false`). … … 64 65 65 66 == Changelog == 67 68 = 1.7.8 = 69 * Added `color` attribute support 66 70 67 71 = 1.7.7 = -
spreaker-shortcode/trunk/spreaker_shortcode.php
r2045976 r2116033 58 58 'height' => '200px', 59 59 'theme' => null, 60 'color' => null, 60 61 'cover' => null, 61 62 'playlist' => null, … … 103 104 "$resource_type" => $resource_id, 104 105 'theme' => $params['theme'], 106 'color' => $params['color'], 105 107 'cover_image_url' => $params['cover'], 106 108 'playlist' => $params['playlist'],
Note: See TracChangeset
for help on using the changeset viewer.