Video Embed & Thumbnail Generator - Version 4.6.1

Version Description

It's safe to update. The plugin is still completely free until version 5.0. Video.js users will notice an updated player design.

Download this release

Release Info

Developer kylegilman
Plugin Icon 128x128 Video Embed & Thumbnail Generator
Version 4.6.1
Comparing to
See all releases

Code changes from version 4.6 to 4.6.1

css/kgvid_styles.css CHANGED
@@ -96,8 +96,8 @@ img.kgvid_ios_novideo {
96
  top: 0px;
97
  z-index: 103;
98
  margin: 0px;
 
99
  width: 100%;
100
- height: 32px;
101
  overflow: hidden;
102
  background-color: rgba(40, 40, 40, 0.95);
103
  visibility: hidden;
@@ -117,17 +117,17 @@ img.kgvid_ios_novideo {
117
  }
118
 
119
  .kgvid_title {
 
 
120
  font-size: 10pt;
121
  padding-left: 4px;
122
- margin: 6px;
123
- line-height: 23pt;
124
  }
125
 
126
  .kgvid_meta_icons {
127
  position: relative;
128
  float: right;
129
- margin-top: 5px;
130
- margin-right: 5px;
131
  }
132
 
133
  .kgvid_jwplayer_meta .kgvid_meta_icons {
@@ -169,11 +169,11 @@ img.kgvid_ios_novideo {
169
  .kgvid_share_container {
170
  display: none;
171
  color: white;
172
- top: 32px;
173
- padding-top: 18px;
174
  padding-bottom: 18px;
175
  width: 100%;
176
- z-index: 103;
177
  position: absolute;
178
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#141414+0,141414+100&0.85+65,0+100 */
179
  background: -moz-linear-gradient(top, rgba(20,20,20,0.85) 0%, rgba(20,20,20,0.85) 65%, rgba(20,20,20,0) 100%); /* FF3.6+ */
96
  top: 0px;
97
  z-index: 103;
98
  margin: 0px;
99
+ padding: 3px;
100
  width: 100%;
 
101
  overflow: hidden;
102
  background-color: rgba(40, 40, 40, 0.95);
103
  visibility: hidden;
117
  }
118
 
119
  .kgvid_title {
120
+ position: absolute;
121
+ top: 50%;
122
  font-size: 10pt;
123
  padding-left: 4px;
124
+ margin: -6pt 6pt 6pt 2pt;
 
125
  }
126
 
127
  .kgvid_meta_icons {
128
  position: relative;
129
  float: right;
130
+ margin: 3px 0px 3px 0px;
 
131
  }
132
 
133
  .kgvid_jwplayer_meta .kgvid_meta_icons {
169
  .kgvid_share_container {
170
  display: none;
171
  color: white;
172
+ top: 0;
173
+ padding-top: 46px;
174
  padding-bottom: 18px;
175
  width: 100%;
176
+ z-index: 102;
177
  position: absolute;
178
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#141414+0,141414+100&0.85+65,0+100 */
179
  background: -moz-linear-gradient(top, rgba(20,20,20,0.85) 0%, rgba(20,20,20,0.85) 65%, rgba(20,20,20,0) 100%); /* FF3.6+ */
js/kgvid_video_embed.js CHANGED
@@ -10,6 +10,9 @@ jQuery('.kgvid_videodiv').each(function(){ //setup individual videos. WordPress
10
  if ( video_vars.resize == "true" ) {
11
  videojs_options.fluid = true;
12
  }
 
 
 
13
  if ( video_vars.nativecontrolsfortouch == "true" ) {
14
  videojs_options.nativeControlsForTouch = true;
15
  }
@@ -57,6 +60,7 @@ function kgvid_window_load() {
57
  kgvid_resize_gallery_play_button(gallery_id);
58
  jQuery(window).resize( function(){ kgvid_resize_gallery_play_button(gallery_id) } );
59
  setTimeout(function(){ kgvid_resize_gallery_play_button(gallery_id) }, 200);
 
60
  });
61
 
62
  }
10
  if ( video_vars.resize == "true" ) {
11
  videojs_options.fluid = true;
12
  }
13
+ if ( video_vars.width != undefined && video_vars.height != undefined ) {
14
+ videojs_options.aspectRatio = video_vars.width + ':' + video_vars.height;
15
+ }
16
  if ( video_vars.nativecontrolsfortouch == "true" ) {
17
  videojs_options.nativeControlsForTouch = true;
18
  }
60
  kgvid_resize_gallery_play_button(gallery_id);
61
  jQuery(window).resize( function(){ kgvid_resize_gallery_play_button(gallery_id) } );
62
  setTimeout(function(){ kgvid_resize_gallery_play_button(gallery_id) }, 200);
63
+
64
  });
65
 
66
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=kyleg
4
  Tags: video, video player, video gallery, html5, shortcode, thumbnail, video thumbnail, preview, poster, ffmpeg, libav, embed, oembed, mobile, webm, ogg, h.264, h264, vp9, responsive, mp4, jwplayer, resolution, analytics
5
  Requires at least: 4.4
6
  Tested up to: 4.5
7
- Stable tag: 4.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -123,7 +123,7 @@ I'm not really a software developer. I'm just a film editor with some time on hi
123
  = These options will only affect Video.js playback =
124
 
125
  * `skin="example-css-class"` Completely change the look of the video player. <a href="http://designer.videojs.com/">Video.js provides a custom skin designer here.</a>
126
- * `nativecontrolsfortouch="true/false` enables or disables native controls on touchscreen devices. Native controls allow for streaming services like AirPlay and Chromecast, but don't always look as nice.
127
 
128
  = These options will only affect Flash playback in Strobe Media Playback video elements. They will have no effect on other players. =
129
 
@@ -236,6 +236,10 @@ Enter the username & password in the plugin settings "FFMPEG Settings" tab, or u
236
 
237
  == Changelog ==
238
 
 
 
 
 
239
  = 4.6 - April 29, 2016 =
240
  * Still 100% free. More info in the <a href="https://wordpress.org/support/topic/version-50-will-convert-some-free-features-to-paid-add-ons">support forum</a>.
241
  * Updated Video.js to version 5.5.3 which includes a revised skin.
@@ -458,11 +462,11 @@ Enter the username & password in the plugin settings "FFMPEG Settings" tab, or u
458
 
459
  == Upgrade Notice ==
460
 
461
- = 4.6 =
462
  It's safe to update. The plugin is still completely free until version 5.0. Video.js users will notice an updated player design.
463
 
464
- = 4.5.6 =
465
- Some advanced features will be converted to premium add-ons in the future. More info in the support forum.
466
 
467
  = 4.5.2 =
468
  This is probably the last completely free major release. Some advanced features will be converted to premium add-ons in the future. More info in the support forum.
4
  Tags: video, video player, video gallery, html5, shortcode, thumbnail, video thumbnail, preview, poster, ffmpeg, libav, embed, oembed, mobile, webm, ogg, h.264, h264, vp9, responsive, mp4, jwplayer, resolution, analytics
5
  Requires at least: 4.4
6
  Tested up to: 4.5
7
+ Stable tag: 4.6.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
123
  = These options will only affect Video.js playback =
124
 
125
  * `skin="example-css-class"` Completely change the look of the video player. <a href="http://designer.videojs.com/">Video.js provides a custom skin designer here.</a>
126
+ * `nativecontrolsfortouch="true/false` disable Video.js styling and show the built-in video controls on mobile devices. This will disable the resolution selection button.
127
 
128
  = These options will only affect Flash playback in Strobe Media Playback video elements. They will have no effect on other players. =
129
 
236
 
237
  == Changelog ==
238
 
239
+ = 4.6.1 - May 1, 2016 =
240
+ * Fixed bug that changed the way Video.js players were resized when the specified dimensions did not match the video's actual dimensions.
241
+ * Adjusted CSS for video overlay bar and z-index of the Video.js play button.
242
+
243
  = 4.6 - April 29, 2016 =
244
  * Still 100% free. More info in the <a href="https://wordpress.org/support/topic/version-50-will-convert-some-free-features-to-paid-add-ons">support forum</a>.
245
  * Updated Video.js to version 5.5.3 which includes a revised skin.
462
 
463
  == Upgrade Notice ==
464
 
465
+ = 4.6.1 =
466
  It's safe to update. The plugin is still completely free until version 5.0. Video.js users will notice an updated player design.
467
 
468
+ = 4.6 =
469
+ It's safe to update. The plugin is still completely free until version 5.0. Video.js users will notice an updated player design.
470
 
471
  = 4.5.2 =
472
  This is probably the last completely free major release. Some advanced features will be converted to premium add-ons in the future. More info in the support forum.
video-embed-thumbnail-generator.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Video Embed & Thumbnail Generator
4
  Plugin URI: http://www.kylegilman.net/2011/01/18/video-embed-thumbnail-generator-wordpress-plugin/
5
  Description: Generates thumbnails, HTML5-compliant videos, and embed codes for locally hosted videos. Requires FFMPEG or LIBAV for encoding.
6
- Version: 4.6
7
  Author: Kyle Gilman
8
  Author URI: http://www.kylegilman.net/
9
  Text Domain: video-embed-thumbnail-generator
@@ -59,7 +59,7 @@ function kgvid_default_options_fn() {
59
  $edit_others_capable = kgvid_check_if_capable('edit_others_posts');
60
 
61
  $options = array(
62
- "version" => 4.6,
63
  "embed_method" => "Video.js",
64
  "jw_player_id" => "",
65
  "template" => false,
3
  Plugin Name: Video Embed & Thumbnail Generator
4
  Plugin URI: http://www.kylegilman.net/2011/01/18/video-embed-thumbnail-generator-wordpress-plugin/
5
  Description: Generates thumbnails, HTML5-compliant videos, and embed codes for locally hosted videos. Requires FFMPEG or LIBAV for encoding.
6
+ Version: 4.6.1
7
  Author: Kyle Gilman
8
  Author URI: http://www.kylegilman.net/
9
  Text Domain: video-embed-thumbnail-generator
59
  $edit_others_capable = kgvid_check_if_capable('edit_others_posts');
60
 
61
  $options = array(
62
+ "version" => 4.601,
63
  "embed_method" => "Video.js",
64
  "jw_player_id" => "",
65
  "template" => false,
video-js/kg-video-js-skin.css CHANGED
@@ -49,6 +49,7 @@
49
  position: absolute;
50
 
51
  box-sizing: border-box;
 
52
  }
53
 
54
  /* The default color of control backgrounds is mostly black but with a little
49
  position: absolute;
50
 
51
  box-sizing: border-box;
52
+ z-index: 2;
53
  }
54
 
55
  /* The default color of control backgrounds is mostly black but with a little