diff --git a/assets/css/castos-player.css b/assets/css/castos-player.css index 665683f9..14320a8e 100644 --- a/assets/css/castos-player.css +++ b/assets/css/castos-player.css @@ -1,5 +1,184 @@ /* Fonts */ -@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&family=Roboto:wght@400;500&display=swap'); +/* devanagari */ +@font-face { + font-family: 'Poppins'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(../fonts/poppins-400-devanagari.woff2) format('woff2'); + unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB; +} +/* latin-ext */ +@font-face { + font-family: 'Poppins'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(../fonts/poppins-400-latin-ext.woff2) format('woff2'); + unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Poppins'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(../fonts/poppins-400-latin.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} +/* devanagari */ +@font-face { + font-family: 'Poppins'; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(../fonts/poppins-500-devanagari.woff2) format('woff2'); + unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB; +} +/* latin-ext */ +@font-face { + font-family: 'Poppins'; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(../fonts/poppins-500-latin-ext.woff2) format('woff2'); + unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Poppins'; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(../fonts/poppins-500-latin.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} +/* cyrillic-ext */ +@font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(../fonts/roboto-400-cirillic-ext.woff2) format('woff2'); + unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; +} +/* cyrillic */ +@font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(../fonts/roboto-400-cirillic.woff2) format('woff2'); + unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} +/* greek-ext */ +@font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(../fonts/roboto-400-greek-ext.woff2) format('woff2'); + unicode-range: U+1F00-1FFF; +} +/* greek */ +@font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(../fonts/roboto-400-greek.woff2) format('woff2'); + unicode-range: U+0370-03FF; +} +/* vietnamese */ +@font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(../fonts/roboto-400-vietnamese.woff2) format('woff2'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(../fonts/roboto-400-latin-ext.woff2) format('woff2'); + unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(../fonts/roboto-400-latin.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} +/* cyrillic-ext */ +@font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(../fonts/roboto-500-cyrillic-ext.woff2) format('woff2'); + unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; +} +/* cyrillic */ +@font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(../fonts/roboto-500-cyrillic.woff2) format('woff2'); + unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} +/* greek-ext */ +@font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(../fonts/roboto-500-greek-ext.woff2) format('woff2'); + unicode-range: U+1F00-1FFF; +} +/* greek */ +@font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(../fonts/roboto-500-greek.woff2) format('woff2'); + unicode-range: U+0370-03FF; +} +/* vietnamese */ +@font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(../fonts/roboto-500-vietnamese.woff2) format('woff2'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(../fonts/roboto-500-latin-ext.woff2) format('woff2'); + unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(../fonts/roboto-500-latin.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} /* Defaults */ .castos-player { diff --git a/assets/fonts/poppins-400-devanagari.woff2 b/assets/fonts/poppins-400-devanagari.woff2 new file mode 100644 index 00000000..bb8c300c Binary files /dev/null and b/assets/fonts/poppins-400-devanagari.woff2 differ diff --git a/assets/fonts/poppins-400-latin-ext.woff2 b/assets/fonts/poppins-400-latin-ext.woff2 new file mode 100644 index 00000000..25e6e4e3 Binary files /dev/null and b/assets/fonts/poppins-400-latin-ext.woff2 differ diff --git a/assets/fonts/poppins-400-latin.woff2 b/assets/fonts/poppins-400-latin.woff2 new file mode 100644 index 00000000..36195bdd Binary files /dev/null and b/assets/fonts/poppins-400-latin.woff2 differ diff --git a/assets/fonts/poppins-500-devanagari.woff2 b/assets/fonts/poppins-500-devanagari.woff2 new file mode 100644 index 00000000..f8ab8734 Binary files /dev/null and b/assets/fonts/poppins-500-devanagari.woff2 differ diff --git a/assets/fonts/poppins-500-latin-ext.woff2 b/assets/fonts/poppins-500-latin-ext.woff2 new file mode 100644 index 00000000..4130d6dc Binary files /dev/null and b/assets/fonts/poppins-500-latin-ext.woff2 differ diff --git a/assets/fonts/poppins-500-latin.woff2 b/assets/fonts/poppins-500-latin.woff2 new file mode 100644 index 00000000..bb0923bf Binary files /dev/null and b/assets/fonts/poppins-500-latin.woff2 differ diff --git a/assets/fonts/roboto-400-cirillic-ext.woff2 b/assets/fonts/roboto-400-cirillic-ext.woff2 new file mode 100644 index 00000000..e3eabe7e Binary files /dev/null and b/assets/fonts/roboto-400-cirillic-ext.woff2 differ diff --git a/assets/fonts/roboto-400-cirillic.woff2 b/assets/fonts/roboto-400-cirillic.woff2 new file mode 100644 index 00000000..de226b37 Binary files /dev/null and b/assets/fonts/roboto-400-cirillic.woff2 differ diff --git a/assets/fonts/roboto-400-greek-ext.woff2 b/assets/fonts/roboto-400-greek-ext.woff2 new file mode 100644 index 00000000..c49a2047 Binary files /dev/null and b/assets/fonts/roboto-400-greek-ext.woff2 differ diff --git a/assets/fonts/roboto-400-greek.woff2 b/assets/fonts/roboto-400-greek.woff2 new file mode 100644 index 00000000..76fc3661 Binary files /dev/null and b/assets/fonts/roboto-400-greek.woff2 differ diff --git a/assets/fonts/roboto-400-latin-ext.woff2 b/assets/fonts/roboto-400-latin-ext.woff2 new file mode 100644 index 00000000..de83f9cf Binary files /dev/null and b/assets/fonts/roboto-400-latin-ext.woff2 differ diff --git a/assets/fonts/roboto-400-latin.woff2 b/assets/fonts/roboto-400-latin.woff2 new file mode 100644 index 00000000..1a537015 Binary files /dev/null and b/assets/fonts/roboto-400-latin.woff2 differ diff --git a/assets/fonts/roboto-400-vietnamese.woff2 b/assets/fonts/roboto-400-vietnamese.woff2 new file mode 100644 index 00000000..165cbac8 Binary files /dev/null and b/assets/fonts/roboto-400-vietnamese.woff2 differ diff --git a/assets/fonts/roboto-500-cyrillic-ext.woff2 b/assets/fonts/roboto-500-cyrillic-ext.woff2 new file mode 100644 index 00000000..b4b5df79 Binary files /dev/null and b/assets/fonts/roboto-500-cyrillic-ext.woff2 differ diff --git a/assets/fonts/roboto-500-cyrillic.woff2 b/assets/fonts/roboto-500-cyrillic.woff2 new file mode 100644 index 00000000..1db84226 Binary files /dev/null and b/assets/fonts/roboto-500-cyrillic.woff2 differ diff --git a/assets/fonts/roboto-500-greek-ext.woff2 b/assets/fonts/roboto-500-greek-ext.woff2 new file mode 100644 index 00000000..ee7331fb Binary files /dev/null and b/assets/fonts/roboto-500-greek-ext.woff2 differ diff --git a/assets/fonts/roboto-500-greek.woff2 b/assets/fonts/roboto-500-greek.woff2 new file mode 100644 index 00000000..86d474c7 Binary files /dev/null and b/assets/fonts/roboto-500-greek.woff2 differ diff --git a/assets/fonts/roboto-500-latin-ext.woff2 b/assets/fonts/roboto-500-latin-ext.woff2 new file mode 100644 index 00000000..530e22cc Binary files /dev/null and b/assets/fonts/roboto-500-latin-ext.woff2 differ diff --git a/assets/fonts/roboto-500-latin.woff2 b/assets/fonts/roboto-500-latin.woff2 new file mode 100644 index 00000000..6362d7f6 Binary files /dev/null and b/assets/fonts/roboto-500-latin.woff2 differ diff --git a/assets/fonts/roboto-500-vietnamese.woff2 b/assets/fonts/roboto-500-vietnamese.woff2 new file mode 100644 index 00000000..5a458afa Binary files /dev/null and b/assets/fonts/roboto-500-vietnamese.woff2 differ diff --git a/package.json b/package.json index a7a10149..d6978512 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "seriously-simple-podcasting", - "version": "2.2.0", + "version": "2.5.3", "main": "build/index.js", "author": "CastosHQ", "devDependencies": { diff --git a/php/classes/controllers/class-admin-controller.php b/php/classes/controllers/class-admin-controller.php index 518937fb..5baa50ce 100644 --- a/php/classes/controllers/class-admin-controller.php +++ b/php/classes/controllers/class-admin-controller.php @@ -211,7 +211,7 @@ public function register_post_type() { 'new_item' => sprintf( __( 'New %s', 'seriously-simple-podcasting' ), __( 'Episode', 'seriously-simple-podcasting' ) ), 'all_items' => sprintf( __( 'All %s', 'seriously-simple-podcasting' ), __( 'Episodes', 'seriously-simple-podcasting' ) ), 'view_item' => sprintf( __( 'View %s', 'seriously-simple-podcasting' ), __( 'Episode', 'seriously-simple-podcasting' ) ), - 'search_items' => sprintf( __( 'Search %a', 'seriously-simple-podcasting' ), __( 'Episodes', 'seriously-simple-podcasting' ) ), + 'search_items' => sprintf( __( 'Search %s', 'seriously-simple-podcasting' ), __( 'Episodes', 'seriously-simple-podcasting' ) ), 'not_found' => sprintf( __( 'No %s Found', 'seriously-simple-podcasting' ), __( 'Episodes', 'seriously-simple-podcasting' ) ), 'not_found_in_trash' => sprintf( __( 'No %s Found In Trash', 'seriously-simple-podcasting' ), __( 'Episodes', 'seriously-simple-podcasting' ) ), 'parent_item_colon' => '', @@ -609,7 +609,7 @@ public function add_series_columns( $column_data, $column_name, $term_id ) { $default_image = esc_url( $this->assets_url . 'images/no-image.png' ); $media_id = get_term_meta( $term_id, $series_settings, true ); $image_attributes = wp_get_attachment_image_src( $media_id ); - $source = ( ! is_null( $image_attributes[0] ) ) ? $image_attributes[0] : $default_image; + $source = ( isset( $image_attributes[0] ) ) ? $image_attributes[0] : $default_image; $column_data = << HTML; diff --git a/php/classes/controllers/class-episode-controller.php b/php/classes/controllers/class-episode-controller.php index 59f6135c..504028ec 100644 --- a/php/classes/controllers/class-episode-controller.php +++ b/php/classes/controllers/class-episode-controller.php @@ -89,6 +89,22 @@ public function get_episode_download_link( $episode_id, $referrer = '' ) { return apply_filters( 'ssp_episode_download_link', esc_url( $link ), $episode_id, $file ); } + /** + * Get player link for episode. + * + * @param int $episode_id + * + * @return string + */ + public function get_episode_player_link( $episode_id ) { + $file = $this->get_episode_download_link( $episode_id ); + + // Switch to podcast player URL + $file = str_replace( 'podcast-download', 'podcast-player', $file ); + + return $file; + } + /** * Returns the no album art image * diff --git a/php/classes/controllers/class-frontend-controller.php b/php/classes/controllers/class-frontend-controller.php index 0621f424..d5020f31 100644 --- a/php/classes/controllers/class-frontend-controller.php +++ b/php/classes/controllers/class-frontend-controller.php @@ -362,6 +362,13 @@ public function load_media_player( $src_file, $episode_id, $player_size ) { $type = 'audio'; } + // Switch to podcast player URL + $src_file = str_replace( 'podcast-download', 'podcast-player', $src_file ); + + // Set up parameters for media player + $params = array( 'src' => $src_file, 'preload' => 'none' ); + + /** * If the media file is of type video * @todo is this necessary in the case of the HTML5 player? diff --git a/php/classes/controllers/class-players-controller.php b/php/classes/controllers/class-players-controller.php index 30e1e04e..a77b4260 100644 --- a/php/classes/controllers/class-players-controller.php +++ b/php/classes/controllers/class-players-controller.php @@ -65,9 +65,14 @@ public function get_latest_episode_id() { * * @param int $id * - * @return string + * @return array */ public function html_player( $id ) { + $audio_file = get_post_meta( $id, 'audio_file', true ); + if ( empty( $audio_file ) ) { + return apply_filters( 'ssp_html_player_data', array() ); + } + /** * Get the episode (post) object * If the id passed is empty or 0, get_post will return the current post @@ -75,7 +80,7 @@ public function html_player( $id ) { $episode = get_post( $id ); $episode_duration = get_post_meta( $id, 'duration', true ); $episode_url = get_post_permalink( $id ); - $audio_file = get_post_meta( $id, 'audio_file', true ); + $audio_file = $this->episode_controller->get_episode_player_link( $id ); $album_art = $this->episode_controller->get_album_art( $id ); $podcast_title = get_option( 'ss_podcasting_data_title' ); $feed_url = $this->episode_repository->get_feed_url( $id ); @@ -109,16 +114,20 @@ public function html_player( $id ) { * * @param $episode_id * - * @return mixed|void + * @return string */ public function render_html_player( $episode_id ) { + $template_data = $this->html_player( $episode_id ); + if ( ! array_key_exists( 'audio_file', $template_data ) ) { + return ''; + } + if ( wp_script_is( 'ssp-castos-player', 'registered' ) && ! wp_script_is( 'ssp-castos-player', 'enqueued' ) ) { wp_enqueue_script( 'ssp-castos-player' ); } if ( wp_style_is( 'ssp-castos-player', 'registered' ) && ! wp_style_is( 'ssp-castos-player', 'enqueued' ) ) { wp_enqueue_style( 'ssp-castos-player' ); } - $template_data = $this->html_player( $episode_id ); return $this->renderer->render( $template_data, 'players/castos-player' ); } @@ -155,7 +164,7 @@ public function media_player( $id ) { * If the id passed is empty or 0, get_post will return the current post */ $episode = get_post( $id ); - $src_file = get_post_meta( $episode->ID, 'audio_file', true ); + $src_file = $this->episode_controller->get_episode_player_link( $id ); $params = array( 'src' => $src_file, 'preload' => 'none', diff --git a/php/classes/handlers/class-options-handler.php b/php/classes/handlers/class-options-handler.php index e1533d1a..85ba1329 100644 --- a/php/classes/handlers/class-options-handler.php +++ b/php/classes/handlers/class-options-handler.php @@ -24,7 +24,7 @@ class Options_Handler { 'downcast' => 'Downcast', 'google_play' => 'Google Play', 'google_podcasts' => 'Google Podcasts', - 'himalaya.com' => 'Himalaya.com', + 'himalaya_com' => 'Himalaya.com', 'laughable' => 'Laughable', 'libsyn' => 'Libsyn', 'listen_notes' => 'Listen Notes', @@ -34,14 +34,14 @@ class Options_Handler { 'owltail' => 'OwlTail', 'pandora' => 'Pandora', 'patreon' => 'Patreon', - 'player.fm' => 'Player.fm', + 'player_fm' => 'Player.fm', 'plex' => 'Plex', 'pocketcasts' => 'PocketCasts', 'podbay' => 'Podbay', 'podbean' => 'Podbean', 'podcast_addict' => 'Podcast Addict', 'podcast_republic' => 'Podcast Republic', - 'podcast.de' => 'Podcast.de', + 'podcast_de' => 'Podcast.de', 'podchaser' => 'Podchaser', 'podcoin' => 'Podcoin', 'podfan' => 'Podfan', @@ -51,7 +51,7 @@ class Options_Handler { 'rss' => 'RSS', 'rssradio' => 'RSSRadio', 'radio_public' => 'Radio Public', - 'radio.com' => 'Radio.com', + 'radio_com' => 'Radio.com', 'redcircle' => 'RedCircle', 'soundcloud' => 'SoundCloud', 'spotify' => 'Spotify', @@ -60,11 +60,11 @@ class Options_Handler { 'the_podcast_app' => 'The Podcast App', 'tunein' => 'TuneIn', 'vkontakte' => 'VKontakte', - 'we.fo' => 'We.fo', + 'we_fo' => 'We.fo', 'yandex' => 'Yandex', 'youtube' => 'YouTube', 'custom' => 'custom', - 'fyyd.de' => 'fyyd.de', + 'fyyd_de' => 'fyyd.de', 'iheartradio' => 'iHeartRadio', 'itunes' => 'iTunes', 'ivoox' => 'iVoox', diff --git a/php/classes/rest/class-rest-api-controller.php b/php/classes/rest/class-rest-api-controller.php index 50967e24..a8a1a0bb 100644 --- a/php/classes/rest/class-rest-api-controller.php +++ b/php/classes/rest/class-rest-api-controller.php @@ -74,6 +74,8 @@ public function __construct( $file, $version ) { add_action( 'rest_api_init', array( $this, 'register_rest_audio_download_link' ) ); + add_action( 'rest_api_init', array( $this, 'register_rest_audio_player_link' ) ); + add_action( 'rest_api_init', array( $this, 'register_rest_audio_player' ) ); add_action( 'rest_api_init', array( $this, 'register_rest_episode_data' ) ); @@ -214,7 +216,7 @@ public function update_rest_podcast() { public function get_episode_audio_player() { $podcast_id = ( isset( $_GET['ssp_podcast_id'] ) ? filter_var( $_GET['ssp_podcast_id'], FILTER_SANITIZE_STRING ) : '' ); global $ss_podcasting; - $file = $ss_podcasting->episode_controller->get_enclosure( $podcast_id ); + $file = $ss_podcasting->episode_controller->get_episode_player_link( $podcast_id ); $params = array( 'src' => $file, 'preload' => 'none' ); return array( @@ -307,6 +309,21 @@ public function register_rest_audio_download_link() { ); } + /** + * Add the audio file tracking url field to all Podcast post types + */ + public function register_rest_audio_player_link() { + register_rest_field( + ssp_post_types(), + 'player_link', + array( + 'get_callback' => array( $this, 'get_rest_audio_player_link' ), + 'update_callback' => null, + 'schema' => null, + ) + ); + } + /** * Add the audio player code to all Podcast post types */ @@ -387,7 +404,7 @@ public function get_rest_player_image( $object, $field_name, $request ) { * @param $field_name * @param $request * - * @return bool + * return bool|string */ public function get_rest_audio_download_link( $object, $field_name, $request ) { if ( ! empty( $object['meta']['audio_file'] ) ) { @@ -400,6 +417,27 @@ public function get_rest_audio_download_link( $object, $field_name, $request ) { return false; } + /** + * Get the audio_file for valid Podcast post types + * Call back for the register_rest_episode_player_file method + * + * @param $object + * @param $field_name + * @param $request + * + * @return bool + */ + public function get_rest_audio_player_link( $object, $field_name, $request ) { + if ( ! empty( $object['meta']['audio_file'] ) ) { + global $ss_podcasting; + $player_link = $ss_podcasting->episode_controller->get_episode_player_link( $object['id'] ); + + return $player_link; + } + + return false; + } + /** * Return the Audio Player html * @@ -420,7 +458,7 @@ public function get_rest_audio_player( $object, $field_name, $request ) { return; } global $ss_podcasting; - $file = $ss_podcasting->episode_controller->get_enclosure( $object['id'] ); + $file = $ss_podcasting->episode_controller->get_episode_player_link( $object['id'] ); $params = array( 'src' => $file, 'preload' => 'none' ); return wp_audio_shortcode( $params ); } diff --git a/readme.txt b/readme.txt index 8b7f4492..3b26eed3 100644 --- a/readme.txt +++ b/readme.txt @@ -1,10 +1,10 @@ === Seriously Simple Podcasting === -Contributors: PodcastMotor, psykro, simondowdles, hlashbrooke, whyisjake +Contributors: PodcastMotor, psykro, zahardoc, simondowdles, hlashbrooke, whyisjake Tags: podcast, audio, video, vodcast, rss, mp3, mp4, feed, itunes, podcasting, media, stitcher, google play, playlist Requires at least: 4.4 Tested up to: 5.5.3 Requires PHP: 5.6 -Stable tag: 2.5.2 +Stable tag: 2.5.3 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -159,6 +159,16 @@ You can find complete user and developer documentation (along with the FAQs) on == Changelog == += 2.5.3 = +* 2021-02-09 +* UPDATE SUMMARY: Bug fixes for the 2.5 release +* [UPDATE] Updates the Castos Player fonts to be loaded locally, not from Google Fonts +* [FIX] Fixes an issue in the plugin settings where a specific Distribution link value doesn't save. +* [FIX] Fixes an issue where videos no longer play in the Castos Player +* [FIX] Fixes a bug where the Castos Player loads on non audio enabled posts +* [FIX] Fixes an issue where Castos Player links don't count properly towards the plugin Stats +* [FIX] Fixes a PHP8 Compatibility issue + = 2.5.2 = * 2020-12-17 * UPDATE SUMMARY: Bug fixes for the 2.5 release diff --git a/seriously-simple-podcasting.php b/seriously-simple-podcasting.php index 6b7a0dc0..06322eb7 100644 --- a/seriously-simple-podcasting.php +++ b/seriously-simple-podcasting.php @@ -1,7 +1,7 @@