Version Description
May 21, 2013 = * Removed second argument from json_encode() which caused video setup & resizing features to fail when servers were running PHP 5.2.
Download this release
Release Info
Developer | kylegilman |
Plugin | Video Embed & Thumbnail Generator |
Version | 4.1.1 |
Comparing to | |
See all releases |
Code changes from version 4.1 to 4.1.1
- readme.txt +4 -1
- video-embed-thumbnail-generator.php +3 -3
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, poster, ffmpeg, libav, embed, mobile, webm, ogg, h.264, responsive
|
5 |
Requires at least: 3.2
|
6 |
Tested up to: 3.6
|
7 |
-
Stable tag: 4.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -141,6 +141,9 @@ Use the "Embed from URL" tab and enter the URL in this format http://username:pa
|
|
141 |
|
142 |
== Changelog ==
|
143 |
|
|
|
|
|
|
|
144 |
= 4.1 May 19, 2013 =
|
145 |
* Updated Video.js to version 4.0 and created a new skin that approximates the old one. Older versions of Video.js had some security holes, so this update is highly recommended.
|
146 |
* Significantly reduced inline JavaScript generated by the plugin.
|
4 |
Tags: video, video player, video gallery, html5, shortcode, thumbnail, poster, ffmpeg, libav, embed, mobile, webm, ogg, h.264, responsive
|
5 |
Requires at least: 3.2
|
6 |
Tested up to: 3.6
|
7 |
+
Stable tag: 4.1.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
141 |
|
142 |
== Changelog ==
|
143 |
|
144 |
+
= 4.1.1 May 21, 2013 =
|
145 |
+
* Removed second argument from json_encode() which caused video setup & resizing features to fail when servers were running PHP 5.2.
|
146 |
+
|
147 |
= 4.1 May 19, 2013 =
|
148 |
* Updated Video.js to version 4.0 and created a new skin that approximates the old one. Older versions of Video.js had some security holes, so this update is highly recommended.
|
149 |
* Significantly reduced inline JavaScript generated by the plugin.
|
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 for thumbnails and encodes. <a href="options-general.php?page=video-embed-thumbnail-generator/video-embed-thumbnail-generator.php">Settings</a> | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=kylegilman@gmail.com&item_name=Video%20Embed%20And%20Thumbnail%20Generator%20Plugin%20Donation/">Donate</a>
|
6 |
-
Version: 4.1
|
7 |
Author: Kyle Gilman
|
8 |
Author URI: http://www.kylegilman.net/
|
9 |
|
@@ -41,7 +41,7 @@ if ( ! defined( 'ABSPATH' ) )
|
|
41 |
|
42 |
function kgvid_default_options_fn() {
|
43 |
$options = array(
|
44 |
-
"version"=>4.
|
45 |
"embed_method"=>"Video.js",
|
46 |
"template"=>false,
|
47 |
"template_gentle"=>"on",
|
@@ -806,7 +806,7 @@ function KGVID_shortcode($atts, $content = ''){
|
|
806 |
'set_volume' => $query_atts["volume"],
|
807 |
'meta' => $kgvid_meta
|
808 |
);
|
809 |
-
$json_video_variables = json_encode( $video_variables
|
810 |
|
811 |
$code .= "\n\t\t"."<script type='text/javascript'>
|
812 |
kgvid_video_vars['".$div_suffix."'] = jQuery.parseJSON ( '".$json_video_variables."' );";
|
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 for thumbnails and encodes. <a href="options-general.php?page=video-embed-thumbnail-generator/video-embed-thumbnail-generator.php">Settings</a> | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=kylegilman@gmail.com&item_name=Video%20Embed%20And%20Thumbnail%20Generator%20Plugin%20Donation/">Donate</a>
|
6 |
+
Version: 4.1.1
|
7 |
Author: Kyle Gilman
|
8 |
Author URI: http://www.kylegilman.net/
|
9 |
|
41 |
|
42 |
function kgvid_default_options_fn() {
|
43 |
$options = array(
|
44 |
+
"version"=>4.11,
|
45 |
"embed_method"=>"Video.js",
|
46 |
"template"=>false,
|
47 |
"template_gentle"=>"on",
|
806 |
'set_volume' => $query_atts["volume"],
|
807 |
'meta' => $kgvid_meta
|
808 |
);
|
809 |
+
$json_video_variables = json_encode( $video_variables );
|
810 |
|
811 |
$code .= "\n\t\t"."<script type='text/javascript'>
|
812 |
kgvid_video_vars['".$div_suffix."'] = jQuery.parseJSON ( '".$json_video_variables."' );";
|