Changeset 1069434
- Timestamp:
- 01/16/2015 02:39:32 PM (11 years ago)
- Location:
- swfput
- Files:
-
- 2 deleted
- 18 edited
- 1 copied
-
tags/2.2.2 (copied) (copied from swfput/trunk)
-
tags/2.2.2/Makefile (modified) (2 diffs)
-
tags/2.2.2/README.html (modified) (1 diff)
-
tags/2.2.2/README.pdf (modified) (previous)
-
tags/2.2.2/evhflv/default.flv (deleted)
-
tags/2.2.2/locale/swfput_l10n-en_US.mo (modified) (previous)
-
tags/2.2.2/locale/swfput_l10n-en_US.po (modified) (6 diffs)
-
tags/2.2.2/locale/swfput_l10n.pot (modified) (6 diffs)
-
tags/2.2.2/readme.txt (modified) (3 diffs)
-
tags/2.2.2/swfput.php (modified) (8 diffs)
-
tags/2.2.2/version.sh (modified) (1 diff)
-
trunk/Makefile (modified) (2 diffs)
-
trunk/README.html (modified) (1 diff)
-
trunk/README.pdf (modified) (previous)
-
trunk/evhflv/default.flv (deleted)
-
trunk/locale/swfput_l10n-en_US.mo (modified) (previous)
-
trunk/locale/swfput_l10n-en_US.po (modified) (6 diffs)
-
trunk/locale/swfput_l10n.pot (modified) (6 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/swfput.php (modified) (8 diffs)
-
trunk/version.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
swfput/tags/2.2.2/Makefile
r970797 r1069434 2 2 # License: GNU GPLv3 (see http://www.gnu.org/licenses/gpl-3.0.html) 3 3 4 PRJVERS = 2.2. 14 PRJVERS = 2.2.2 5 5 PRJSTEM = swfput 6 6 PRJNAME = $(PRJSTEM)-$(PRJVERS) … … 46 46 MINGC = obj.css 47 47 SSRCS = $(SDIRI)/$(MINGS) $(SDIRI)/$(MINGA) $(SDIRI)/$(MINGC) 48 SDEFS = default.mp4 48 49 SBINS = $(SDIRI)/$(MNAME).swf 49 SDEFS = $(SDIRI)/default.flv50 50 51 51 ALSO = Makefile COPYING version.sh 52 52 #READS= README README.tty README.tt8 README.pdf README.html 53 53 READS= README README.pdf README.html 54 ZALL = ${SRCS} ${ALSO} ${READS} readme.txt54 ZALL = ${SRCS} ${ALSO} ${READS} ${SDEFS} readme.txt 55 55 ZSALL = ${SSRCS} #${SBINS} 56 56 ZDIR = $(H5DIR) $(SDIRI) $(JSDIR) $(LCDIR) $(DOCSD) -
swfput/tags/2.2.2/README.html
r970797 r1069434 1 1 <!-- Creator : groff version 1.22.2 --> 2 <!-- CreationDate: Sat Aug 9 11:18:14 2014-->2 <!-- CreationDate: Fri Jan 16 09:29:33 2015 --> 3 3 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 4 4 "http://www.w3.org/TR/html4/loose.dtd"> -
swfput/tags/2.2.2/locale/swfput_l10n-en_US.po
r970797 r1069434 1 # swfput 2.2. 1Pot Source1 # swfput 2.2.2 Pot Source 2 2 # Copyright (C) 2013 Ed Hynan 3 3 # This file is distributed under the same license as the swfput package. … … 7 7 msgid "" 8 8 msgstr "" 9 "Project-Id-Version: swfput 2.2. 1\n"9 "Project-Id-Version: swfput 2.2.2\n" 10 10 "Report-Msgid-Bugs-To: edhynan@gmail.com\n" 11 "POT-Creation-Date: 201 4-08-09 09:56-0400\n"12 "PO-Revision-Date: 201 4-08-09 09:56 EDT\n"11 "POT-Creation-Date: 2015-01-16 08:51-0500\n" 12 "PO-Revision-Date: 2015-01-16 08:51 EST\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 14 14 "Language-Team: LANGUAGE <LL@li.org>\n" … … 196 196 197 197 #. Label shown on widgets page 198 #: swfput.php:849 swfput.php:870 swfput.php:334 6198 #: swfput.php:849 swfput.php:870 swfput.php:3345 199 199 msgid "SWFPut Video Player" 200 200 msgstr "SWFPut Video Player" … … 622 622 msgstr " [A/V content \"%s\" disabled] " 623 623 624 #: swfput.php:272 2624 #: swfput.php:2721 625 625 msgid "Video playback is not available" 626 626 msgstr "Video playback is not available" 627 627 628 #: swfput.php:288 3628 #: swfput.php:2882 629 629 msgid "Video playback is not available." 630 630 msgstr "Video playback is not available." … … 632 632 #. TRANSLATORS perl-type regular expression 633 633 #. that matches a 'yes' 634 #: swfput.php:321 9634 #: swfput.php:3218 635 635 msgid "/^?y(e((s|ah)!?)?)?$/i" 636 636 msgstr "/^?y(e((s|ah)!?)?)?$/i" … … 638 638 #. TRANSLATORS perl-type regular expression 639 639 #. that matches a 'no' 640 #: swfput.php:322 2640 #: swfput.php:3221 641 641 msgid "/^n(o!?)?)?$/i" 642 642 msgstr "/^n(o!?)?)?$/i" 643 643 644 644 #. Description shown under label shown on widgets page 645 #: swfput.php:334 8645 #: swfput.php:3347 646 646 msgid "Flash and HTML5 video for your widget areas" 647 647 msgstr "Flash and HTML5 video for your widget areas" -
swfput/tags/2.2.2/locale/swfput_l10n.pot
r970797 r1069434 1 # swfput 2.2. 1Pot Source1 # swfput 2.2.2 Pot Source 2 2 # Copyright (C) 2013 Ed Hynan 3 3 # This file is distributed under the same license as the swfput package. … … 7 7 msgid "" 8 8 msgstr "" 9 "Project-Id-Version: swfput 2.2. 1\n"9 "Project-Id-Version: swfput 2.2.2\n" 10 10 "Report-Msgid-Bugs-To: edhynan@gmail.com\n" 11 "POT-Creation-Date: 201 4-08-09 09:56-0400\n"11 "POT-Creation-Date: 2015-01-16 08:51-0500\n" 12 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 172 172 173 173 #. Label shown on widgets page 174 #: swfput.php:849 swfput.php:870 swfput.php:334 6174 #: swfput.php:849 swfput.php:870 swfput.php:3345 175 175 msgid "SWFPut Video Player" 176 176 msgstr "" … … 462 462 msgstr "" 463 463 464 #: swfput.php:272 2464 #: swfput.php:2721 465 465 msgid "Video playback is not available" 466 466 msgstr "" 467 467 468 #: swfput.php:288 3468 #: swfput.php:2882 469 469 msgid "Video playback is not available." 470 470 msgstr "" … … 472 472 #. TRANSLATORS perl-type regular expression 473 473 #. that matches a 'yes' 474 #: swfput.php:321 9474 #: swfput.php:3218 475 475 msgid "/^?y(e((s|ah)!?)?)?$/i" 476 476 msgstr "" … … 478 478 #. TRANSLATORS perl-type regular expression 479 479 #. that matches a 'no' 480 #: swfput.php:322 2480 #: swfput.php:3221 481 481 msgid "/^n(o!?)?)?$/i" 482 482 msgstr "" 483 483 484 484 #. Description shown under label shown on widgets page 485 #: swfput.php:334 8485 #: swfput.php:3347 486 486 msgid "Flash and HTML5 video for your widget areas" 487 487 msgstr "" -
swfput/tags/2.2.2/readme.txt
r1047266 r1069434 5 5 Requires at least: 3.0.2 6 6 Tested up to: 4.1 7 Stable tag: 2.2. 17 Stable tag: 2.2.2 8 8 Text Domain: swfput_l10n 9 9 License: GPLv3 or later … … 280 280 281 281 == Changelog == 282 283 = 2.2.2 = 284 * Bug fix release in response to a kind user query. 285 URLs provided for video files are checked before they 286 are used (good), but elsewhere in code an array key 287 would be missing if the URL was rejected (bad), possibly 288 leading to PHP error messages appearing on page. 289 290 Now, if a faulty URL is rejected, a default video URL 291 is used, linking to a small video that says "OOPS [...]" 292 and which should get the site owners attention (site 293 visitors should find the default video inoffensive, even 294 if unexpected). 295 296 = 2.2.1 = 297 * Confirmed working with WP 4.1. 282 298 283 299 = 2.2 = … … 490 506 == Upgrade Notice == 491 507 508 = 2.2.2 = 509 * Bug fix release. 510 511 = 2.2.1 = 512 * Confirmed working with WP 4.1. 513 492 514 = 2.2 = 493 515 * Confirmed working with WP 4.0. -
swfput/tags/2.2.2/swfput.php
r970797 r1069434 4 4 Plugin URI: http://agalena.nfshost.com/b1/swfput-html5-flash-wordpress-plugin 5 5 Description: Add Flash and HTML5 video to WordPress posts, pages, and widgets, from arbitrary URI's or media library ID's or files in your media upload directory tree (including uploads not in the WordPress media library). 6 Version: 2.2. 16 Version: 2.2.2 7 7 Author: Ed Hynan 8 8 Author URI: http://agalena.nfshost.com/b1/ … … 115 115 116 116 // this version 117 const plugin_version = '2.2. 0';117 const plugin_version = '2.2.2'; 118 118 119 119 // the widget class name … … 199 199 const swfputcssname = 'obj.css'; 200 200 // swfput default video name 201 const swfputdefvid = 'default. flv';201 const swfputdefvid = 'default.mp4'; 202 202 // swfput program binary path 203 203 protected $swfputbin; … … 276 276 $t = self::swfputdir . '/' . self::swfputcssname; 277 277 $this->swfputcss = plugins_url($t, $pf); 278 $t = self::swfputdir . '/' .self::swfputdefvid;278 $t = /* self::swfputdir . '/' . */ self::swfputdefvid; 279 279 $this->swfputvid = plugins_url($t, $pf); 280 280 $t = self::settings_jsdir . '/' . self::settings_jsname; … … 2535 2535 } 2536 2536 } 2537 if ( $url === '' ) {2538 return false;2539 }2540 2537 2541 2538 $achk = array( … … 2573 2570 2574 2571 //$ut = $this->check_expand_video_url($url, $defaulturl); 2575 $flurl = $ut = $this->check_expand_video_url($url , '');2572 $flurl = $ut = $this->check_expand_video_url($url); 2576 2573 if ( $ut === false ) { 2577 2574 self::errlog('rejected URL: "' . $url . '"'); 2578 return '<!-- SWF embedding declined: URL displeasing -->'; 2575 $flurl = $ut = $this->check_expand_video_url(''); 2576 //return '<!-- SWF embedding declined: URL displeasing -->'; 2579 2577 } 2580 2578 … … 2633 2631 if ( ! $ut ) { 2634 2632 self::errlog('rejected URL: "' . $url . '"'); 2635 return '<!-- SWF embedding declined: URL displeasing -->'; 2633 $ut = $this->get_swf_css_url(); 2634 //return '<!-- SWF embedding declined: URL displeasing -->'; 2636 2635 } 2637 2636 if ( ! $ut ) { … … 2833 2832 // leave off src 2834 2833 $src = trim($tv[0]); 2835 $ut = $this->check_expand_video_url($src , false);2834 $ut = $this->check_expand_video_url($src); 2836 2835 if ( ! $ut ) { 2837 2836 self::errlog('rejected HTML video URL: "' . $src . '"'); -
swfput/tags/2.2.2/version.sh
r970797 r1069434 3 3 VMAJOR=2 4 4 VMINOR=2 5 RMAJOR= 15 RMAJOR=2 6 6 RMINOR=0 7 7 -
swfput/trunk/Makefile
r970797 r1069434 2 2 # License: GNU GPLv3 (see http://www.gnu.org/licenses/gpl-3.0.html) 3 3 4 PRJVERS = 2.2. 14 PRJVERS = 2.2.2 5 5 PRJSTEM = swfput 6 6 PRJNAME = $(PRJSTEM)-$(PRJVERS) … … 46 46 MINGC = obj.css 47 47 SSRCS = $(SDIRI)/$(MINGS) $(SDIRI)/$(MINGA) $(SDIRI)/$(MINGC) 48 SDEFS = default.mp4 48 49 SBINS = $(SDIRI)/$(MNAME).swf 49 SDEFS = $(SDIRI)/default.flv50 50 51 51 ALSO = Makefile COPYING version.sh 52 52 #READS= README README.tty README.tt8 README.pdf README.html 53 53 READS= README README.pdf README.html 54 ZALL = ${SRCS} ${ALSO} ${READS} readme.txt54 ZALL = ${SRCS} ${ALSO} ${READS} ${SDEFS} readme.txt 55 55 ZSALL = ${SSRCS} #${SBINS} 56 56 ZDIR = $(H5DIR) $(SDIRI) $(JSDIR) $(LCDIR) $(DOCSD) -
swfput/trunk/README.html
r970797 r1069434 1 1 <!-- Creator : groff version 1.22.2 --> 2 <!-- CreationDate: Sat Aug 9 11:18:14 2014-->2 <!-- CreationDate: Fri Jan 16 09:29:33 2015 --> 3 3 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 4 4 "http://www.w3.org/TR/html4/loose.dtd"> -
swfput/trunk/locale/swfput_l10n-en_US.po
r970797 r1069434 1 # swfput 2.2. 1Pot Source1 # swfput 2.2.2 Pot Source 2 2 # Copyright (C) 2013 Ed Hynan 3 3 # This file is distributed under the same license as the swfput package. … … 7 7 msgid "" 8 8 msgstr "" 9 "Project-Id-Version: swfput 2.2. 1\n"9 "Project-Id-Version: swfput 2.2.2\n" 10 10 "Report-Msgid-Bugs-To: edhynan@gmail.com\n" 11 "POT-Creation-Date: 201 4-08-09 09:56-0400\n"12 "PO-Revision-Date: 201 4-08-09 09:56 EDT\n"11 "POT-Creation-Date: 2015-01-16 08:51-0500\n" 12 "PO-Revision-Date: 2015-01-16 08:51 EST\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 14 14 "Language-Team: LANGUAGE <LL@li.org>\n" … … 196 196 197 197 #. Label shown on widgets page 198 #: swfput.php:849 swfput.php:870 swfput.php:334 6198 #: swfput.php:849 swfput.php:870 swfput.php:3345 199 199 msgid "SWFPut Video Player" 200 200 msgstr "SWFPut Video Player" … … 622 622 msgstr " [A/V content \"%s\" disabled] " 623 623 624 #: swfput.php:272 2624 #: swfput.php:2721 625 625 msgid "Video playback is not available" 626 626 msgstr "Video playback is not available" 627 627 628 #: swfput.php:288 3628 #: swfput.php:2882 629 629 msgid "Video playback is not available." 630 630 msgstr "Video playback is not available." … … 632 632 #. TRANSLATORS perl-type regular expression 633 633 #. that matches a 'yes' 634 #: swfput.php:321 9634 #: swfput.php:3218 635 635 msgid "/^?y(e((s|ah)!?)?)?$/i" 636 636 msgstr "/^?y(e((s|ah)!?)?)?$/i" … … 638 638 #. TRANSLATORS perl-type regular expression 639 639 #. that matches a 'no' 640 #: swfput.php:322 2640 #: swfput.php:3221 641 641 msgid "/^n(o!?)?)?$/i" 642 642 msgstr "/^n(o!?)?)?$/i" 643 643 644 644 #. Description shown under label shown on widgets page 645 #: swfput.php:334 8645 #: swfput.php:3347 646 646 msgid "Flash and HTML5 video for your widget areas" 647 647 msgstr "Flash and HTML5 video for your widget areas" -
swfput/trunk/locale/swfput_l10n.pot
r970797 r1069434 1 # swfput 2.2. 1Pot Source1 # swfput 2.2.2 Pot Source 2 2 # Copyright (C) 2013 Ed Hynan 3 3 # This file is distributed under the same license as the swfput package. … … 7 7 msgid "" 8 8 msgstr "" 9 "Project-Id-Version: swfput 2.2. 1\n"9 "Project-Id-Version: swfput 2.2.2\n" 10 10 "Report-Msgid-Bugs-To: edhynan@gmail.com\n" 11 "POT-Creation-Date: 201 4-08-09 09:56-0400\n"11 "POT-Creation-Date: 2015-01-16 08:51-0500\n" 12 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 172 172 173 173 #. Label shown on widgets page 174 #: swfput.php:849 swfput.php:870 swfput.php:334 6174 #: swfput.php:849 swfput.php:870 swfput.php:3345 175 175 msgid "SWFPut Video Player" 176 176 msgstr "" … … 462 462 msgstr "" 463 463 464 #: swfput.php:272 2464 #: swfput.php:2721 465 465 msgid "Video playback is not available" 466 466 msgstr "" 467 467 468 #: swfput.php:288 3468 #: swfput.php:2882 469 469 msgid "Video playback is not available." 470 470 msgstr "" … … 472 472 #. TRANSLATORS perl-type regular expression 473 473 #. that matches a 'yes' 474 #: swfput.php:321 9474 #: swfput.php:3218 475 475 msgid "/^?y(e((s|ah)!?)?)?$/i" 476 476 msgstr "" … … 478 478 #. TRANSLATORS perl-type regular expression 479 479 #. that matches a 'no' 480 #: swfput.php:322 2480 #: swfput.php:3221 481 481 msgid "/^n(o!?)?)?$/i" 482 482 msgstr "" 483 483 484 484 #. Description shown under label shown on widgets page 485 #: swfput.php:334 8485 #: swfput.php:3347 486 486 msgid "Flash and HTML5 video for your widget areas" 487 487 msgstr "" -
swfput/trunk/readme.txt
r1047266 r1069434 5 5 Requires at least: 3.0.2 6 6 Tested up to: 4.1 7 Stable tag: 2.2. 17 Stable tag: 2.2.2 8 8 Text Domain: swfput_l10n 9 9 License: GPLv3 or later … … 280 280 281 281 == Changelog == 282 283 = 2.2.2 = 284 * Bug fix release in response to a kind user query. 285 URLs provided for video files are checked before they 286 are used (good), but elsewhere in code an array key 287 would be missing if the URL was rejected (bad), possibly 288 leading to PHP error messages appearing on page. 289 290 Now, if a faulty URL is rejected, a default video URL 291 is used, linking to a small video that says "OOPS [...]" 292 and which should get the site owners attention (site 293 visitors should find the default video inoffensive, even 294 if unexpected). 295 296 = 2.2.1 = 297 * Confirmed working with WP 4.1. 282 298 283 299 = 2.2 = … … 490 506 == Upgrade Notice == 491 507 508 = 2.2.2 = 509 * Bug fix release. 510 511 = 2.2.1 = 512 * Confirmed working with WP 4.1. 513 492 514 = 2.2 = 493 515 * Confirmed working with WP 4.0. -
swfput/trunk/swfput.php
r970797 r1069434 4 4 Plugin URI: http://agalena.nfshost.com/b1/swfput-html5-flash-wordpress-plugin 5 5 Description: Add Flash and HTML5 video to WordPress posts, pages, and widgets, from arbitrary URI's or media library ID's or files in your media upload directory tree (including uploads not in the WordPress media library). 6 Version: 2.2. 16 Version: 2.2.2 7 7 Author: Ed Hynan 8 8 Author URI: http://agalena.nfshost.com/b1/ … … 115 115 116 116 // this version 117 const plugin_version = '2.2. 0';117 const plugin_version = '2.2.2'; 118 118 119 119 // the widget class name … … 199 199 const swfputcssname = 'obj.css'; 200 200 // swfput default video name 201 const swfputdefvid = 'default. flv';201 const swfputdefvid = 'default.mp4'; 202 202 // swfput program binary path 203 203 protected $swfputbin; … … 276 276 $t = self::swfputdir . '/' . self::swfputcssname; 277 277 $this->swfputcss = plugins_url($t, $pf); 278 $t = self::swfputdir . '/' .self::swfputdefvid;278 $t = /* self::swfputdir . '/' . */ self::swfputdefvid; 279 279 $this->swfputvid = plugins_url($t, $pf); 280 280 $t = self::settings_jsdir . '/' . self::settings_jsname; … … 2535 2535 } 2536 2536 } 2537 if ( $url === '' ) {2538 return false;2539 }2540 2537 2541 2538 $achk = array( … … 2573 2570 2574 2571 //$ut = $this->check_expand_video_url($url, $defaulturl); 2575 $flurl = $ut = $this->check_expand_video_url($url , '');2572 $flurl = $ut = $this->check_expand_video_url($url); 2576 2573 if ( $ut === false ) { 2577 2574 self::errlog('rejected URL: "' . $url . '"'); 2578 return '<!-- SWF embedding declined: URL displeasing -->'; 2575 $flurl = $ut = $this->check_expand_video_url(''); 2576 //return '<!-- SWF embedding declined: URL displeasing -->'; 2579 2577 } 2580 2578 … … 2633 2631 if ( ! $ut ) { 2634 2632 self::errlog('rejected URL: "' . $url . '"'); 2635 return '<!-- SWF embedding declined: URL displeasing -->'; 2633 $ut = $this->get_swf_css_url(); 2634 //return '<!-- SWF embedding declined: URL displeasing -->'; 2636 2635 } 2637 2636 if ( ! $ut ) { … … 2833 2832 // leave off src 2834 2833 $src = trim($tv[0]); 2835 $ut = $this->check_expand_video_url($src , false);2834 $ut = $this->check_expand_video_url($src); 2836 2835 if ( ! $ut ) { 2837 2836 self::errlog('rejected HTML video URL: "' . $src . '"'); -
swfput/trunk/version.sh
r970797 r1069434 3 3 VMAJOR=2 4 4 VMINOR=2 5 RMAJOR= 15 RMAJOR=2 6 6 RMINOR=0 7 7
Note: See TracChangeset
for help on using the changeset viewer.