Plugin Directory

Changeset 1066668


Ignore:
Timestamp:
01/13/2015 05:16:47 AM (11 years ago)
Author:
trillamar
Message:

Fixed custom short code setting so that it can be properly set to something other than "video".
Trimmed S3 setting strings to prevent a hard to track down key inconsistency that can arise from copy and pasting values.

Location:
secure-html5-video-player/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • secure-html5-video-player/trunk/readme.txt

    r995516 r1066668  
    33Tags: html5, video, player, secure, javascript, m4v, mp4, ogg, ogv, theora, webm, skins, media server, youtube, vimeo, amazon, s3
    44Requires at least: 3.0
    5 Tested up to: 4.0
    6 Stable tag: 3.10
     5Tested up to: 4.1
     6Stable tag: 3.11
    77License: GPLv3
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    128128== Changelog ==
    129129
     130= 3.11 =
     131* Fixed custom short code setting so that it can be properly set to something other than "video".
     132* Trimmed S3 setting strings to prevent a hard to track down key inconsistency that can arise from copy and pasting values.
     133
    130134= 3.10 =
    131135* Fixed Settings links in plugin list to prevent spilling over to other plugin items.
     
    226230== Upgrade Notice ==
    227231
     232= 3.11 =
     233Fixed custom short code setting so that it can be properly set to something other than "video". Trimmed S3 setting strings to prevent a hard to track down key inconsistency that can arise from copy and pasting values.
     234
    228235= 3.10 =
    229236Fixed Settings links in plugin list to prevent spilling over to other plugin items.
  • secure-html5-video-player/trunk/secure-html5-video-player.php

    r995516 r1066668  
    55Description: Secure HTML5 Video Player allows you to play HTML5 video on modern browsers. Videos can be served privately; pseudo-streamed from a secured directory or via S3.
    66Author: Lucinda Brown, Jinsoo Kang
    7 Version: 3.10
     7Version: 3.11
    88Author URI: http://www.trillamar.com/
    99License: GPLv3
  • secure-html5-video-player/trunk/sh5vp-functions.php

    r995516 r1066668  
    857857        if ($new_video_shortcode == '') {
    858858            $new_video_shortcode = 'video';
    859             update_option('secure_html5_video_player_video_shortcode', $new_video_shortcode);
    860         }
     859        }
     860        update_option('secure_html5_video_player_video_shortcode', $new_video_shortcode);
    861861    }
    862862   
     
    927927    }
    928928    if (isset($_REQUEST['secure_html5_video_player_s3_access_key'])) {
    929         update_option('secure_html5_video_player_s3_access_key', $_REQUEST['secure_html5_video_player_s3_access_key']);
     929        update_option('secure_html5_video_player_s3_access_key', trim($_REQUEST['secure_html5_video_player_s3_access_key']));
    930930    }
    931931    if (isset($_REQUEST['secure_html5_video_player_s3_secret_key'])) {
    932         update_option('secure_html5_video_player_s3_secret_key', $_REQUEST['secure_html5_video_player_s3_secret_key']);
     932        update_option('secure_html5_video_player_s3_secret_key', trim($_REQUEST['secure_html5_video_player_s3_secret_key']));
    933933    }
    934934    if (isset($_REQUEST['secure_html5_video_player_s3_server'])) {
     
    942942    }
    943943    if (isset($_REQUEST['secure_html5_video_player_s3_bucket'])) {
    944         update_option('secure_html5_video_player_s3_bucket', $_REQUEST['secure_html5_video_player_s3_bucket']);
     944        update_option('secure_html5_video_player_s3_bucket', trim($_REQUEST['secure_html5_video_player_s3_bucket']));
    945945    }
    946946    if (isset($_REQUEST['secure_html5_video_player_s3_video_dir'])) {
    947         update_option('secure_html5_video_player_s3_video_dir', $_REQUEST['secure_html5_video_player_s3_video_dir']);
     947        update_option('secure_html5_video_player_s3_video_dir', trim($_REQUEST['secure_html5_video_player_s3_video_dir']));
    948948    }
    949949
Note: See TracChangeset for help on using the changeset viewer.