Version Description
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.
Download this release
Release Info
Developer | kylegilman |
Plugin | Video Embed & Thumbnail Generator |
Version | 4.5.2 |
Comparing to | |
See all releases |
Code changes from version 4.5.1 to 4.5.2
- js/kgvid_video_embed.js +8 -3
- readme.txt +9 -1
- video-embed-thumbnail-generator.php +2 -3
js/kgvid_video_embed.js
CHANGED
@@ -324,6 +324,8 @@ function kgvid_setup_video(id) {
|
|
324 |
}
|
325 |
});
|
326 |
|
|
|
|
|
327 |
} //end if Video.js
|
328 |
|
329 |
if ( video_vars.player_type == "Strobe Media Playback" || video_vars.player_type == "WordPress Default" ) {
|
@@ -348,12 +350,15 @@ function kgvid_setup_video(id) {
|
|
348 |
jQuery('#video_'+id+'_div .mejs-container').append(jQuery('#video_'+id+'_watermark'));
|
349 |
});
|
350 |
|
351 |
-
jQuery('#video_'+id+'_div .wp-video').one('click', function
|
352 |
jQuery('#video_'+id+'_meta').removeClass('kgvid_video_meta_hover');
|
|
|
|
|
|
|
353 |
kgvid_video_counter(id, 'play');
|
354 |
});
|
355 |
|
356 |
-
player.on('ended', function
|
357 |
kgvid_video_counter(id, 'end');
|
358 |
if ( video_vars.endofvideooverlay != "" ) {
|
359 |
jQuery('#video_'+id+'_div .mejs-poster').css({
|
@@ -567,7 +572,7 @@ function kgvid_resize_gallery_play_button(gallery_id) {
|
|
567 |
'-ms-transform': css_text
|
568 |
});
|
569 |
}
|
570 |
-
else {
|
571 |
|
572 |
}
|
573 |
|
324 |
}
|
325 |
});
|
326 |
|
327 |
+
if ( video_vars.autoplay == "true" && player.paused() ) { player.play(); }
|
328 |
+
|
329 |
} //end if Video.js
|
330 |
|
331 |
if ( video_vars.player_type == "Strobe Media Playback" || video_vars.player_type == "WordPress Default" ) {
|
350 |
jQuery('#video_'+id+'_div .mejs-container').append(jQuery('#video_'+id+'_watermark'));
|
351 |
});
|
352 |
|
353 |
+
jQuery('#video_'+id+'_div .wp-video').one('click', function(){
|
354 |
jQuery('#video_'+id+'_meta').removeClass('kgvid_video_meta_hover');
|
355 |
+
});
|
356 |
+
|
357 |
+
player.on('play', function(){
|
358 |
kgvid_video_counter(id, 'play');
|
359 |
});
|
360 |
|
361 |
+
player.on('ended', function(){
|
362 |
kgvid_video_counter(id, 'end');
|
363 |
if ( video_vars.endofvideooverlay != "" ) {
|
364 |
jQuery('#video_'+id+'_div .mejs-poster').css({
|
572 |
'-ms-transform': css_text
|
573 |
});
|
574 |
}
|
575 |
+
else { jQuery('#'+gallery_id+' '+button_selector).removeAttr('style'); }
|
576 |
|
577 |
}
|
578 |
|
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
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.3
|
7 |
-
Stable tag: 4.5.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -229,6 +229,11 @@ Enter the username & password in the plugin settings "FFMPEG Settings" tab, or u
|
|
229 |
|
230 |
== Changelog ==
|
231 |
|
|
|
|
|
|
|
|
|
|
|
232 |
= 4.5.1 - July 9, 2015 =
|
233 |
* Fixed bug that accidentally deleted thumbnail image IDs from video meta when editing attachments.
|
234 |
* Prevented automatic re-writing of video URLs to a local address if a popular cloud storage address is entered in the shortcode (Amazon AWS, Rackspace, etc).
|
@@ -710,6 +715,9 @@ Enter the username & password in the plugin settings "FFMPEG Settings" tab, or u
|
|
710 |
|
711 |
== Upgrade Notice ==
|
712 |
|
|
|
|
|
|
|
713 |
= 4.5.1 =
|
714 |
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.
|
715 |
|
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
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.3
|
7 |
+
Stable tag: 4.5.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
229 |
|
230 |
== Changelog ==
|
231 |
|
232 |
+
= 4.5.2 - July 10, 2015 =
|
233 |
+
* Fixed bug that failed to set the volume or count views when using the WordPress Default or JW Player.
|
234 |
+
* Fixed bug that failed to count views when WordPress Default player was on autoplay.
|
235 |
+
* Fixed Video.js inconsistent autoplay bug.
|
236 |
+
|
237 |
= 4.5.1 - July 9, 2015 =
|
238 |
* Fixed bug that accidentally deleted thumbnail image IDs from video meta when editing attachments.
|
239 |
* Prevented automatic re-writing of video URLs to a local address if a popular cloud storage address is entered in the shortcode (Amazon AWS, Rackspace, etc).
|
715 |
|
716 |
== Upgrade Notice ==
|
717 |
|
718 |
+
= 4.5.2 =
|
719 |
+
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.
|
720 |
+
|
721 |
= 4.5.1 =
|
722 |
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.
|
723 |
|
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.5.
|
7 |
Author: Kyle Gilman
|
8 |
Author URI: http://www.kylegilman.net/
|
9 |
Text Domain: video-embed-thumbnail-generator
|
@@ -2114,8 +2114,7 @@ function KGVID_shortcode($atts, $content = ''){
|
|
2114 |
|
2115 |
} //if Strobe Media
|
2116 |
|
2117 |
-
|
2118 |
-
|
2119 |
$code .= '<div id="kgvid_'.$div_suffix.'_wrapper" class="kgvid_wrapper'.$aligncode.'">'."\n\t\t\t";
|
2120 |
$code .= '<div id="video_'.$div_suffix.'_div" class="fitvidsignore kgvid_videodiv" data-id="'.$div_suffix.'" data-kgvid_video_vars="'.esc_attr(json_encode($video_variables)).'" itemprop="video" itemscope itemtype="https://schema.org/VideoObject">';
|
2121 |
if ( $query_atts["poster"] != '' ) { $code .= '<meta itemprop="thumbnailUrl" content="'.esc_attr($query_atts["poster"]).'" />'; }
|
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.5.2
|
7 |
Author: Kyle Gilman
|
8 |
Author URI: http://www.kylegilman.net/
|
9 |
Text Domain: video-embed-thumbnail-generator
|
2114 |
|
2115 |
} //if Strobe Media
|
2116 |
|
2117 |
+
$video_variables = str_replace(' ', ' ', $video_variables);
|
|
|
2118 |
$code .= '<div id="kgvid_'.$div_suffix.'_wrapper" class="kgvid_wrapper'.$aligncode.'">'."\n\t\t\t";
|
2119 |
$code .= '<div id="video_'.$div_suffix.'_div" class="fitvidsignore kgvid_videodiv" data-id="'.$div_suffix.'" data-kgvid_video_vars="'.esc_attr(json_encode($video_variables)).'" itemprop="video" itemscope itemtype="https://schema.org/VideoObject">';
|
2120 |
if ( $query_atts["poster"] != '' ) { $code .= '<meta itemprop="thumbnailUrl" content="'.esc_attr($query_atts["poster"]).'" />'; }
|