Plugin Directory

Changeset 3754228


Ignore:
Timestamp:
10/19/2026 07:47:23 AM (2 weeks ago)
Author:
wpstream
Message:

Update to version 4.14.3 from GitHub

Location:
wpstream
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wpstream/tags/4.14.3/README.md

    r3746207 r3754228  
    55Tested up to: 7.0
    66Requires PHP: 7.1
    7 Stable tag: 4.14.2
     7Stable tag: 4.14.3
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    137137
    138138== Changelog ==
     139
     140= 4.14.3 =
     141* Fix - Paid videos and encrypted free videos play again in the hosted player. Since 4.14.2 the plugin asked the WpStream service for the player's embed key with the storage-prefixed video path instead of the file name, so no key was issued and every such video showed "The player is temporarily unavailable"
    139142
    140143= 4.14.2 =
  • wpstream/tags/4.14.3/includes/class-wpstream-playback-presentation.php

    r3746207 r3754228  
    10241024                        $video_path_final       =   '';
    10251025                        $video_type             =   '';
     1026                        // Bare storage name of the recording (no bucket prefix); set only for cloud-hosted VOD.
     1027                        $video_path             =   '';
    10261028                        if( (  $post_type  =='wpstream_product_vod' && $free_video_type==2 ) || get_post_type($product_id)=='product' ){
    10271029
    … …  
    10551057                    $return_array                       =   array();
    10561058                    $return_array['video_path_final']   =   $video_path_final;
     1059                    // The name Baker knows the recording by; the hosted player's embed key is requested with it.
     1060                    $return_array['video_name']         =   $video_path;
    10571061                    $return_array['wpstream_data_setup']=   $wpstream_data_setup;
    10581062                    $return_array['video_type']         =   $video_type;
    … …  
    12341238                                                }
    12351239                                        }
    1236                                         // Baker issues the embed key for exactly the video and restrictions
    1237                                         // the iframe URL carries; the plugin never computes one itself.
    1238                                         $vod_embed            = $this->hosted_embed_key( $product_id, 'vod', $vod_iframe_video, $vod_validate_url, $vod_embed_ancestor );
     1240                                        // Baker issues the embed key for exactly the restrictions the iframe
     1241                                        // URL carries; the plugin never computes one itself. The key is
     1242                                        // requested with the bare recording name (the same name the HLS
     1243                                        // manifest was resolved with): Baker's storage lookup does not accept
     1244                                        // the bucket-prefixed form stored above, which the iframe `video`
     1245                                        // argument still carries.
     1246                                        $vod_embed            = $this->hosted_embed_key( $product_id, 'vod', $uri_details['video_name'], $vod_validate_url, $vod_embed_ancestor );
    12391247                                        $vod_iframe_embed_key = $vod_embed['key'];
    12401248
  • wpstream/tags/4.14.3/readme.txt

    r3746207 r3754228  
    55Tested up to: 7.0
    66Requires PHP: 7.1
    7 Stable tag: 4.14.2
     7Stable tag: 4.14.3
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    137137
    138138== Changelog ==
     139
     140= 4.14.3 =
     141* Fix - Paid videos and encrypted free videos play again in the hosted player. Since 4.14.2 the plugin asked the WpStream service for the player's embed key with the storage-prefixed video path instead of the file name, so no key was issued and every such video showed "The player is temporarily unavailable"
    139142
    140143= 4.14.2 =
  • wpstream/tags/4.14.3/wpstream.php

    r3746207 r3754228  
    44 * Plugin URI:        http://wpstream.net
    55 * Description:       WpStream is a platform that allows you to live stream, create Video-on-Demand, and offer Pay-Per-View videos. We provide an affordable and user-friendly way for businesses, non-profits, and public institutions to broadcast their content and monetize their work.
    6  * Version:           4.14.2
     6 * Version:           4.14.3
    77 * Author:            wpstream
    88 * Author URI:        http://wpstream.net
    … …  
    3535}
    3636// Current plugin version (kept in sync with the header "Version" field above).
    37 define('WPSTREAM_PLUGIN_VERSION', '4.14.2');
     37define('WPSTREAM_PLUGIN_VERSION', '4.14.3');
    3838// Base host for WpStream account/club links.
    3939define('WPSTREAM_CLUBLINK', 'wpstream.net');
  • wpstream/trunk/README.md

    r3746207 r3754228  
    55Tested up to: 7.0
    66Requires PHP: 7.1
    7 Stable tag: 4.14.2
     7Stable tag: 4.14.3
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    137137
    138138== Changelog ==
     139
     140= 4.14.3 =
     141* Fix - Paid videos and encrypted free videos play again in the hosted player. Since 4.14.2 the plugin asked the WpStream service for the player's embed key with the storage-prefixed video path instead of the file name, so no key was issued and every such video showed "The player is temporarily unavailable"
    139142
    140143= 4.14.2 =
  • wpstream/trunk/includes/class-wpstream-playback-presentation.php

    r3746207 r3754228  
    10241024                        $video_path_final       =   '';
    10251025                        $video_type             =   '';
     1026                        // Bare storage name of the recording (no bucket prefix); set only for cloud-hosted VOD.
     1027                        $video_path             =   '';
    10261028                        if( (  $post_type  =='wpstream_product_vod' && $free_video_type==2 ) || get_post_type($product_id)=='product' ){
    10271029
    … …  
    10551057                    $return_array                       =   array();
    10561058                    $return_array['video_path_final']   =   $video_path_final;
     1059                    // The name Baker knows the recording by; the hosted player's embed key is requested with it.
     1060                    $return_array['video_name']         =   $video_path;
    10571061                    $return_array['wpstream_data_setup']=   $wpstream_data_setup;
    10581062                    $return_array['video_type']         =   $video_type;
    … …  
    12341238                                                }
    12351239                                        }
    1236                                         // Baker issues the embed key for exactly the video and restrictions
    1237                                         // the iframe URL carries; the plugin never computes one itself.
    1238                                         $vod_embed            = $this->hosted_embed_key( $product_id, 'vod', $vod_iframe_video, $vod_validate_url, $vod_embed_ancestor );
     1240                                        // Baker issues the embed key for exactly the restrictions the iframe
     1241                                        // URL carries; the plugin never computes one itself. The key is
     1242                                        // requested with the bare recording name (the same name the HLS
     1243                                        // manifest was resolved with): Baker's storage lookup does not accept
     1244                                        // the bucket-prefixed form stored above, which the iframe `video`
     1245                                        // argument still carries.
     1246                                        $vod_embed            = $this->hosted_embed_key( $product_id, 'vod', $uri_details['video_name'], $vod_validate_url, $vod_embed_ancestor );
    12391247                                        $vod_iframe_embed_key = $vod_embed['key'];
    12401248
  • wpstream/trunk/readme.txt

    r3746207 r3754228  
    55Tested up to: 7.0
    66Requires PHP: 7.1
    7 Stable tag: 4.14.2
     7Stable tag: 4.14.3
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    137137
    138138== Changelog ==
     139
     140= 4.14.3 =
     141* Fix - Paid videos and encrypted free videos play again in the hosted player. Since 4.14.2 the plugin asked the WpStream service for the player's embed key with the storage-prefixed video path instead of the file name, so no key was issued and every such video showed "The player is temporarily unavailable"
    139142
    140143= 4.14.2 =
  • wpstream/trunk/wpstream.php

    r3746207 r3754228  
    44 * Plugin URI:        http://wpstream.net
    55 * Description:       WpStream is a platform that allows you to live stream, create Video-on-Demand, and offer Pay-Per-View videos. We provide an affordable and user-friendly way for businesses, non-profits, and public institutions to broadcast their content and monetize their work.
    6  * Version:           4.14.2
     6 * Version:           4.14.3
    77 * Author:            wpstream
    88 * Author URI:        http://wpstream.net
    … …  
    3535}
    3636// Current plugin version (kept in sync with the header "Version" field above).
    37 define('WPSTREAM_PLUGIN_VERSION', '4.14.2');
     37define('WPSTREAM_PLUGIN_VERSION', '4.14.3');
    3838// Base host for WpStream account/club links.
    3939define('WPSTREAM_CLUBLINK', 'wpstream.net');
Note: See TracChangeset for help on using the changeset viewer.