Changeset 1289694
- Timestamp:
- 11/19/2015 11:21:34 AM (10 years ago)
- Location:
- swfput
- Files:
-
- 22 edited
- 1 copied
-
tags/3.0.6 (copied) (copied from swfput/trunk)
-
tags/3.0.6/Makefile (modified) (1 diff)
-
tags/3.0.6/README.html (modified) (1 diff)
-
tags/3.0.6/README.pdf (modified) (previous)
-
tags/3.0.6/evhh5v/front.js (modified) (5 diffs)
-
tags/3.0.6/evhh5v/front.min.js (modified) (1 diff)
-
tags/3.0.6/locale/swfput_l10n-en_US.mo (modified) (previous)
-
tags/3.0.6/locale/swfput_l10n-en_US.po (modified) (2 diffs)
-
tags/3.0.6/locale/swfput_l10n.pot (modified) (2 diffs)
-
tags/3.0.6/readme.txt (modified) (3 diffs)
-
tags/3.0.6/swfput.php (modified) (2 diffs)
-
tags/3.0.6/version.sh (modified) (1 diff)
-
trunk/Makefile (modified) (1 diff)
-
trunk/README.html (modified) (1 diff)
-
trunk/README.pdf (modified) (previous)
-
trunk/evhh5v/front.js (modified) (5 diffs)
-
trunk/evhh5v/front.min.js (modified) (1 diff)
-
trunk/locale/swfput_l10n-en_US.mo (modified) (previous)
-
trunk/locale/swfput_l10n-en_US.po (modified) (2 diffs)
-
trunk/locale/swfput_l10n.pot (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/swfput.php (modified) (2 diffs)
-
trunk/version.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
swfput/tags/3.0.6/Makefile
r1259400 r1289694 2 2 # License: GNU GPLv3 (see http://www.gnu.org/licenses/gpl-3.0.html) 3 3 4 PRJVERS = 3.0. 54 PRJVERS = 3.0.6 5 5 PRJSTEM = swfput 6 6 PRJNAME = $(PRJSTEM)-$(PRJVERS) -
swfput/tags/3.0.6/README.html
r1259400 r1289694 1 1 <!-- Creator : groff version 1.22.2 --> 2 <!-- CreationDate: Sun Oct 4 13:45:302015 -->2 <!-- CreationDate: Thu Nov 19 05:02:49 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/3.0.6/evhh5v/front.js
r1259400 r1289694 4013 4013 var att = ["loop", "width", "height", "id", "class", "name"]; 4014 4014 var poster = this._vid.getAttribute("poster"); 4015 4015 4016 while ( att.length ) { 4016 4017 var tn = att.shift(); … … 4028 4029 // it does not cause a net fetch due to caching, or that 4029 4030 // at least fetch will be small and quick. 4030 tv.setAttribute("preload", this.gotmetadata?"metadata":"none"); 4031 // UPDATE Nov. 2015: the above changed -- don''t know how 4032 // long ago before I noticed -- now with "metadata" poster 4033 // displays but is not scaled correctly; hence the nested 4034 // original ternary as fallback for 'poster ? "none"' 4035 tv.setAttribute("preload", poster ? "none" 4036 : (this.gotmetadata ? "metadata" : "none")); 4037 //tv.setAttribute("preload", this.gotmetadata?"metadata":"none"); 4031 4038 4032 4039 // copy nodes … … 4035 4042 tv.appendChild(tn); 4036 4043 this._vid.removeChild(this._vid.firstChild); 4044 } 4045 4046 // hook up new video; ready for play() 4047 if ( ! this.is_canvas ) { 4048 this._vid.parentNode.replaceChild(tv, this._vid); 4037 4049 } 4038 4050 … … 4046 4058 // webkit from fetching the media 4047 4059 this._vid.load(); 4048 4049 // hook up new video; ready for play()4050 if ( ! this.is_canvas ) {4051 this._vid.parentNode.replaceChild(tv, this._vid);4052 }4053 4060 try { delete this._vid; } catch(e) {} 4054 4061 … … 4058 4065 this._obj_add_evt(this._vid); 4059 4066 this.gotmetadata = this.playing = false; 4067 4060 4068 if ( poster ) { 4061 4069 this._vid.setAttribute("poster", poster); -
swfput/tags/3.0.6/evhh5v/front.min.js
r1259400 r1289694 192 192 return;if(false&&this._vid.paused||this._vid.ended) 193 193 this.play();var cx=dat[0].clientX;var cw=dat[1];t=d*(cx/cw);this._vid.currentTime=t;this.bar.progress_pl(t/d);if(!this.playing){this.put_canvas_frame_single_timeout();}},play:function(){this._vid.play();},pause:function(){this._vid.pause();},playpause:function(){var video=this._vid;if(video.ended){video.currentTime=0;this.play();}else if(video.paused){this.play();}else{this.pause();}},stop:function(){this.stop_forced=true;this.hide_wait();var proc=function(){var tv=document.createElement('video');var att=["loop","width","height","id","class","name"];var poster=this._vid.getAttribute("poster");while(att.length){var tn=att.shift();var ta;if(!(ta=this._vid.getAttribute(tn)))continue;tv.setAttribute(tn,ta);} 194 tv.setAttribute("preload",this.gotmetadata?"metadata":"none");while(this._vid.hasChildNodes()){var tn=this._vid.firstChild.cloneNode(true);tv.appendChild(tn);this._vid.removeChild(this._vid.firstChild);} 194 tv.setAttribute("preload",poster?"none":(this.gotmetadata?"metadata":"none"));while(this._vid.hasChildNodes()){var tn=this._vid.firstChild.cloneNode(true);tv.appendChild(tn);this._vid.removeChild(this._vid.firstChild);} 195 if(!this.is_canvas){this._vid.parentNode.replaceChild(tv,this._vid);} 195 196 this._vid.src=null;this._vid.removeAttribute("src");try{this._vid.currentSrc=null;}catch(e){} 196 this._vid.load();if(!this.is_canvas){this._vid.parentNode.replaceChild(tv,this._vid);} 197 try{delete this._vid;}catch(e){} 197 this._vid.load();try{delete this._vid;}catch(e){} 198 198 this._vid=tv;this._vid.evhh5v_controller=this;this.setup_aspect_factors();this._obj_add_evt(this._vid);this.gotmetadata=this.playing=false;if(poster){this._vid.setAttribute("poster",poster);} 199 199 this.put_canvas_poster();this.bar.show_playico();this.bar.progress_pl(1);this.bar.stopbtn_disab();};if(this._vid.paused||this._vid.ended){proc.call(this);}else{this.stop_invoked_proc=proc;this._vid.pause();}},do_scale:function(){this.doscale=!this.doscale;this.setup_aspect_factors();this.put_canvas_frame_single();if(this.doscale){this.bar.show_scalein();}else{this.bar.show_scaleout();}},fullscreen:function(){if(!(this.allowfull&&evhh5v_fullscreen.capable())){this.bar.blur_fullscreen();if(this.allowfull){alert("Full screen mode is not available.");} -
swfput/tags/3.0.6/locale/swfput_l10n-en_US.po
r1259400 r1289694 1 # swfput 3.0. 5Pot Source1 # swfput 3.0.6 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 3.0. 5\n"9 "Project-Id-Version: swfput 3.0.6\n" 10 10 "Report-Msgid-Bugs-To: edhynan@gmail.com\n" 11 "POT-Creation-Date: 2015-1 0-04 13:45-0400\n"12 "PO-Revision-Date: 2015-1 0-04 13:45 EDT\n"11 "POT-Creation-Date: 2015-11-19 05:02-0500\n" 12 "PO-Revision-Date: 2015-11-19 05:02 EST\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 14 14 "Language-Team: LANGUAGE <LL@li.org>\n" -
swfput/tags/3.0.6/locale/swfput_l10n.pot
r1259400 r1289694 1 # swfput 3.0. 5Pot Source1 # swfput 3.0.6 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 3.0. 5\n"9 "Project-Id-Version: swfput 3.0.6\n" 10 10 "Report-Msgid-Bugs-To: edhynan@gmail.com\n" 11 "POT-Creation-Date: 2015-1 0-04 13:45-0400\n"11 "POT-Creation-Date: 2015-11-19 05:02-0500\n" 12 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -
swfput/tags/3.0.6/readme.txt
r1271366 r1289694 4 4 Tags: video, video player, movies, tube, flash, flash video, html5, html5 video, graphics, movie, video content, a/v content 5 5 Requires at least: 3.0.2 6 Tested up to: 4. 37 Stable tag: 3.0. 56 Tested up to: 4.4 7 Stable tag: 3.0.6 8 8 Text Domain: swfput_l10n 9 9 License: GPLv3 or later … … 281 281 282 282 == Changelog == 283 284 = 3.0.6 = 285 * Poster image might have been too small after stop button 286 click; this should be OK now. 287 * Confirmed working with WP 4.4. 283 288 284 289 = 3.0.5 = … … 581 586 == Upgrade Notice == 582 587 588 = 3.0.6 = 589 * Poster image might have been too small after stop button 590 click; this should be OK now. 591 * Confirmed working with WP 4.4. 592 583 593 = 3.0.5 = 584 594 * Fix for URLs without scheme (e.g. "//www.example.com/foo/"). -
swfput/tags/3.0.6/swfput.php
r1271366 r1289694 4 4 Plugin URI: //agalena.nfshost.com/b1/software/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: 3.0. 56 Version: 3.0.6 7 7 Author: Ed Hynan 8 8 Author URI: //agalena.nfshost.com/b1/ … … 114 114 115 115 // this version 116 const plugin_version = '3.0. 5';116 const plugin_version = '3.0.6'; 117 117 118 118 // the widget class name -
swfput/tags/3.0.6/version.sh
r1259400 r1289694 3 3 VMAJOR=3 4 4 VMINOR=0 5 RMAJOR= 55 RMAJOR=6 6 6 RMINOR=0 7 7 -
swfput/trunk/Makefile
r1259400 r1289694 2 2 # License: GNU GPLv3 (see http://www.gnu.org/licenses/gpl-3.0.html) 3 3 4 PRJVERS = 3.0. 54 PRJVERS = 3.0.6 5 5 PRJSTEM = swfput 6 6 PRJNAME = $(PRJSTEM)-$(PRJVERS) -
swfput/trunk/README.html
r1259400 r1289694 1 1 <!-- Creator : groff version 1.22.2 --> 2 <!-- CreationDate: Sun Oct 4 13:45:302015 -->2 <!-- CreationDate: Thu Nov 19 05:02:49 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/evhh5v/front.js
r1259400 r1289694 4013 4013 var att = ["loop", "width", "height", "id", "class", "name"]; 4014 4014 var poster = this._vid.getAttribute("poster"); 4015 4015 4016 while ( att.length ) { 4016 4017 var tn = att.shift(); … … 4028 4029 // it does not cause a net fetch due to caching, or that 4029 4030 // at least fetch will be small and quick. 4030 tv.setAttribute("preload", this.gotmetadata?"metadata":"none"); 4031 // UPDATE Nov. 2015: the above changed -- don''t know how 4032 // long ago before I noticed -- now with "metadata" poster 4033 // displays but is not scaled correctly; hence the nested 4034 // original ternary as fallback for 'poster ? "none"' 4035 tv.setAttribute("preload", poster ? "none" 4036 : (this.gotmetadata ? "metadata" : "none")); 4037 //tv.setAttribute("preload", this.gotmetadata?"metadata":"none"); 4031 4038 4032 4039 // copy nodes … … 4035 4042 tv.appendChild(tn); 4036 4043 this._vid.removeChild(this._vid.firstChild); 4044 } 4045 4046 // hook up new video; ready for play() 4047 if ( ! this.is_canvas ) { 4048 this._vid.parentNode.replaceChild(tv, this._vid); 4037 4049 } 4038 4050 … … 4046 4058 // webkit from fetching the media 4047 4059 this._vid.load(); 4048 4049 // hook up new video; ready for play()4050 if ( ! this.is_canvas ) {4051 this._vid.parentNode.replaceChild(tv, this._vid);4052 }4053 4060 try { delete this._vid; } catch(e) {} 4054 4061 … … 4058 4065 this._obj_add_evt(this._vid); 4059 4066 this.gotmetadata = this.playing = false; 4067 4060 4068 if ( poster ) { 4061 4069 this._vid.setAttribute("poster", poster); -
swfput/trunk/evhh5v/front.min.js
r1259400 r1289694 192 192 return;if(false&&this._vid.paused||this._vid.ended) 193 193 this.play();var cx=dat[0].clientX;var cw=dat[1];t=d*(cx/cw);this._vid.currentTime=t;this.bar.progress_pl(t/d);if(!this.playing){this.put_canvas_frame_single_timeout();}},play:function(){this._vid.play();},pause:function(){this._vid.pause();},playpause:function(){var video=this._vid;if(video.ended){video.currentTime=0;this.play();}else if(video.paused){this.play();}else{this.pause();}},stop:function(){this.stop_forced=true;this.hide_wait();var proc=function(){var tv=document.createElement('video');var att=["loop","width","height","id","class","name"];var poster=this._vid.getAttribute("poster");while(att.length){var tn=att.shift();var ta;if(!(ta=this._vid.getAttribute(tn)))continue;tv.setAttribute(tn,ta);} 194 tv.setAttribute("preload",this.gotmetadata?"metadata":"none");while(this._vid.hasChildNodes()){var tn=this._vid.firstChild.cloneNode(true);tv.appendChild(tn);this._vid.removeChild(this._vid.firstChild);} 194 tv.setAttribute("preload",poster?"none":(this.gotmetadata?"metadata":"none"));while(this._vid.hasChildNodes()){var tn=this._vid.firstChild.cloneNode(true);tv.appendChild(tn);this._vid.removeChild(this._vid.firstChild);} 195 if(!this.is_canvas){this._vid.parentNode.replaceChild(tv,this._vid);} 195 196 this._vid.src=null;this._vid.removeAttribute("src");try{this._vid.currentSrc=null;}catch(e){} 196 this._vid.load();if(!this.is_canvas){this._vid.parentNode.replaceChild(tv,this._vid);} 197 try{delete this._vid;}catch(e){} 197 this._vid.load();try{delete this._vid;}catch(e){} 198 198 this._vid=tv;this._vid.evhh5v_controller=this;this.setup_aspect_factors();this._obj_add_evt(this._vid);this.gotmetadata=this.playing=false;if(poster){this._vid.setAttribute("poster",poster);} 199 199 this.put_canvas_poster();this.bar.show_playico();this.bar.progress_pl(1);this.bar.stopbtn_disab();};if(this._vid.paused||this._vid.ended){proc.call(this);}else{this.stop_invoked_proc=proc;this._vid.pause();}},do_scale:function(){this.doscale=!this.doscale;this.setup_aspect_factors();this.put_canvas_frame_single();if(this.doscale){this.bar.show_scalein();}else{this.bar.show_scaleout();}},fullscreen:function(){if(!(this.allowfull&&evhh5v_fullscreen.capable())){this.bar.blur_fullscreen();if(this.allowfull){alert("Full screen mode is not available.");} -
swfput/trunk/locale/swfput_l10n-en_US.po
r1259400 r1289694 1 # swfput 3.0. 5Pot Source1 # swfput 3.0.6 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 3.0. 5\n"9 "Project-Id-Version: swfput 3.0.6\n" 10 10 "Report-Msgid-Bugs-To: edhynan@gmail.com\n" 11 "POT-Creation-Date: 2015-1 0-04 13:45-0400\n"12 "PO-Revision-Date: 2015-1 0-04 13:45 EDT\n"11 "POT-Creation-Date: 2015-11-19 05:02-0500\n" 12 "PO-Revision-Date: 2015-11-19 05:02 EST\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 14 14 "Language-Team: LANGUAGE <LL@li.org>\n" -
swfput/trunk/locale/swfput_l10n.pot
r1259400 r1289694 1 # swfput 3.0. 5Pot Source1 # swfput 3.0.6 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 3.0. 5\n"9 "Project-Id-Version: swfput 3.0.6\n" 10 10 "Report-Msgid-Bugs-To: edhynan@gmail.com\n" 11 "POT-Creation-Date: 2015-1 0-04 13:45-0400\n"11 "POT-Creation-Date: 2015-11-19 05:02-0500\n" 12 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -
swfput/trunk/readme.txt
r1271366 r1289694 4 4 Tags: video, video player, movies, tube, flash, flash video, html5, html5 video, graphics, movie, video content, a/v content 5 5 Requires at least: 3.0.2 6 Tested up to: 4. 37 Stable tag: 3.0. 56 Tested up to: 4.4 7 Stable tag: 3.0.6 8 8 Text Domain: swfput_l10n 9 9 License: GPLv3 or later … … 281 281 282 282 == Changelog == 283 284 = 3.0.6 = 285 * Poster image might have been too small after stop button 286 click; this should be OK now. 287 * Confirmed working with WP 4.4. 283 288 284 289 = 3.0.5 = … … 581 586 == Upgrade Notice == 582 587 588 = 3.0.6 = 589 * Poster image might have been too small after stop button 590 click; this should be OK now. 591 * Confirmed working with WP 4.4. 592 583 593 = 3.0.5 = 584 594 * Fix for URLs without scheme (e.g. "//www.example.com/foo/"). -
swfput/trunk/swfput.php
r1271366 r1289694 4 4 Plugin URI: //agalena.nfshost.com/b1/software/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: 3.0. 56 Version: 3.0.6 7 7 Author: Ed Hynan 8 8 Author URI: //agalena.nfshost.com/b1/ … … 114 114 115 115 // this version 116 const plugin_version = '3.0. 5';116 const plugin_version = '3.0.6'; 117 117 118 118 // the widget class name -
swfput/trunk/version.sh
r1259400 r1289694 3 3 VMAJOR=3 4 4 VMINOR=0 5 RMAJOR= 55 RMAJOR=6 6 6 RMINOR=0 7 7
Note: See TracChangeset
for help on using the changeset viewer.