Plugin Directory

Changeset 1289694


Ignore:
Timestamp:
11/19/2015 11:21:34 AM (10 years ago)
Author:
EdHynan
Message:

3.0.6: bug fix, check with WP 4.4beta4

Location:
swfput
Files:
22 edited
1 copied

Legend:

Unmodified
Added
Removed
  • swfput/tags/3.0.6/Makefile

    r1259400 r1289694  
    22# License: GNU GPLv3 (see http://www.gnu.org/licenses/gpl-3.0.html)
    33
    4 PRJVERS = 3.0.5
     4PRJVERS = 3.0.6
    55PRJSTEM = swfput
    66PRJNAME = $(PRJSTEM)-$(PRJVERS)
  • swfput/tags/3.0.6/README.html

    r1259400 r1289694  
    11<!-- Creator     : groff version 1.22.2 -->
    2 <!-- CreationDate: Sun Oct  4 13:45:30 2015 -->
     2<!-- CreationDate: Thu Nov 19 05:02:49 2015 -->
    33<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    44"http://www.w3.org/TR/html4/loose.dtd">
  • swfput/tags/3.0.6/evhh5v/front.js

    r1259400 r1289694  
    40134013        var att = ["loop", "width", "height", "id", "class", "name"];
    40144014        var poster = this._vid.getAttribute("poster");
     4015
    40154016        while ( att.length ) {
    40164017            var tn = att.shift();
     
    40284029        // it does not cause a net fetch due to caching, or that
    40294030        // 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");
    40314038
    40324039        // copy nodes
     
    40354042            tv.appendChild(tn);
    40364043            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);
    40374049        }
    40384050
     
    40464058        // webkit from fetching the media
    40474059        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         }
    40534060        try { delete this._vid; } catch(e) {}
    40544061
     
    40584065        this._obj_add_evt(this._vid);
    40594066        this.gotmetadata = this.playing = false;
     4067
    40604068        if ( poster ) {
    40614069            this._vid.setAttribute("poster", poster);
  • swfput/tags/3.0.6/evhh5v/front.min.js

    r1259400 r1289694  
    192192return;if(false&&this._vid.paused||this._vid.ended)
    193193this.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);}
     194tv.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);}
     195if(!this.is_canvas){this._vid.parentNode.replaceChild(tv,this._vid);}
    195196this._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){}
     197this._vid.load();try{delete this._vid;}catch(e){}
    198198this._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);}
    199199this.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.5 Pot Source
     1# swfput 3.0.6 Pot Source
    22# Copyright (C) 2013 Ed Hynan
    33# This file is distributed under the same license as the swfput package.
     
    77msgid ""
    88msgstr ""
    9 "Project-Id-Version: swfput 3.0.5\n"
     9"Project-Id-Version: swfput 3.0.6\n"
    1010"Report-Msgid-Bugs-To: edhynan@gmail.com\n"
    11 "POT-Creation-Date: 2015-10-04 13:45-0400\n"
    12 "PO-Revision-Date: 2015-10-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"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    1414"Language-Team: LANGUAGE <LL@li.org>\n"
  • swfput/tags/3.0.6/locale/swfput_l10n.pot

    r1259400 r1289694  
    1 # swfput 3.0.5 Pot Source
     1# swfput 3.0.6 Pot Source
    22# Copyright (C) 2013 Ed Hynan
    33# This file is distributed under the same license as the swfput package.
     
    77msgid ""
    88msgstr ""
    9 "Project-Id-Version: swfput 3.0.5\n"
     9"Project-Id-Version: swfput 3.0.6\n"
    1010"Report-Msgid-Bugs-To: edhynan@gmail.com\n"
    11 "POT-Creation-Date: 2015-10-04 13:45-0400\n"
     11"POT-Creation-Date: 2015-11-19 05:02-0500\n"
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  • swfput/tags/3.0.6/readme.txt

    r1271366 r1289694  
    44Tags: video, video player, movies, tube, flash, flash video, html5, html5 video, graphics, movie, video content, a/v content
    55Requires at least: 3.0.2
    6 Tested up to: 4.3
    7 Stable tag: 3.0.5
     6Tested up to: 4.4
     7Stable tag: 3.0.6
    88Text Domain: swfput_l10n
    99License: GPLv3 or later
     
    281281
    282282== 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.
    283288
    284289= 3.0.5 =
     
    581586== Upgrade Notice ==
    582587
     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
    583593= 3.0.5 =
    584594* Fix for URLs without scheme (e.g. "//www.example.com/foo/").
  • swfput/tags/3.0.6/swfput.php

    r1271366 r1289694  
    44Plugin URI: //agalena.nfshost.com/b1/software/swfput-html5-flash-wordpress-plugin/
    55Description: 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.5
     6Version: 3.0.6
    77Author: Ed Hynan
    88Author URI: //agalena.nfshost.com/b1/
     
    114114   
    115115    // this version
    116     const plugin_version = '3.0.5';
     116    const plugin_version = '3.0.6';
    117117   
    118118    // the widget class name
  • swfput/tags/3.0.6/version.sh

    r1259400 r1289694  
    33VMAJOR=3
    44VMINOR=0
    5 RMAJOR=5
     5RMAJOR=6
    66RMINOR=0
    77
  • swfput/trunk/Makefile

    r1259400 r1289694  
    22# License: GNU GPLv3 (see http://www.gnu.org/licenses/gpl-3.0.html)
    33
    4 PRJVERS = 3.0.5
     4PRJVERS = 3.0.6
    55PRJSTEM = swfput
    66PRJNAME = $(PRJSTEM)-$(PRJVERS)
  • swfput/trunk/README.html

    r1259400 r1289694  
    11<!-- Creator     : groff version 1.22.2 -->
    2 <!-- CreationDate: Sun Oct  4 13:45:30 2015 -->
     2<!-- CreationDate: Thu Nov 19 05:02:49 2015 -->
    33<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    44"http://www.w3.org/TR/html4/loose.dtd">
  • swfput/trunk/evhh5v/front.js

    r1259400 r1289694  
    40134013        var att = ["loop", "width", "height", "id", "class", "name"];
    40144014        var poster = this._vid.getAttribute("poster");
     4015
    40154016        while ( att.length ) {
    40164017            var tn = att.shift();
     
    40284029        // it does not cause a net fetch due to caching, or that
    40294030        // 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");
    40314038
    40324039        // copy nodes
     
    40354042            tv.appendChild(tn);
    40364043            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);
    40374049        }
    40384050
     
    40464058        // webkit from fetching the media
    40474059        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         }
    40534060        try { delete this._vid; } catch(e) {}
    40544061
     
    40584065        this._obj_add_evt(this._vid);
    40594066        this.gotmetadata = this.playing = false;
     4067
    40604068        if ( poster ) {
    40614069            this._vid.setAttribute("poster", poster);
  • swfput/trunk/evhh5v/front.min.js

    r1259400 r1289694  
    192192return;if(false&&this._vid.paused||this._vid.ended)
    193193this.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);}
     194tv.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);}
     195if(!this.is_canvas){this._vid.parentNode.replaceChild(tv,this._vid);}
    195196this._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){}
     197this._vid.load();try{delete this._vid;}catch(e){}
    198198this._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);}
    199199this.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.5 Pot Source
     1# swfput 3.0.6 Pot Source
    22# Copyright (C) 2013 Ed Hynan
    33# This file is distributed under the same license as the swfput package.
     
    77msgid ""
    88msgstr ""
    9 "Project-Id-Version: swfput 3.0.5\n"
     9"Project-Id-Version: swfput 3.0.6\n"
    1010"Report-Msgid-Bugs-To: edhynan@gmail.com\n"
    11 "POT-Creation-Date: 2015-10-04 13:45-0400\n"
    12 "PO-Revision-Date: 2015-10-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"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    1414"Language-Team: LANGUAGE <LL@li.org>\n"
  • swfput/trunk/locale/swfput_l10n.pot

    r1259400 r1289694  
    1 # swfput 3.0.5 Pot Source
     1# swfput 3.0.6 Pot Source
    22# Copyright (C) 2013 Ed Hynan
    33# This file is distributed under the same license as the swfput package.
     
    77msgid ""
    88msgstr ""
    9 "Project-Id-Version: swfput 3.0.5\n"
     9"Project-Id-Version: swfput 3.0.6\n"
    1010"Report-Msgid-Bugs-To: edhynan@gmail.com\n"
    11 "POT-Creation-Date: 2015-10-04 13:45-0400\n"
     11"POT-Creation-Date: 2015-11-19 05:02-0500\n"
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  • swfput/trunk/readme.txt

    r1271366 r1289694  
    44Tags: video, video player, movies, tube, flash, flash video, html5, html5 video, graphics, movie, video content, a/v content
    55Requires at least: 3.0.2
    6 Tested up to: 4.3
    7 Stable tag: 3.0.5
     6Tested up to: 4.4
     7Stable tag: 3.0.6
    88Text Domain: swfput_l10n
    99License: GPLv3 or later
     
    281281
    282282== 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.
    283288
    284289= 3.0.5 =
     
    581586== Upgrade Notice ==
    582587
     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
    583593= 3.0.5 =
    584594* Fix for URLs without scheme (e.g. "//www.example.com/foo/").
  • swfput/trunk/swfput.php

    r1271366 r1289694  
    44Plugin URI: //agalena.nfshost.com/b1/software/swfput-html5-flash-wordpress-plugin/
    55Description: 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.5
     6Version: 3.0.6
    77Author: Ed Hynan
    88Author URI: //agalena.nfshost.com/b1/
     
    114114   
    115115    // this version
    116     const plugin_version = '3.0.5';
     116    const plugin_version = '3.0.6';
    117117   
    118118    // the widget class name
  • swfput/trunk/version.sh

    r1259400 r1289694  
    33VMAJOR=3
    44VMINOR=0
    5 RMAJOR=5
     5RMAJOR=6
    66RMINOR=0
    77
Note: See TracChangeset for help on using the changeset viewer.