Plugin Directory

Changeset 1884445


Ignore:
Timestamp:
05/30/2018 11:01:09 PM (8 years ago)
Author:
EdHynan
Message:

version 3.0.9 with fix for MS Edge browser.

Location:
swfput
Files:
24 edited
1 copied

Legend:

Unmodified
Added
Removed
  • swfput/tags/3.0.9/Makefile

    r1466344 r1884445  
    1616#  MA 02110-1301, USA.
    1717
    18 PRJVERS = 3.0.8
     18PRJVERS = 3.0.9
    1919PRJSTEM = swfput
    2020PRJNAME = $(PRJSTEM)-$(PRJVERS)
     
    8484SBINS = $(SDIRI)/$(MNAME).swf
    8585
    86 ALSO = Makefile COPYING version.sh .htaccess
     86ALSO = Makefile COPYING license.txt version.sh .htaccess
    8787#READS= README README.tty README.tt8 README.pdf README.html
    8888READS= README README.pdf README.html
  • swfput/tags/3.0.9/README.html

    r1466344 r1884445  
    11<!-- Creator     : groff version 1.22.1 -->
    2 <!-- CreationDate: Tue Aug  2 13:11:54 2016 -->
     2<!-- CreationDate: Wed May 30 18:58:14 2018 -->
    33<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    44"http://www.w3.org/TR/html4/loose.dtd">
  • swfput/tags/3.0.9/evhh5v/front.js

    r1466344 r1884445  
    144144    barobj.setAttribute("onload", "evhh5v_ctlbarload(this, '"+pdiv+"'); return false;");
    145145    barobj.setAttribute('type', "image/svg+xml");
    146     barobj.setAttribute("data", url + (evhh5v_need_svg_query() ? "" : q));
     146    barobj.setAttribute("data", url + (evhh5v_need_svg_query() ? q : ""));
    147147
    148148    p = document.createElement('p');
     
    190190    barobj.setAttribute("onload", "evhh5v_ctlbutload(this, '"+pdiv+"'); return false;");
    191191    barobj.setAttribute('type', "image/svg+xml");
    192     barobj.setAttribute("data", url + (evhh5v_need_svg_query() ? "" : q));
     192    barobj.setAttribute("data", url + (evhh5v_need_svg_query() ? q : ""));
    193193
    194194    butdiv.appendChild(barobj);
     
    229229    barobj.setAttribute("onload", "evhh5v_ctlvolload(this, '"+pdiv+"'); return false;");
    230230    barobj.setAttribute('type', "image/svg+xml");
    231     barobj.setAttribute("data", url + (evhh5v_need_svg_query() ? "" : q));
     231    barobj.setAttribute("data", url + (evhh5v_need_svg_query() ? q : ""));
    232232
    233233    voldiv.appendChild(barobj);
     
    44734473\**********************************************************************/
    44744474
     4475// try to detect browser by feature
     4476function evhh5v_get_detect_type() {
     4477    if ( document.evhh5v_detected_us_type !== undefined ) {
     4478        return document.evhh5v_detected_us_type;
     4479    }
     4480
     4481    var b = 'unknown';
     4482
     4483    //
     4484    // the following tests have been lifted from:
     4485    // https://www.opentechguides.com/how-to/article/javascript/99/browser-detect.html
     4486    //
     4487    // ffox
     4488    if ( typeof InstallTrigger !== 'undefined' ) {
     4489        b = 'firefox';
     4490    }
     4491    // chrom*
     4492    else if ( window.chrome && window.chrome.webstore ) {
     4493        b = 'chromium';
     4494    }
     4495    // Opera > 8.0
     4496    else if ( (window.opr && opr.addons) || window.opera
     4497        || (navigator.userAgent.indexOf(' OPR/') >= 0) ) {
     4498        b = 'opera';
     4499    }
     4500    // Safari
     4501    else if ( Object.prototype.toString.call(window.HTMLElement).indexOf('Constructor')
     4502        > 0 ) {
     4503        b = 'safari';
     4504    }
     4505    // MSIE (incl. trident)
     4506    else if ( (/*@cc_on!@*/false) || (document.documentMode) ) {
     4507        b = 'msie';
     4508    }
     4509    // MS edge
     4510    else if ( !(document.documentMode) && window.StyleMedia ) {
     4511        b = 'edge';
     4512    }
     4513
     4514    document.evhh5v_detected_us_type = b;
     4515
     4516    return document.evhh5v_detected_us_type;
     4517};
     4518
    44754519// preferably do not add query string to svg url where
    44764520// it is known to be not needed (actually, I know only
     
    44834527        return document.evhh5v_need_svg_query_bool;
    44844528    }
    4485     document.evhh5v_need_svg_query_bool = ( !
    4486     /(FireFox|WebKit|KHTML|Chrom[ie]|Safari|OPR\/|Opera)/i.test(navigator["userAgent"])
    4487     ) == false;
    4488    
     4529
     4530    var b = true, t = evhh5v_get_detect_type();
     4531
     4532    if ( t === 'firefox' ) {
     4533        b = false;
     4534    } else if ( t === 'chromium' ) {
     4535        b = false;
     4536    } else if ( t === 'opera' ) {
     4537        b = false;
     4538    } else if ( t == 'safari' ) {
     4539        // need safari to test with!
     4540        //b = false;
     4541        b = true;
     4542    }
     4543
     4544    document.evhh5v_need_svg_query_bool = b;
     4545
    44894546    return document.evhh5v_need_svg_query_bool;
    44904547};
  • swfput/tags/3.0.9/evhh5v/front.min.js

    r1466344 r1884445  
    1818 *      MA 02110-1301, USA.
    1919 */
    20 function evhh5v_controlbar_elements(t,i){var e=evhh5v_controlbar_elements_check(t,!1);if(e){var s=t.iparm,h=s.uniq,r=(s.vidid,t.oparm);"none"!==r.std.preload&&e.setAttribute("preload","none"),e.removeAttribute("controls");var a={parentdiv:s.parentdiv,auxdiv:s.auxdiv,id:s.id?s.id:"evhh5v_ctlbar_svg_"+h,ctlbardiv:s.bardivid?s.bardivid:"evhh5v_ctlbar_div_"+h,parent:s.barobjid?s.barobjid:"evhh5v_ctlbar_obj_"+h,role:s.role?s.role:"bar"};r.uniq||(r.uniq={});for(var n in a)n in r.uniq||(r.uniq[n]=a[n]);var o=s.barurl,l=r.uniq.parentdiv,d=r.uniq.auxdiv,c=document.createElement("div");c.setAttribute("id",r.uniq.ctlbardiv),c.setAttribute("class",s.divclass),c.style.width=""+s.width+"px";var _=document.createElement("object");_.setAttribute("id",r.uniq.parent),_.setAttribute("class",s.divclass);var v,u,b,p="";b="?";for(var m in r)for(var n in r[m])u=""+r[m][n],p+=b+n+"="+u,v=document.createElement("param"),v.setAttribute("name",n),v.setAttribute("value",u),_.appendChild(v),b="&";_.style.width=""+s.width+"px",_.style.height=""+s.barheight+"px",_.setAttribute("onload","evhh5v_ctlbarload(this, '"+l+"'); return false;"),_.setAttribute("type","image/svg+xml"),_.setAttribute("data",o+(evhh5v_need_svg_query()?"":p)),v=document.createElement("p"),v.innerHTML=s.altmsg,_.appendChild(v),c.appendChild(_);var f=document.getElementById(d);o=s.buturl;var g;g=document.createElement("div"),g.setAttribute("id","b_"+r.uniq.ctlbardiv),g.setAttribute("class",s.divclass),_=document.createElement("object"),_.setAttribute("id","b_"+r.uniq.parent),_.setAttribute("class",s.divclass),p="?parentdiv="+l,v=document.createElement("param"),v.setAttribute("name","parentdiv"),v.setAttribute("value",l),_.appendChild(v),p+="&parent=b_"+r.uniq.parent,v=document.createElement("param"),v.setAttribute("name","parent"),v.setAttribute("value","b_"+r.uniq.parent),_.appendChild(v),p+="&ctlbardiv=b_"+r.uniq.ctlbardiv,v=document.createElement("param"),v.setAttribute("name","ctlbardiv"),v.setAttribute("value","b_"+r.uniq.ctlbardiv),_.appendChild(v),p+="&role=1st",v=document.createElement("param"),v.setAttribute("name","role"),v.setAttribute("value","1st"),_.appendChild(v),_.setAttribute("onload","evhh5v_ctlbutload(this, '"+l+"'); return false;"),_.setAttribute("type","image/svg+xml"),_.setAttribute("data",o+(evhh5v_need_svg_query()?"":p)),g.appendChild(_),o=s.volurl;var w;w=document.createElement("div"),w.setAttribute("id","v_"+r.uniq.ctlbardiv),w.setAttribute("class",s.divclass),_=document.createElement("object"),_.setAttribute("id","v_"+r.uniq.parent),_.setAttribute("class",s.divclass),p="?parentdiv="+l,v=document.createElement("param"),v.setAttribute("name","parentdiv"),v.setAttribute("value",l),_.appendChild(v),p+="&parent=v_"+r.uniq.parent,v=document.createElement("param"),v.setAttribute("name","parent"),v.setAttribute("value","v_"+r.uniq.parent),_.appendChild(v),p+="&ctlbardiv=v_"+r.uniq.ctlbardiv,v=document.createElement("param"),v.setAttribute("name","ctlbardiv"),v.setAttribute("value","v_"+r.uniq.ctlbardiv),_.appendChild(v),p+="&role=vol",v=document.createElement("param"),v.setAttribute("name","role"),v.setAttribute("value","vol"),_.appendChild(v),_.setAttribute("onload","evhh5v_ctlvolload(this, '"+l+"'); return false;"),_.setAttribute("type","image/svg+xml"),_.setAttribute("data",o+(evhh5v_need_svg_query()?"":p)),w.appendChild(_),f.appendChild(w),f.appendChild(c),f.appendChild(g),void 0!==i&&1==i&&evhh5v_fixup_elements(t)}}function evhh5v_controlbar_elements_check(t,i){if(i||(i=document.getElementById(t.iparm.vidid)),!i)return!1;var e=!1,s=[];s.push(i);for(var h=0;h<i.childNodes.length;h++){var r=i.childNodes.item(h),a=r.nodeName.toLowerCase();"object"!=a?"source"==a&&s.push(r):void 0!==t.flashid&&t.flashid===r.id&&(e="function"==typeof evhh5v_get_flashsupport&&evhh5v_get_flashsupport()?r:!1)}for(var n=[],o=0,l=0,d=0,c=0;s.length;){var _=!1,v=!1,u=s.shift(),b=u.getAttribute("src"),r=u.getAttribute("type");if(b&&!(b.length<1))if(c++,(!r||r.length<1)&&(b.match(/.*\.(mp4|m4v|mv4)[ \t]*$/i)?(r="video/mp4",_=!0,v=b,n.push(v)):b.match(/.*\.(og[gv]|vorbis)[ \t]*$/i)?(r="video/ogg",_=!0):b.match(/.*\.(webm|wbm|vp[89])[ \t]*$/i)?(r="video/webm",_=!0):b.match(/.*\.(flv)[ \t]*$/i)&&(v=b,n.push(v))),!r||r.length<1)d++;else{!v&&r.match(/.*video\/(mp4|flv).*/i)&&(v=b,n.push(v));var p=i.canPlayType(r);"probably"==p?l++:"maybe"==p?o++:_=!1,_&&u.setAttribute("type",r)}}if(l>0||o>0)return i;if(e!==!1){var m=i.parentNode,f=m.parentNode;i.removeChild(e);for(var g=[],h=0;h<e.childNodes.length;h++)g.push(e.childNodes.item(h));for(;g.length;){var r=g.shift(),a=r.nodeName.toLowerCase();"param"!=a&&(e.removeChild(r),i.appendChild(r))}return f.replaceChild(e,m),e.appendChild(m),window.addEventListener&&window.addEventListener("load",function(){var t=e.id;try{if(e.get_ack(t)!=t)return void evhh5v_msg('FAILED evhswf ack from "'+t+'"');for(var i=0,s=n.length;s>i;i++){var h=encodeURI(n[i]);e.add_alt_url(h,!0)}}catch(r){evhh5v_msg('EXCEPTION calling evhswf: "'+r.message+'"')}},!1),!1}return t.flashid&&evhh5v_get_flashsupport()&&(e=i.parentNode.parentNode,"object"===e.nodeName.toLowerCase()&&t.flashid===e.id)?(window.addEventListener&&window.addEventListener("load",function(){var t=e.id;try{if(e.get_ack(t)!=t)return void evhh5v_msg('FAILED evhswf ack from "'+t+'"');for(var i=0,s=n.length;s>i;i++){var h=encodeURI(n[i]);e.add_alt_url(h,!0)}}catch(r){evhh5v_msg('EXCEPTION calling evhswf: "'+r.message+'"')}},!1),!1):c>0?i:!1}function evhh5v_add_instance(t){evhh5v_sizer_instances.push(t)}function evhh5v_fullscreen_ok(){return evhh5v_fullscreen.if_defined()}function evhh5v_setvisi(t,i){t&&t.setAttribute("visibility",i)}function evhh5v_svg_click(t,i){var e=evhh5v_ctlbarmap[i.parentdiv];e&&e.loaded&&e.evhh5v_controller&&e.evhh5v_controller.button_click(t)}function evhh5v_put_ctlbarmap(t){if(!t.parentdiv||!t.role)return void evhh5v_msg("evhh5v_put_ctlbarmap was passed a foul object: no parentdiv or role: "+t);var i;switch(t.role){case"1st":i=evhh5v_ctlbutmap;break;case"vol":i=evhh5v_ctlvolmap;break;case"bar":default:i=evhh5v_ctlbarmap}i[t.parentdiv]=t,i[t.parentdiv].loaded=!1}function evhh5v_ctlbarload(t,i){var e=evhh5v_ctlbarmap[i];e.evhh5v_controlbar=new evhh5v_controlbar(e),e.evhh5v_controlbar.resize_bar(e.barwidth,e.barheight),e.loaded=!0}function evhh5v_ctlbutload(t,i){evhh5v_ctlbutmap[i].loaded=!0}function evhh5v_ctlvolload(t,i){evhh5v_ctlvolmap[i].loaded=!0}function evhh5v_need_svg_query(){return void 0!==document.evhh5v_need_svg_query_bool?document.evhh5v_need_svg_query_bool:(document.evhh5v_need_svg_query_bool=0==!/(FireFox|WebKit|KHTML|Chrom[ie]|Safari|OPR\/|Opera)/i.test(navigator.userAgent),document.evhh5v_need_svg_query_bool)}function evhh5v_ua_is_mobile(){if(void 0!==document.evhh5v_ua_is_mobile_bool)return document.evhh5v_ua_is_mobile_bool;document.evhh5v_ua_is_mobile_bool=!1;var t=navigator.userAgent;return(t.indexOf("Mobile")>=0||t.indexOf("Android")>=0||t.indexOf("Silk/")>=0||t.indexOf("Kindle")>=0||t.indexOf("BlackBerry")>=0||t.indexOf("Opera Mini")>=0||t.indexOf("Opera Mobi")>=0)&&(document.evhh5v_ua_is_mobile_bool=!0),document.evhh5v_ua_is_mobile_bool}function evhh5v_fixup_elements(t){var i=t.iparm;if(/Opera/i.test(navigator.userAgent)){var e=document.getElementById(i.auxdiv);if(e&&"object"===e.parentNode.nodeName.toLowerCase()){var s=e.parentNode,h=s.parentNode;s.removeChild(e),h.replaceChild(e,s)}}}"undefined"!=typeof jQuery&&jQuery(function(){"undefined"!=typeof wp&&wp.customize&&wp.customize.selectiveRefresh&&wp.customize.selectiveRefresh.bind("partial-content-rendered",function(t){try{if("undefined"==typeof t.removedNodes)return!0;var i=t.removedNodes;if(!i instanceof jQuery||!i.is(".SWF_put_widget_evh"))return!0;var e=i[0].getElementsByClassName("widget");if(!e)return!0;var s=e.length;if(1>s)return!0;for(var h=!1,r=-1,a=evhh5v_sizer_instances.length,n=0;a>n;n++){for(var o=evhh5v_sizer_instances[n],l=o.div_id,d=!1,c=0;s>c;c++)if(e[c].id===l){h=o,r=n,d=!0;break}if(d)break}if(0>r)return!0;evhh5v_sizer_instances.splice(r,1);var _,v=h.va_o||!1,u=h.o||!1;_="pause",v&&"function"==typeof v[_]&&v[_](),u&&"function"==typeof u[_]&&u[_]()}catch(b){var p=b.message;console.log("evhh5v placement handler exception: "+p)}return!0})});var evhh5v_sizer_instances=[],evhh5v_sizer_event_relay=function(t){for(var i=0;i<evhh5v_sizer_instances.length;i++){if(void 0!=evhh5v_ctlbarmap&&void 0==evhh5v_sizer_instances[i].ctlbar){var e=evhh5v_sizer_instances[i].d;e&&(e=evhh5v_ctlbarmap[e.id],e&&e.loaded&&evhh5v_sizer_instances[i].add_ctlbar(e))}t&&evhh5v_sizer_instances[i].resize(),evhh5v_sizer_instances[i].handle_resize()}};!function(){if(window.addEventListener){var t=250,i=!1,e=function(e){i=i||setTimeout(function(){i=!1,evhh5v_sizer_event_relay("load"===e.type)},t)};document.addEventListener("load",e,!0),window.addEventListener("load",e,!0),window.addEventListener("resize",e,!0)}else{var s=document.onload,h=window.onload,r=window.onresize;document.onload=function(){"function"==typeof evhh5v_video_onlddpre&&s(),evhh5v_sizer_event_relay(!0)},window.onload=function(){"function"==typeof evhh5v_video_onldwpre&&h(),evhh5v_sizer_event_relay(!0)},window.onresize=function(){"function"==typeof evhh5v_video_onszwpre&&r(),evhh5v_sizer_event_relay(!1)}}}();var evhh5v_sizer=function(t,i,e,s){this.ia_rat=1,this.hpad=0,this.vpad=0,this.wdiv=null,this.bld=null,this.inresize=0,this.d=document.getElementById(t),this.d&&(this.div_id=t,this.o=document.getElementById(i),this.va_o=document.getElementById(e),this.ia_o=document.getElementById(s),this.get_pads(),this.wdiv=this.d.offsetWidth,this.ia_o&&this.ia_o.width>1&&(this.ia_rat=this.ia_o.width/this.ia_o.height),void 0!=this.d.style&&void 0!=this.d.style.maxWidth&&"none"!=this.d.style.maxWidth&&""!=this.d.style.maxWidth||(this.d.style.maxWidth="100%"),evhh5v_add_instance(this))};evhh5v_sizer.prototype={add_ctlbar:function(t){if(!(this.va_o instanceof evhh5v_controller)){if(!t)return void evhh5v_msg("BAD CTLBAR == "+t);this.ctlbar=t,this.va_o=new evhh5v_controller(this.va_o,t,0),this.va_o.mk()}},_style:function(t,i){return evhh5v_getstyle(t,i)},get_pads:function(){var t=this._style(this.d,"padding-left")||0;this.hpad=parseInt(t),t=this._style(this.d,"paddin g-right")||0,this.hpad+=parseInt(t),t=this._style(this.d,"padding-top")||0,this.vpad=parseInt(t),t=this._style(this.d,"padding-bottom")||0,this.vpad+=parseInt(t)},handle_resize:function(){if(this.d&&0==this.inresize){var t=this.d,i=(this.wdiv,t.offsetWidth);this.wdiv=i,this.get_pads(),this.resize()}},_int_rsz:function(t){var i=this.d;if(i){var e=this.wdiv;if(e){var s=0,h=t.height,r=t.width,a=r/h,n=evhh5v_view_dims(),o=n.height-16;try{void 0!==evhh5v_sizer_maxheight_off&&evhh5v_sizer_maxheight_off&&(o=e/a+1)}catch(l){}e/a>o&&(e=Math.round(o*a)),e=Math.min(e,n.width),s=Math.round(Math.max((this.wdiv-e)/2-.5,0)),r=e,h=Math.round(r/a),t.height=h,t.width=r;try{void 0!==t.pixelHeight&&(t.pixelHeight=h,t.pixelWidth=r)}catch(l){}s=""+s+"px",i.style.paddingLeft=s,i.style.paddingRight=s}}},_int_imgrsz:function(t){if(void 0===t.complete||t.complete){if(void 0===t.naturalWidth||void 0===t.naturalHeight){if(void 0!==t._swfo)return;t.naturalWidth=t.width,t.naturalHeight=t.height}void 0!==t._ratio_user&&(this.ia_rat=t._ratio_user);var i=this.wdiv;if(null!=i){i-=this.hpad;var e=this.ia_rat,s=t.naturalWidth/t.naturalHeight;e>s?(t.height=Math.round(i/e),t.width=Math.round(t.height*s)):(t.width=i,t.height=Math.round(i/s))}}},resize:function(){this.d&&(this.inresize=1,this.o&&this._int_rsz(this.o),this.va_o&&this._int_rsz(this.va_o),this.ia_o&&this._int_imgrsz(this.ia_o),this.inresize=0)}};
     20function evhh5v_controlbar_elements(t,i){var e=evhh5v_controlbar_elements_check(t,!1);if(e){var s=t.iparm,h=s.uniq,r=(s.vidid,t.oparm);"none"!==r.std.preload&&e.setAttribute("preload","none"),e.removeAttribute("controls");var a={parentdiv:s.parentdiv,auxdiv:s.auxdiv,id:s.id?s.id:"evhh5v_ctlbar_svg_"+h,ctlbardiv:s.bardivid?s.bardivid:"evhh5v_ctlbar_div_"+h,parent:s.barobjid?s.barobjid:"evhh5v_ctlbar_obj_"+h,role:s.role?s.role:"bar"};r.uniq||(r.uniq={});for(var n in a)n in r.uniq||(r.uniq[n]=a[n]);var o=s.barurl,l=r.uniq.parentdiv,d=r.uniq.auxdiv,c=document.createElement("div");c.setAttribute("id",r.uniq.ctlbardiv),c.setAttribute("class",s.divclass),c.style.width=""+s.width+"px";var _=document.createElement("object");_.setAttribute("id",r.uniq.parent),_.setAttribute("class",s.divclass);var v,u,b,p="";b="?";for(var m in r)for(var n in r[m])u=""+r[m][n],p+=b+n+"="+u,v=document.createElement("param"),v.setAttribute("name",n),v.setAttribute("value",u),_.appendChild(v),b="&";_.style.width=""+s.width+"px",_.style.height=""+s.barheight+"px",_.setAttribute("onload","evhh5v_ctlbarload(this, '"+l+"'); return false;"),_.setAttribute("type","image/svg+xml"),_.setAttribute("data",o+(evhh5v_need_svg_query()?p:"")),v=document.createElement("p"),v.innerHTML=s.altmsg,_.appendChild(v),c.appendChild(_);var f=document.getElementById(d);o=s.buturl;var g;g=document.createElement("div"),g.setAttribute("id","b_"+r.uniq.ctlbardiv),g.setAttribute("class",s.divclass),_=document.createElement("object"),_.setAttribute("id","b_"+r.uniq.parent),_.setAttribute("class",s.divclass),p="?parentdiv="+l,v=document.createElement("param"),v.setAttribute("name","parentdiv"),v.setAttribute("value",l),_.appendChild(v),p+="&parent=b_"+r.uniq.parent,v=document.createElement("param"),v.setAttribute("name","parent"),v.setAttribute("value","b_"+r.uniq.parent),_.appendChild(v),p+="&ctlbardiv=b_"+r.uniq.ctlbardiv,v=document.createElement("param"),v.setAttribute("name","ctlbardiv"),v.setAttribute("value","b_"+r.uniq.ctlbardiv),_.appendChild(v),p+="&role=1st",v=document.createElement("param"),v.setAttribute("name","role"),v.setAttribute("value","1st"),_.appendChild(v),_.setAttribute("onload","evhh5v_ctlbutload(this, '"+l+"'); return false;"),_.setAttribute("type","image/svg+xml"),_.setAttribute("data",o+(evhh5v_need_svg_query()?p:"")),g.appendChild(_),o=s.volurl;var w;w=document.createElement("div"),w.setAttribute("id","v_"+r.uniq.ctlbardiv),w.setAttribute("class",s.divclass),_=document.createElement("object"),_.setAttribute("id","v_"+r.uniq.parent),_.setAttribute("class",s.divclass),p="?parentdiv="+l,v=document.createElement("param"),v.setAttribute("name","parentdiv"),v.setAttribute("value",l),_.appendChild(v),p+="&parent=v_"+r.uniq.parent,v=document.createElement("param"),v.setAttribute("name","parent"),v.setAttribute("value","v_"+r.uniq.parent),_.appendChild(v),p+="&ctlbardiv=v_"+r.uniq.ctlbardiv,v=document.createElement("param"),v.setAttribute("name","ctlbardiv"),v.setAttribute("value","v_"+r.uniq.ctlbardiv),_.appendChild(v),p+="&role=vol",v=document.createElement("param"),v.setAttribute("name","role"),v.setAttribute("value","vol"),_.appendChild(v),_.setAttribute("onload","evhh5v_ctlvolload(this, '"+l+"'); return false;"),_.setAttribute("type","image/svg+xml"),_.setAttribute("data",o+(evhh5v_need_svg_query()?p:"")),w.appendChild(_),f.appendChild(w),f.appendChild(c),f.appendChild(g),void 0!==i&&1==i&&evhh5v_fixup_elements(t)}}function evhh5v_controlbar_elements_check(t,i){if(i||(i=document.getElementById(t.iparm.vidid)),!i)return!1;var e=!1,s=[];s.push(i);for(var h=0;h<i.childNodes.length;h++){var r=i.childNodes.item(h),a=r.nodeName.toLowerCase();"object"!=a?"source"==a&&s.push(r):void 0!==t.flashid&&t.flashid===r.id&&(e="function"==typeof evhh5v_get_flashsupport&&evhh5v_get_flashsupport()?r:!1)}for(var n=[],o=0,l=0,d=0,c=0;s.length;){var _=!1,v=!1,u=s.shift(),b=u.getAttribute("src"),r=u.getAttribute("type");if(b&&!(b.length<1))if(c++,(!r||r.length<1)&&(b.match(/.*\.(mp4|m4v|mv4)[ \t]*$/i)?(r="video/mp4",_=!0,v=b,n.push(v)):b.match(/.*\.(og[gv]|vorbis)[ \t]*$/i)?(r="video/ogg",_=!0):b.match(/.*\.(webm|wbm|vp[89])[ \t]*$/i)?(r="video/webm",_=!0):b.match(/.*\.(flv)[ \t]*$/i)&&(v=b,n.push(v))),!r||r.length<1)d++;else{!v&&r.match(/.*video\/(mp4|flv).*/i)&&(v=b,n.push(v));var p=i.canPlayType(r);"probably"==p?l++:"maybe"==p?o++:_=!1,_&&u.setAttribute("type",r)}}if(l>0||o>0)return i;if(e!==!1){var m=i.parentNode,f=m.parentNode;i.removeChild(e);for(var g=[],h=0;h<e.childNodes.length;h++)g.push(e.childNodes.item(h));for(;g.length;){var r=g.shift(),a=r.nodeName.toLowerCase();"param"!=a&&(e.removeChild(r),i.appendChild(r))}return f.replaceChild(e,m),e.appendChild(m),window.addEventListener&&window.addEventListener("load",function(){var t=e.id;try{if(e.get_ack(t)!=t)return void evhh5v_msg('FAILED evhswf ack from "'+t+'"');for(var i=0,s=n.length;s>i;i++){var h=encodeURI(n[i]);e.add_alt_url(h,!0)}}catch(r){evhh5v_msg('EXCEPTION calling evhswf: "'+r.message+'"')}},!1),!1}return t.flashid&&evhh5v_get_flashsupport()&&(e=i.parentNode.parentNode,"object"===e.nodeName.toLowerCase()&&t.flashid===e.id)?(window.addEventListener&&window.addEventListener("load",function(){var t=e.id;try{if(e.get_ack(t)!=t)return void evhh5v_msg('FAILED evhswf ack from "'+t+'"');for(var i=0,s=n.length;s>i;i++){var h=encodeURI(n[i]);e.add_alt_url(h,!0)}}catch(r){evhh5v_msg('EXCEPTION calling evhswf: "'+r.message+'"')}},!1),!1):c>0?i:!1}function evhh5v_add_instance(t){evhh5v_sizer_instances.push(t)}function evhh5v_fullscreen_ok(){return evhh5v_fullscreen.if_defined()}function evhh5v_setvisi(t,i){t&&t.setAttribute("visibility",i)}function evhh5v_svg_click(t,i){var e=evhh5v_ctlbarmap[i.parentdiv];e&&e.loaded&&e.evhh5v_controller&&e.evhh5v_controller.button_click(t)}function evhh5v_put_ctlbarmap(t){if(!t.parentdiv||!t.role)return void evhh5v_msg("evhh5v_put_ctlbarmap was passed a foul object: no parentdiv or role: "+t);var i;switch(t.role){case"1st":i=evhh5v_ctlbutmap;break;case"vol":i=evhh5v_ctlvolmap;break;case"bar":default:i=evhh5v_ctlbarmap}i[t.parentdiv]=t,i[t.parentdiv].loaded=!1}function evhh5v_ctlbarload(t,i){var e=evhh5v_ctlbarmap[i];e.evhh5v_controlbar=new evhh5v_controlbar(e),e.evhh5v_controlbar.resize_bar(e.barwidth,e.barheight),e.loaded=!0}function evhh5v_ctlbutload(t,i){evhh5v_ctlbutmap[i].loaded=!0}function evhh5v_ctlvolload(t,i){evhh5v_ctlvolmap[i].loaded=!0}function evhh5v_get_detect_type(){if(void 0!==document.evhh5v_detected_us_type)return document.evhh5v_detected_us_type;var t="unknown";return"undefined"!=typeof InstallTrigger?t="firefox":window.chrome&&window.chrome.webstore?t="chromium":window.opr&&opr.addons||window.opera||navigator.userAgent.indexOf(" OPR/")>=0?t="opera":Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0?t="safari":document.documentMode?t="msie":!document.documentMode&&window.StyleMedia&&(t="edge"),document.evhh5v_detected_us_type=t,document.evhh5v_detected_us_type}function evhh5v_need_svg_query(){if(void 0!==document.evhh5v_need_svg_query_bool)return document.evhh5v_need_svg_query_bool;var t=!0,i=evhh5v_get_detect_type();return"firefox"===i?t=!1:"chromium"===i?t=!1:"opera"===i?t=!1:"safari"==i&&(t=!0),document.evhh5v_need_svg_query_bool=t,document.evhh5v_need_svg_query_bool}function evhh5v_ua_is_mobile(){if(void 0!==document.evhh5v_ua_is_mobile_bool)return document.evhh5v_ua_is_mobile_bool;document.evhh5v_ua_is_mobile_bool=!1;var t=navigator.userAgent;return(t.indexOf("Mobile")>=0||t.indexOf("Android")>=0||t.indexOf("Silk/")>=0||t.indexOf("Kindle")>=0||t.indexOf("BlackBerry")>=0||t.indexOf("Opera Mini")>=0||t.indexOf("Opera Mobi")>=0)&&(document.evhh5v_ua_is_mobile_bool=!0),document.evhh5v_ua_is_mobile_bool}function evhh5v_fixup_elements(t){var i=t.iparm;if(/Opera/i.test(navigator.userAgent)){var e=document.getElementById(i.auxdiv);if(e&&"object"===e.parentNode.nodeName.toLowerCase()){var s=e.parentNode,h=s.parentNode;s.removeChild(e),h.replaceChild(e,s)}}}"undefined"!=typeof jQuery&&jQuery(function(){"undefined"!=typeof wp&&wp.customize&&wp.customize.selectiveRefresh&&wp.customize.selectiveRefresh.bind("partial-content-rendered",function(t){try{if("undefined"==typeof t.removedNodes)return!0;var i=t.removedNodes;if(!i instanceof jQuery||!i.is(".SWF_put_widget_evh"))return!0;var e=i[0].getElementsByClassName("widget");if(!e)return!0;var s=e.length;if(1>s)return!0;for(var h=!1,r=-1,a=evhh5v_sizer_instances.length,n=0;a>n;n++){for(var o=evhh5v_sizer_instances[n],l=o.div_id,d=!1,c=0;s>c;c++)if(e[c].id===l){h=o,r=n,d=!0;break}if(d)break}if(0>r)return!0;evhh5v_sizer_instances.splice(r,1);var _,v=h.va_o||!1,u=h.o||!1;_="pause",v&&"function"==typeof v[_]&&v[_](),u&&"function"==typeof u[_]&&u[_]()}catch(b){var p=b.message;console.log("evhh5v placement handler exception: "+p)}return!0})});var evhh5v_sizer_instances=[],evhh5v_sizer_event_relay=function(t){for(var i=0;i<evhh5v_sizer_instances.length;i++){if(void 0!=evhh5v_ctlbarmap&&void 0==evhh5v_sizer_instances[i].ctlbar){var e=evhh5v_sizer_instances[i].d;e&&(e=evhh5v_ctlbarmap[e.id],e&&e.loaded&&evhh5v_sizer_instances[i].add_ctlbar(e))}t&&evhh5v_sizer_instances[i].resize(),evhh5v_sizer_instances[i].handle_resize()}};!function(){if(window.addEventListener){var t=250,i=!1,e=function(e){i=i||setTimeout(function(){i=!1,evhh5v_sizer_event_relay("load"===e.type)},t)};document.addEventListener("load",e,!0),window.addEventListener("load",e,!0),window.addEventListener("resize",e,!0)}else{var s=document.onload,h=window.onload,r=window.onresize;document.onload=function(){"function"==typeof evhh5v_video_onlddpre&&s(),evhh5v_sizer_event_relay(!0)},window.onload=function(){"function"==typeof evhh5v_video_onldwpre&&h(),evhh5v_sizer_event_relay(!0)},window.onresize=function(){"function"==typeof evhh5v_video_onszwpre&&r(),evhh5v_sizer_event_relay(!1)}}}();var evhh5v_sizer=function(t,i,e,s){this.ia_rat=1,this.hpad=0,this.vpad=0,this.wdiv=null,this.bld=null,this.inresize=0,this.d=document.getElementById(t),this.d&&(this.div_id=t,this.o=document.getElementById(i),this.va_o=document.getElementById(e),this.ia_o=document.getElementById(s),this.get_pads(),this.wdiv=this.d.offsetWidth,this.ia_o&&this.ia_o.width>1&&(this.ia_rat=this.ia_o.width/this.ia_o.height),void 0!=this.d.style&&void 0!=this.d.style.maxWidth&&"none"!=this.d.style.maxWidth&&""!=this.d.style.maxWidth||(this.d.style.maxWidth="100%"),evhh5v_add_instance(this))};evhh5v_sizer.prototype={add_ctlbar:function(t){if(!(this.va_o instanceof evhh5v_controller)){if(!t)return void evhh5v_msg("BAD CTLBAR == "+t);this.ctlbar=t,this.va_o=new evhh5v_controller(this.va_o,t,0),this.va_o.mk()}},_style:function(t,i){return evhh5v_getstyle(t,i)},get_pads:function(){var t=this._style(this.d,"padding-left")||0;this.hpad=parseInt(t),t=this._style(this.d,"paddin g-right")||0,this.hpad+=parseInt(t),t=this._style(this.d,"padding-top")||0,this.vpad=parseInt(t),t=this._style(this.d,"padding-bottom")||0,this.vpad+=parseInt(t)},handle_resize:function(){if(this.d&&0==this.inresize){var t=this.d,i=(this.wdiv,t.offsetWidth);this.wdiv=i,this.get_pads(),this.resize()}},_int_rsz:function(t){var i=this.d;if(i){var e=this.wdiv;if(e){var s=0,h=t.height,r=t.width,a=r/h,n=evhh5v_view_dims(),o=n.height-16;try{void 0!==evhh5v_sizer_maxheight_off&&evhh5v_sizer_maxheight_off&&(o=e/a+1)}catch(l){}e/a>o&&(e=Math.round(o*a)),e=Math.min(e,n.width),s=Math.round(Math.max((this.wdiv-e)/2-.5,0)),r=e,h=Math.round(r/a),t.height=h,t.width=r;try{void 0!==t.pixelHeight&&(t.pixelHeight=h,t.pixelWidth=r)}catch(l){}s=""+s+"px",i.style.paddingLeft=s,i.style.paddingRight=s}}},_int_imgrsz:function(t){if(void 0===t.complete||t.complete){if(void 0===t.naturalWidth||void 0===t.naturalHeight){if(void 0!==t._swfo)return;t.naturalWidth=t.width,t.naturalHeight=t.height}void 0!==t._ratio_user&&(this.ia_rat=t._ratio_user);var i=this.wdiv;if(null!=i){i-=this.hpad;var e=this.ia_rat,s=t.naturalWidth/t.naturalHeight;e>s?(t.height=Math.round(i/e),t.width=Math.round(t.height*s)):(t.width=i,t.height=Math.round(i/s))}}},resize:function(){this.d&&(this.inresize=1,this.o&&this._int_rsz(this.o),this.va_o&&this._int_rsz(this.va_o),this.ia_o&&this._int_imgrsz(this.ia_o),this.inresize=0)}};
    2121// map of symbols derived from code with copyright, MIT license,
    2222/*!
  • swfput/tags/3.0.9/locale/swfput_l10n-en_US.po

    r1466344 r1884445  
    1 # swfput 3.0.8 Pot Source
     1# swfput 3.0.9 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.8\n"
     9"Project-Id-Version: swfput 3.0.9\n"
    1010"Report-Msgid-Bugs-To: edhynan@gmail.com\n"
    11 "POT-Creation-Date: 2016-08-02 13:11-0400\n"
    12 "PO-Revision-Date: 2016-08-02 13:11 EDT\n"
     11"POT-Creation-Date: 2018-05-30 14:07-0400\n"
     12"PO-Revision-Date: 2018-05-30 14:07 EDT\n"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    1414"Language-Team: LANGUAGE <LL@li.org>\n"
  • swfput/tags/3.0.9/locale/swfput_l10n.pot

    r1466344 r1884445  
    1 # swfput 3.0.8 Pot Source
     1# swfput 3.0.9 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.8\n"
     9"Project-Id-Version: swfput 3.0.9\n"
    1010"Report-Msgid-Bugs-To: edhynan@gmail.com\n"
    11 "POT-Creation-Date: 2016-08-02 13:11-0400\n"
     11"POT-Creation-Date: 2018-05-30 14:07-0400\n"
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  • swfput/tags/3.0.9/readme.txt

    r1670100 r1884445  
    33Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4Q2Y8ZUG8HXLC
    44Tags: video, video player, flash video, html5 video, graphics, video content
    5 Requires at least: 3.0.2
    6 Tested up to: 4.8
    7 Stable tag: 3.0.8
     5Requires at least: 4.3
     6Tested up to: 4.9
     7Stable tag: 3.0.9
    88Text Domain: swfput_l10n
    99License: GPLv3 or later
     
    163163== Frequently Asked Questions ==
    164164
     165= What are the privacy implications of using SWFPut =
     166
     167None. SWFPut does no tracking at all. No information
     168of any sort is gathered or stored or forwarded to another
     169site, or any such thing.  There is no contact made with
     170any other site(1).  These statements apply both to the
     171WordPress user, and to site visitors.
     172
     173(1) The user can provide a media URL from a 3rd party site
     174which a visitor's browser will load; this 'contact' of
     175another site is entirely up to the WordPress user or administrator.
     176
    165177= I installed SWFPut, now what? =
    166178
     
    281293
    282294== Changelog ==
     295
     296= 3.0.9 =
     297* Fix for MS Edge browser.
    283298
    284299= 3.0.8 =
     
    595610== Upgrade Notice ==
    596611
     612= 3.0.9 =
     613* Fix for MS Edge browser.
     614
    597615= 3.0.8 =
    598616* Fix new mce-view visual editor presentation with WP 4.6.
  • swfput/tags/3.0.9/swfput.php

    r1466344 r1884445  
    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.8
     6Version: 3.0.9
    77Author: Ed Hynan
    88Author URI: //agalena.nfshost.com/b1/
     
    114114   
    115115    // this version
    116     const plugin_version = '3.0.8';
     116    const plugin_version = '3.0.9';
    117117   
    118118    // the widget class name
  • swfput/tags/3.0.9/version.sh

    r1466344 r1884445  
    33VMAJOR=3
    44VMINOR=0
    5 RMAJOR=8
     5RMAJOR=9
    66RMINOR=0
    77
  • swfput/trunk/Makefile

    r1466344 r1884445  
    1616#  MA 02110-1301, USA.
    1717
    18 PRJVERS = 3.0.8
     18PRJVERS = 3.0.9
    1919PRJSTEM = swfput
    2020PRJNAME = $(PRJSTEM)-$(PRJVERS)
     
    8484SBINS = $(SDIRI)/$(MNAME).swf
    8585
    86 ALSO = Makefile COPYING version.sh .htaccess
     86ALSO = Makefile COPYING license.txt version.sh .htaccess
    8787#READS= README README.tty README.tt8 README.pdf README.html
    8888READS= README README.pdf README.html
  • swfput/trunk/README.html

    r1466344 r1884445  
    11<!-- Creator     : groff version 1.22.1 -->
    2 <!-- CreationDate: Tue Aug  2 13:11:54 2016 -->
     2<!-- CreationDate: Wed May 30 18:58:14 2018 -->
    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

    r1466344 r1884445  
    144144    barobj.setAttribute("onload", "evhh5v_ctlbarload(this, '"+pdiv+"'); return false;");
    145145    barobj.setAttribute('type', "image/svg+xml");
    146     barobj.setAttribute("data", url + (evhh5v_need_svg_query() ? "" : q));
     146    barobj.setAttribute("data", url + (evhh5v_need_svg_query() ? q : ""));
    147147
    148148    p = document.createElement('p');
     
    190190    barobj.setAttribute("onload", "evhh5v_ctlbutload(this, '"+pdiv+"'); return false;");
    191191    barobj.setAttribute('type', "image/svg+xml");
    192     barobj.setAttribute("data", url + (evhh5v_need_svg_query() ? "" : q));
     192    barobj.setAttribute("data", url + (evhh5v_need_svg_query() ? q : ""));
    193193
    194194    butdiv.appendChild(barobj);
     
    229229    barobj.setAttribute("onload", "evhh5v_ctlvolload(this, '"+pdiv+"'); return false;");
    230230    barobj.setAttribute('type', "image/svg+xml");
    231     barobj.setAttribute("data", url + (evhh5v_need_svg_query() ? "" : q));
     231    barobj.setAttribute("data", url + (evhh5v_need_svg_query() ? q : ""));
    232232
    233233    voldiv.appendChild(barobj);
     
    44734473\**********************************************************************/
    44744474
     4475// try to detect browser by feature
     4476function evhh5v_get_detect_type() {
     4477    if ( document.evhh5v_detected_us_type !== undefined ) {
     4478        return document.evhh5v_detected_us_type;
     4479    }
     4480
     4481    var b = 'unknown';
     4482
     4483    //
     4484    // the following tests have been lifted from:
     4485    // https://www.opentechguides.com/how-to/article/javascript/99/browser-detect.html
     4486    //
     4487    // ffox
     4488    if ( typeof InstallTrigger !== 'undefined' ) {
     4489        b = 'firefox';
     4490    }
     4491    // chrom*
     4492    else if ( window.chrome && window.chrome.webstore ) {
     4493        b = 'chromium';
     4494    }
     4495    // Opera > 8.0
     4496    else if ( (window.opr && opr.addons) || window.opera
     4497        || (navigator.userAgent.indexOf(' OPR/') >= 0) ) {
     4498        b = 'opera';
     4499    }
     4500    // Safari
     4501    else if ( Object.prototype.toString.call(window.HTMLElement).indexOf('Constructor')
     4502        > 0 ) {
     4503        b = 'safari';
     4504    }
     4505    // MSIE (incl. trident)
     4506    else if ( (/*@cc_on!@*/false) || (document.documentMode) ) {
     4507        b = 'msie';
     4508    }
     4509    // MS edge
     4510    else if ( !(document.documentMode) && window.StyleMedia ) {
     4511        b = 'edge';
     4512    }
     4513
     4514    document.evhh5v_detected_us_type = b;
     4515
     4516    return document.evhh5v_detected_us_type;
     4517};
     4518
    44754519// preferably do not add query string to svg url where
    44764520// it is known to be not needed (actually, I know only
     
    44834527        return document.evhh5v_need_svg_query_bool;
    44844528    }
    4485     document.evhh5v_need_svg_query_bool = ( !
    4486     /(FireFox|WebKit|KHTML|Chrom[ie]|Safari|OPR\/|Opera)/i.test(navigator["userAgent"])
    4487     ) == false;
    4488    
     4529
     4530    var b = true, t = evhh5v_get_detect_type();
     4531
     4532    if ( t === 'firefox' ) {
     4533        b = false;
     4534    } else if ( t === 'chromium' ) {
     4535        b = false;
     4536    } else if ( t === 'opera' ) {
     4537        b = false;
     4538    } else if ( t == 'safari' ) {
     4539        // need safari to test with!
     4540        //b = false;
     4541        b = true;
     4542    }
     4543
     4544    document.evhh5v_need_svg_query_bool = b;
     4545
    44894546    return document.evhh5v_need_svg_query_bool;
    44904547};
  • swfput/trunk/evhh5v/front.min.js

    r1466344 r1884445  
    1818 *      MA 02110-1301, USA.
    1919 */
    20 function evhh5v_controlbar_elements(t,i){var e=evhh5v_controlbar_elements_check(t,!1);if(e){var s=t.iparm,h=s.uniq,r=(s.vidid,t.oparm);"none"!==r.std.preload&&e.setAttribute("preload","none"),e.removeAttribute("controls");var a={parentdiv:s.parentdiv,auxdiv:s.auxdiv,id:s.id?s.id:"evhh5v_ctlbar_svg_"+h,ctlbardiv:s.bardivid?s.bardivid:"evhh5v_ctlbar_div_"+h,parent:s.barobjid?s.barobjid:"evhh5v_ctlbar_obj_"+h,role:s.role?s.role:"bar"};r.uniq||(r.uniq={});for(var n in a)n in r.uniq||(r.uniq[n]=a[n]);var o=s.barurl,l=r.uniq.parentdiv,d=r.uniq.auxdiv,c=document.createElement("div");c.setAttribute("id",r.uniq.ctlbardiv),c.setAttribute("class",s.divclass),c.style.width=""+s.width+"px";var _=document.createElement("object");_.setAttribute("id",r.uniq.parent),_.setAttribute("class",s.divclass);var v,u,b,p="";b="?";for(var m in r)for(var n in r[m])u=""+r[m][n],p+=b+n+"="+u,v=document.createElement("param"),v.setAttribute("name",n),v.setAttribute("value",u),_.appendChild(v),b="&";_.style.width=""+s.width+"px",_.style.height=""+s.barheight+"px",_.setAttribute("onload","evhh5v_ctlbarload(this, '"+l+"'); return false;"),_.setAttribute("type","image/svg+xml"),_.setAttribute("data",o+(evhh5v_need_svg_query()?"":p)),v=document.createElement("p"),v.innerHTML=s.altmsg,_.appendChild(v),c.appendChild(_);var f=document.getElementById(d);o=s.buturl;var g;g=document.createElement("div"),g.setAttribute("id","b_"+r.uniq.ctlbardiv),g.setAttribute("class",s.divclass),_=document.createElement("object"),_.setAttribute("id","b_"+r.uniq.parent),_.setAttribute("class",s.divclass),p="?parentdiv="+l,v=document.createElement("param"),v.setAttribute("name","parentdiv"),v.setAttribute("value",l),_.appendChild(v),p+="&parent=b_"+r.uniq.parent,v=document.createElement("param"),v.setAttribute("name","parent"),v.setAttribute("value","b_"+r.uniq.parent),_.appendChild(v),p+="&ctlbardiv=b_"+r.uniq.ctlbardiv,v=document.createElement("param"),v.setAttribute("name","ctlbardiv"),v.setAttribute("value","b_"+r.uniq.ctlbardiv),_.appendChild(v),p+="&role=1st",v=document.createElement("param"),v.setAttribute("name","role"),v.setAttribute("value","1st"),_.appendChild(v),_.setAttribute("onload","evhh5v_ctlbutload(this, '"+l+"'); return false;"),_.setAttribute("type","image/svg+xml"),_.setAttribute("data",o+(evhh5v_need_svg_query()?"":p)),g.appendChild(_),o=s.volurl;var w;w=document.createElement("div"),w.setAttribute("id","v_"+r.uniq.ctlbardiv),w.setAttribute("class",s.divclass),_=document.createElement("object"),_.setAttribute("id","v_"+r.uniq.parent),_.setAttribute("class",s.divclass),p="?parentdiv="+l,v=document.createElement("param"),v.setAttribute("name","parentdiv"),v.setAttribute("value",l),_.appendChild(v),p+="&parent=v_"+r.uniq.parent,v=document.createElement("param"),v.setAttribute("name","parent"),v.setAttribute("value","v_"+r.uniq.parent),_.appendChild(v),p+="&ctlbardiv=v_"+r.uniq.ctlbardiv,v=document.createElement("param"),v.setAttribute("name","ctlbardiv"),v.setAttribute("value","v_"+r.uniq.ctlbardiv),_.appendChild(v),p+="&role=vol",v=document.createElement("param"),v.setAttribute("name","role"),v.setAttribute("value","vol"),_.appendChild(v),_.setAttribute("onload","evhh5v_ctlvolload(this, '"+l+"'); return false;"),_.setAttribute("type","image/svg+xml"),_.setAttribute("data",o+(evhh5v_need_svg_query()?"":p)),w.appendChild(_),f.appendChild(w),f.appendChild(c),f.appendChild(g),void 0!==i&&1==i&&evhh5v_fixup_elements(t)}}function evhh5v_controlbar_elements_check(t,i){if(i||(i=document.getElementById(t.iparm.vidid)),!i)return!1;var e=!1,s=[];s.push(i);for(var h=0;h<i.childNodes.length;h++){var r=i.childNodes.item(h),a=r.nodeName.toLowerCase();"object"!=a?"source"==a&&s.push(r):void 0!==t.flashid&&t.flashid===r.id&&(e="function"==typeof evhh5v_get_flashsupport&&evhh5v_get_flashsupport()?r:!1)}for(var n=[],o=0,l=0,d=0,c=0;s.length;){var _=!1,v=!1,u=s.shift(),b=u.getAttribute("src"),r=u.getAttribute("type");if(b&&!(b.length<1))if(c++,(!r||r.length<1)&&(b.match(/.*\.(mp4|m4v|mv4)[ \t]*$/i)?(r="video/mp4",_=!0,v=b,n.push(v)):b.match(/.*\.(og[gv]|vorbis)[ \t]*$/i)?(r="video/ogg",_=!0):b.match(/.*\.(webm|wbm|vp[89])[ \t]*$/i)?(r="video/webm",_=!0):b.match(/.*\.(flv)[ \t]*$/i)&&(v=b,n.push(v))),!r||r.length<1)d++;else{!v&&r.match(/.*video\/(mp4|flv).*/i)&&(v=b,n.push(v));var p=i.canPlayType(r);"probably"==p?l++:"maybe"==p?o++:_=!1,_&&u.setAttribute("type",r)}}if(l>0||o>0)return i;if(e!==!1){var m=i.parentNode,f=m.parentNode;i.removeChild(e);for(var g=[],h=0;h<e.childNodes.length;h++)g.push(e.childNodes.item(h));for(;g.length;){var r=g.shift(),a=r.nodeName.toLowerCase();"param"!=a&&(e.removeChild(r),i.appendChild(r))}return f.replaceChild(e,m),e.appendChild(m),window.addEventListener&&window.addEventListener("load",function(){var t=e.id;try{if(e.get_ack(t)!=t)return void evhh5v_msg('FAILED evhswf ack from "'+t+'"');for(var i=0,s=n.length;s>i;i++){var h=encodeURI(n[i]);e.add_alt_url(h,!0)}}catch(r){evhh5v_msg('EXCEPTION calling evhswf: "'+r.message+'"')}},!1),!1}return t.flashid&&evhh5v_get_flashsupport()&&(e=i.parentNode.parentNode,"object"===e.nodeName.toLowerCase()&&t.flashid===e.id)?(window.addEventListener&&window.addEventListener("load",function(){var t=e.id;try{if(e.get_ack(t)!=t)return void evhh5v_msg('FAILED evhswf ack from "'+t+'"');for(var i=0,s=n.length;s>i;i++){var h=encodeURI(n[i]);e.add_alt_url(h,!0)}}catch(r){evhh5v_msg('EXCEPTION calling evhswf: "'+r.message+'"')}},!1),!1):c>0?i:!1}function evhh5v_add_instance(t){evhh5v_sizer_instances.push(t)}function evhh5v_fullscreen_ok(){return evhh5v_fullscreen.if_defined()}function evhh5v_setvisi(t,i){t&&t.setAttribute("visibility",i)}function evhh5v_svg_click(t,i){var e=evhh5v_ctlbarmap[i.parentdiv];e&&e.loaded&&e.evhh5v_controller&&e.evhh5v_controller.button_click(t)}function evhh5v_put_ctlbarmap(t){if(!t.parentdiv||!t.role)return void evhh5v_msg("evhh5v_put_ctlbarmap was passed a foul object: no parentdiv or role: "+t);var i;switch(t.role){case"1st":i=evhh5v_ctlbutmap;break;case"vol":i=evhh5v_ctlvolmap;break;case"bar":default:i=evhh5v_ctlbarmap}i[t.parentdiv]=t,i[t.parentdiv].loaded=!1}function evhh5v_ctlbarload(t,i){var e=evhh5v_ctlbarmap[i];e.evhh5v_controlbar=new evhh5v_controlbar(e),e.evhh5v_controlbar.resize_bar(e.barwidth,e.barheight),e.loaded=!0}function evhh5v_ctlbutload(t,i){evhh5v_ctlbutmap[i].loaded=!0}function evhh5v_ctlvolload(t,i){evhh5v_ctlvolmap[i].loaded=!0}function evhh5v_need_svg_query(){return void 0!==document.evhh5v_need_svg_query_bool?document.evhh5v_need_svg_query_bool:(document.evhh5v_need_svg_query_bool=0==!/(FireFox|WebKit|KHTML|Chrom[ie]|Safari|OPR\/|Opera)/i.test(navigator.userAgent),document.evhh5v_need_svg_query_bool)}function evhh5v_ua_is_mobile(){if(void 0!==document.evhh5v_ua_is_mobile_bool)return document.evhh5v_ua_is_mobile_bool;document.evhh5v_ua_is_mobile_bool=!1;var t=navigator.userAgent;return(t.indexOf("Mobile")>=0||t.indexOf("Android")>=0||t.indexOf("Silk/")>=0||t.indexOf("Kindle")>=0||t.indexOf("BlackBerry")>=0||t.indexOf("Opera Mini")>=0||t.indexOf("Opera Mobi")>=0)&&(document.evhh5v_ua_is_mobile_bool=!0),document.evhh5v_ua_is_mobile_bool}function evhh5v_fixup_elements(t){var i=t.iparm;if(/Opera/i.test(navigator.userAgent)){var e=document.getElementById(i.auxdiv);if(e&&"object"===e.parentNode.nodeName.toLowerCase()){var s=e.parentNode,h=s.parentNode;s.removeChild(e),h.replaceChild(e,s)}}}"undefined"!=typeof jQuery&&jQuery(function(){"undefined"!=typeof wp&&wp.customize&&wp.customize.selectiveRefresh&&wp.customize.selectiveRefresh.bind("partial-content-rendered",function(t){try{if("undefined"==typeof t.removedNodes)return!0;var i=t.removedNodes;if(!i instanceof jQuery||!i.is(".SWF_put_widget_evh"))return!0;var e=i[0].getElementsByClassName("widget");if(!e)return!0;var s=e.length;if(1>s)return!0;for(var h=!1,r=-1,a=evhh5v_sizer_instances.length,n=0;a>n;n++){for(var o=evhh5v_sizer_instances[n],l=o.div_id,d=!1,c=0;s>c;c++)if(e[c].id===l){h=o,r=n,d=!0;break}if(d)break}if(0>r)return!0;evhh5v_sizer_instances.splice(r,1);var _,v=h.va_o||!1,u=h.o||!1;_="pause",v&&"function"==typeof v[_]&&v[_](),u&&"function"==typeof u[_]&&u[_]()}catch(b){var p=b.message;console.log("evhh5v placement handler exception: "+p)}return!0})});var evhh5v_sizer_instances=[],evhh5v_sizer_event_relay=function(t){for(var i=0;i<evhh5v_sizer_instances.length;i++){if(void 0!=evhh5v_ctlbarmap&&void 0==evhh5v_sizer_instances[i].ctlbar){var e=evhh5v_sizer_instances[i].d;e&&(e=evhh5v_ctlbarmap[e.id],e&&e.loaded&&evhh5v_sizer_instances[i].add_ctlbar(e))}t&&evhh5v_sizer_instances[i].resize(),evhh5v_sizer_instances[i].handle_resize()}};!function(){if(window.addEventListener){var t=250,i=!1,e=function(e){i=i||setTimeout(function(){i=!1,evhh5v_sizer_event_relay("load"===e.type)},t)};document.addEventListener("load",e,!0),window.addEventListener("load",e,!0),window.addEventListener("resize",e,!0)}else{var s=document.onload,h=window.onload,r=window.onresize;document.onload=function(){"function"==typeof evhh5v_video_onlddpre&&s(),evhh5v_sizer_event_relay(!0)},window.onload=function(){"function"==typeof evhh5v_video_onldwpre&&h(),evhh5v_sizer_event_relay(!0)},window.onresize=function(){"function"==typeof evhh5v_video_onszwpre&&r(),evhh5v_sizer_event_relay(!1)}}}();var evhh5v_sizer=function(t,i,e,s){this.ia_rat=1,this.hpad=0,this.vpad=0,this.wdiv=null,this.bld=null,this.inresize=0,this.d=document.getElementById(t),this.d&&(this.div_id=t,this.o=document.getElementById(i),this.va_o=document.getElementById(e),this.ia_o=document.getElementById(s),this.get_pads(),this.wdiv=this.d.offsetWidth,this.ia_o&&this.ia_o.width>1&&(this.ia_rat=this.ia_o.width/this.ia_o.height),void 0!=this.d.style&&void 0!=this.d.style.maxWidth&&"none"!=this.d.style.maxWidth&&""!=this.d.style.maxWidth||(this.d.style.maxWidth="100%"),evhh5v_add_instance(this))};evhh5v_sizer.prototype={add_ctlbar:function(t){if(!(this.va_o instanceof evhh5v_controller)){if(!t)return void evhh5v_msg("BAD CTLBAR == "+t);this.ctlbar=t,this.va_o=new evhh5v_controller(this.va_o,t,0),this.va_o.mk()}},_style:function(t,i){return evhh5v_getstyle(t,i)},get_pads:function(){var t=this._style(this.d,"padding-left")||0;this.hpad=parseInt(t),t=this._style(this.d,"paddin g-right")||0,this.hpad+=parseInt(t),t=this._style(this.d,"padding-top")||0,this.vpad=parseInt(t),t=this._style(this.d,"padding-bottom")||0,this.vpad+=parseInt(t)},handle_resize:function(){if(this.d&&0==this.inresize){var t=this.d,i=(this.wdiv,t.offsetWidth);this.wdiv=i,this.get_pads(),this.resize()}},_int_rsz:function(t){var i=this.d;if(i){var e=this.wdiv;if(e){var s=0,h=t.height,r=t.width,a=r/h,n=evhh5v_view_dims(),o=n.height-16;try{void 0!==evhh5v_sizer_maxheight_off&&evhh5v_sizer_maxheight_off&&(o=e/a+1)}catch(l){}e/a>o&&(e=Math.round(o*a)),e=Math.min(e,n.width),s=Math.round(Math.max((this.wdiv-e)/2-.5,0)),r=e,h=Math.round(r/a),t.height=h,t.width=r;try{void 0!==t.pixelHeight&&(t.pixelHeight=h,t.pixelWidth=r)}catch(l){}s=""+s+"px",i.style.paddingLeft=s,i.style.paddingRight=s}}},_int_imgrsz:function(t){if(void 0===t.complete||t.complete){if(void 0===t.naturalWidth||void 0===t.naturalHeight){if(void 0!==t._swfo)return;t.naturalWidth=t.width,t.naturalHeight=t.height}void 0!==t._ratio_user&&(this.ia_rat=t._ratio_user);var i=this.wdiv;if(null!=i){i-=this.hpad;var e=this.ia_rat,s=t.naturalWidth/t.naturalHeight;e>s?(t.height=Math.round(i/e),t.width=Math.round(t.height*s)):(t.width=i,t.height=Math.round(i/s))}}},resize:function(){this.d&&(this.inresize=1,this.o&&this._int_rsz(this.o),this.va_o&&this._int_rsz(this.va_o),this.ia_o&&this._int_imgrsz(this.ia_o),this.inresize=0)}};
     20function evhh5v_controlbar_elements(t,i){var e=evhh5v_controlbar_elements_check(t,!1);if(e){var s=t.iparm,h=s.uniq,r=(s.vidid,t.oparm);"none"!==r.std.preload&&e.setAttribute("preload","none"),e.removeAttribute("controls");var a={parentdiv:s.parentdiv,auxdiv:s.auxdiv,id:s.id?s.id:"evhh5v_ctlbar_svg_"+h,ctlbardiv:s.bardivid?s.bardivid:"evhh5v_ctlbar_div_"+h,parent:s.barobjid?s.barobjid:"evhh5v_ctlbar_obj_"+h,role:s.role?s.role:"bar"};r.uniq||(r.uniq={});for(var n in a)n in r.uniq||(r.uniq[n]=a[n]);var o=s.barurl,l=r.uniq.parentdiv,d=r.uniq.auxdiv,c=document.createElement("div");c.setAttribute("id",r.uniq.ctlbardiv),c.setAttribute("class",s.divclass),c.style.width=""+s.width+"px";var _=document.createElement("object");_.setAttribute("id",r.uniq.parent),_.setAttribute("class",s.divclass);var v,u,b,p="";b="?";for(var m in r)for(var n in r[m])u=""+r[m][n],p+=b+n+"="+u,v=document.createElement("param"),v.setAttribute("name",n),v.setAttribute("value",u),_.appendChild(v),b="&";_.style.width=""+s.width+"px",_.style.height=""+s.barheight+"px",_.setAttribute("onload","evhh5v_ctlbarload(this, '"+l+"'); return false;"),_.setAttribute("type","image/svg+xml"),_.setAttribute("data",o+(evhh5v_need_svg_query()?p:"")),v=document.createElement("p"),v.innerHTML=s.altmsg,_.appendChild(v),c.appendChild(_);var f=document.getElementById(d);o=s.buturl;var g;g=document.createElement("div"),g.setAttribute("id","b_"+r.uniq.ctlbardiv),g.setAttribute("class",s.divclass),_=document.createElement("object"),_.setAttribute("id","b_"+r.uniq.parent),_.setAttribute("class",s.divclass),p="?parentdiv="+l,v=document.createElement("param"),v.setAttribute("name","parentdiv"),v.setAttribute("value",l),_.appendChild(v),p+="&parent=b_"+r.uniq.parent,v=document.createElement("param"),v.setAttribute("name","parent"),v.setAttribute("value","b_"+r.uniq.parent),_.appendChild(v),p+="&ctlbardiv=b_"+r.uniq.ctlbardiv,v=document.createElement("param"),v.setAttribute("name","ctlbardiv"),v.setAttribute("value","b_"+r.uniq.ctlbardiv),_.appendChild(v),p+="&role=1st",v=document.createElement("param"),v.setAttribute("name","role"),v.setAttribute("value","1st"),_.appendChild(v),_.setAttribute("onload","evhh5v_ctlbutload(this, '"+l+"'); return false;"),_.setAttribute("type","image/svg+xml"),_.setAttribute("data",o+(evhh5v_need_svg_query()?p:"")),g.appendChild(_),o=s.volurl;var w;w=document.createElement("div"),w.setAttribute("id","v_"+r.uniq.ctlbardiv),w.setAttribute("class",s.divclass),_=document.createElement("object"),_.setAttribute("id","v_"+r.uniq.parent),_.setAttribute("class",s.divclass),p="?parentdiv="+l,v=document.createElement("param"),v.setAttribute("name","parentdiv"),v.setAttribute("value",l),_.appendChild(v),p+="&parent=v_"+r.uniq.parent,v=document.createElement("param"),v.setAttribute("name","parent"),v.setAttribute("value","v_"+r.uniq.parent),_.appendChild(v),p+="&ctlbardiv=v_"+r.uniq.ctlbardiv,v=document.createElement("param"),v.setAttribute("name","ctlbardiv"),v.setAttribute("value","v_"+r.uniq.ctlbardiv),_.appendChild(v),p+="&role=vol",v=document.createElement("param"),v.setAttribute("name","role"),v.setAttribute("value","vol"),_.appendChild(v),_.setAttribute("onload","evhh5v_ctlvolload(this, '"+l+"'); return false;"),_.setAttribute("type","image/svg+xml"),_.setAttribute("data",o+(evhh5v_need_svg_query()?p:"")),w.appendChild(_),f.appendChild(w),f.appendChild(c),f.appendChild(g),void 0!==i&&1==i&&evhh5v_fixup_elements(t)}}function evhh5v_controlbar_elements_check(t,i){if(i||(i=document.getElementById(t.iparm.vidid)),!i)return!1;var e=!1,s=[];s.push(i);for(var h=0;h<i.childNodes.length;h++){var r=i.childNodes.item(h),a=r.nodeName.toLowerCase();"object"!=a?"source"==a&&s.push(r):void 0!==t.flashid&&t.flashid===r.id&&(e="function"==typeof evhh5v_get_flashsupport&&evhh5v_get_flashsupport()?r:!1)}for(var n=[],o=0,l=0,d=0,c=0;s.length;){var _=!1,v=!1,u=s.shift(),b=u.getAttribute("src"),r=u.getAttribute("type");if(b&&!(b.length<1))if(c++,(!r||r.length<1)&&(b.match(/.*\.(mp4|m4v|mv4)[ \t]*$/i)?(r="video/mp4",_=!0,v=b,n.push(v)):b.match(/.*\.(og[gv]|vorbis)[ \t]*$/i)?(r="video/ogg",_=!0):b.match(/.*\.(webm|wbm|vp[89])[ \t]*$/i)?(r="video/webm",_=!0):b.match(/.*\.(flv)[ \t]*$/i)&&(v=b,n.push(v))),!r||r.length<1)d++;else{!v&&r.match(/.*video\/(mp4|flv).*/i)&&(v=b,n.push(v));var p=i.canPlayType(r);"probably"==p?l++:"maybe"==p?o++:_=!1,_&&u.setAttribute("type",r)}}if(l>0||o>0)return i;if(e!==!1){var m=i.parentNode,f=m.parentNode;i.removeChild(e);for(var g=[],h=0;h<e.childNodes.length;h++)g.push(e.childNodes.item(h));for(;g.length;){var r=g.shift(),a=r.nodeName.toLowerCase();"param"!=a&&(e.removeChild(r),i.appendChild(r))}return f.replaceChild(e,m),e.appendChild(m),window.addEventListener&&window.addEventListener("load",function(){var t=e.id;try{if(e.get_ack(t)!=t)return void evhh5v_msg('FAILED evhswf ack from "'+t+'"');for(var i=0,s=n.length;s>i;i++){var h=encodeURI(n[i]);e.add_alt_url(h,!0)}}catch(r){evhh5v_msg('EXCEPTION calling evhswf: "'+r.message+'"')}},!1),!1}return t.flashid&&evhh5v_get_flashsupport()&&(e=i.parentNode.parentNode,"object"===e.nodeName.toLowerCase()&&t.flashid===e.id)?(window.addEventListener&&window.addEventListener("load",function(){var t=e.id;try{if(e.get_ack(t)!=t)return void evhh5v_msg('FAILED evhswf ack from "'+t+'"');for(var i=0,s=n.length;s>i;i++){var h=encodeURI(n[i]);e.add_alt_url(h,!0)}}catch(r){evhh5v_msg('EXCEPTION calling evhswf: "'+r.message+'"')}},!1),!1):c>0?i:!1}function evhh5v_add_instance(t){evhh5v_sizer_instances.push(t)}function evhh5v_fullscreen_ok(){return evhh5v_fullscreen.if_defined()}function evhh5v_setvisi(t,i){t&&t.setAttribute("visibility",i)}function evhh5v_svg_click(t,i){var e=evhh5v_ctlbarmap[i.parentdiv];e&&e.loaded&&e.evhh5v_controller&&e.evhh5v_controller.button_click(t)}function evhh5v_put_ctlbarmap(t){if(!t.parentdiv||!t.role)return void evhh5v_msg("evhh5v_put_ctlbarmap was passed a foul object: no parentdiv or role: "+t);var i;switch(t.role){case"1st":i=evhh5v_ctlbutmap;break;case"vol":i=evhh5v_ctlvolmap;break;case"bar":default:i=evhh5v_ctlbarmap}i[t.parentdiv]=t,i[t.parentdiv].loaded=!1}function evhh5v_ctlbarload(t,i){var e=evhh5v_ctlbarmap[i];e.evhh5v_controlbar=new evhh5v_controlbar(e),e.evhh5v_controlbar.resize_bar(e.barwidth,e.barheight),e.loaded=!0}function evhh5v_ctlbutload(t,i){evhh5v_ctlbutmap[i].loaded=!0}function evhh5v_ctlvolload(t,i){evhh5v_ctlvolmap[i].loaded=!0}function evhh5v_get_detect_type(){if(void 0!==document.evhh5v_detected_us_type)return document.evhh5v_detected_us_type;var t="unknown";return"undefined"!=typeof InstallTrigger?t="firefox":window.chrome&&window.chrome.webstore?t="chromium":window.opr&&opr.addons||window.opera||navigator.userAgent.indexOf(" OPR/")>=0?t="opera":Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0?t="safari":document.documentMode?t="msie":!document.documentMode&&window.StyleMedia&&(t="edge"),document.evhh5v_detected_us_type=t,document.evhh5v_detected_us_type}function evhh5v_need_svg_query(){if(void 0!==document.evhh5v_need_svg_query_bool)return document.evhh5v_need_svg_query_bool;var t=!0,i=evhh5v_get_detect_type();return"firefox"===i?t=!1:"chromium"===i?t=!1:"opera"===i?t=!1:"safari"==i&&(t=!0),document.evhh5v_need_svg_query_bool=t,document.evhh5v_need_svg_query_bool}function evhh5v_ua_is_mobile(){if(void 0!==document.evhh5v_ua_is_mobile_bool)return document.evhh5v_ua_is_mobile_bool;document.evhh5v_ua_is_mobile_bool=!1;var t=navigator.userAgent;return(t.indexOf("Mobile")>=0||t.indexOf("Android")>=0||t.indexOf("Silk/")>=0||t.indexOf("Kindle")>=0||t.indexOf("BlackBerry")>=0||t.indexOf("Opera Mini")>=0||t.indexOf("Opera Mobi")>=0)&&(document.evhh5v_ua_is_mobile_bool=!0),document.evhh5v_ua_is_mobile_bool}function evhh5v_fixup_elements(t){var i=t.iparm;if(/Opera/i.test(navigator.userAgent)){var e=document.getElementById(i.auxdiv);if(e&&"object"===e.parentNode.nodeName.toLowerCase()){var s=e.parentNode,h=s.parentNode;s.removeChild(e),h.replaceChild(e,s)}}}"undefined"!=typeof jQuery&&jQuery(function(){"undefined"!=typeof wp&&wp.customize&&wp.customize.selectiveRefresh&&wp.customize.selectiveRefresh.bind("partial-content-rendered",function(t){try{if("undefined"==typeof t.removedNodes)return!0;var i=t.removedNodes;if(!i instanceof jQuery||!i.is(".SWF_put_widget_evh"))return!0;var e=i[0].getElementsByClassName("widget");if(!e)return!0;var s=e.length;if(1>s)return!0;for(var h=!1,r=-1,a=evhh5v_sizer_instances.length,n=0;a>n;n++){for(var o=evhh5v_sizer_instances[n],l=o.div_id,d=!1,c=0;s>c;c++)if(e[c].id===l){h=o,r=n,d=!0;break}if(d)break}if(0>r)return!0;evhh5v_sizer_instances.splice(r,1);var _,v=h.va_o||!1,u=h.o||!1;_="pause",v&&"function"==typeof v[_]&&v[_](),u&&"function"==typeof u[_]&&u[_]()}catch(b){var p=b.message;console.log("evhh5v placement handler exception: "+p)}return!0})});var evhh5v_sizer_instances=[],evhh5v_sizer_event_relay=function(t){for(var i=0;i<evhh5v_sizer_instances.length;i++){if(void 0!=evhh5v_ctlbarmap&&void 0==evhh5v_sizer_instances[i].ctlbar){var e=evhh5v_sizer_instances[i].d;e&&(e=evhh5v_ctlbarmap[e.id],e&&e.loaded&&evhh5v_sizer_instances[i].add_ctlbar(e))}t&&evhh5v_sizer_instances[i].resize(),evhh5v_sizer_instances[i].handle_resize()}};!function(){if(window.addEventListener){var t=250,i=!1,e=function(e){i=i||setTimeout(function(){i=!1,evhh5v_sizer_event_relay("load"===e.type)},t)};document.addEventListener("load",e,!0),window.addEventListener("load",e,!0),window.addEventListener("resize",e,!0)}else{var s=document.onload,h=window.onload,r=window.onresize;document.onload=function(){"function"==typeof evhh5v_video_onlddpre&&s(),evhh5v_sizer_event_relay(!0)},window.onload=function(){"function"==typeof evhh5v_video_onldwpre&&h(),evhh5v_sizer_event_relay(!0)},window.onresize=function(){"function"==typeof evhh5v_video_onszwpre&&r(),evhh5v_sizer_event_relay(!1)}}}();var evhh5v_sizer=function(t,i,e,s){this.ia_rat=1,this.hpad=0,this.vpad=0,this.wdiv=null,this.bld=null,this.inresize=0,this.d=document.getElementById(t),this.d&&(this.div_id=t,this.o=document.getElementById(i),this.va_o=document.getElementById(e),this.ia_o=document.getElementById(s),this.get_pads(),this.wdiv=this.d.offsetWidth,this.ia_o&&this.ia_o.width>1&&(this.ia_rat=this.ia_o.width/this.ia_o.height),void 0!=this.d.style&&void 0!=this.d.style.maxWidth&&"none"!=this.d.style.maxWidth&&""!=this.d.style.maxWidth||(this.d.style.maxWidth="100%"),evhh5v_add_instance(this))};evhh5v_sizer.prototype={add_ctlbar:function(t){if(!(this.va_o instanceof evhh5v_controller)){if(!t)return void evhh5v_msg("BAD CTLBAR == "+t);this.ctlbar=t,this.va_o=new evhh5v_controller(this.va_o,t,0),this.va_o.mk()}},_style:function(t,i){return evhh5v_getstyle(t,i)},get_pads:function(){var t=this._style(this.d,"padding-left")||0;this.hpad=parseInt(t),t=this._style(this.d,"paddin g-right")||0,this.hpad+=parseInt(t),t=this._style(this.d,"padding-top")||0,this.vpad=parseInt(t),t=this._style(this.d,"padding-bottom")||0,this.vpad+=parseInt(t)},handle_resize:function(){if(this.d&&0==this.inresize){var t=this.d,i=(this.wdiv,t.offsetWidth);this.wdiv=i,this.get_pads(),this.resize()}},_int_rsz:function(t){var i=this.d;if(i){var e=this.wdiv;if(e){var s=0,h=t.height,r=t.width,a=r/h,n=evhh5v_view_dims(),o=n.height-16;try{void 0!==evhh5v_sizer_maxheight_off&&evhh5v_sizer_maxheight_off&&(o=e/a+1)}catch(l){}e/a>o&&(e=Math.round(o*a)),e=Math.min(e,n.width),s=Math.round(Math.max((this.wdiv-e)/2-.5,0)),r=e,h=Math.round(r/a),t.height=h,t.width=r;try{void 0!==t.pixelHeight&&(t.pixelHeight=h,t.pixelWidth=r)}catch(l){}s=""+s+"px",i.style.paddingLeft=s,i.style.paddingRight=s}}},_int_imgrsz:function(t){if(void 0===t.complete||t.complete){if(void 0===t.naturalWidth||void 0===t.naturalHeight){if(void 0!==t._swfo)return;t.naturalWidth=t.width,t.naturalHeight=t.height}void 0!==t._ratio_user&&(this.ia_rat=t._ratio_user);var i=this.wdiv;if(null!=i){i-=this.hpad;var e=this.ia_rat,s=t.naturalWidth/t.naturalHeight;e>s?(t.height=Math.round(i/e),t.width=Math.round(t.height*s)):(t.width=i,t.height=Math.round(i/s))}}},resize:function(){this.d&&(this.inresize=1,this.o&&this._int_rsz(this.o),this.va_o&&this._int_rsz(this.va_o),this.ia_o&&this._int_imgrsz(this.ia_o),this.inresize=0)}};
    2121// map of symbols derived from code with copyright, MIT license,
    2222/*!
  • swfput/trunk/locale/swfput_l10n-en_US.po

    r1466344 r1884445  
    1 # swfput 3.0.8 Pot Source
     1# swfput 3.0.9 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.8\n"
     9"Project-Id-Version: swfput 3.0.9\n"
    1010"Report-Msgid-Bugs-To: edhynan@gmail.com\n"
    11 "POT-Creation-Date: 2016-08-02 13:11-0400\n"
    12 "PO-Revision-Date: 2016-08-02 13:11 EDT\n"
     11"POT-Creation-Date: 2018-05-30 14:07-0400\n"
     12"PO-Revision-Date: 2018-05-30 14:07 EDT\n"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    1414"Language-Team: LANGUAGE <LL@li.org>\n"
  • swfput/trunk/locale/swfput_l10n.pot

    r1466344 r1884445  
    1 # swfput 3.0.8 Pot Source
     1# swfput 3.0.9 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.8\n"
     9"Project-Id-Version: swfput 3.0.9\n"
    1010"Report-Msgid-Bugs-To: edhynan@gmail.com\n"
    11 "POT-Creation-Date: 2016-08-02 13:11-0400\n"
     11"POT-Creation-Date: 2018-05-30 14:07-0400\n"
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  • swfput/trunk/readme.txt

    r1670100 r1884445  
    33Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4Q2Y8ZUG8HXLC
    44Tags: video, video player, flash video, html5 video, graphics, video content
    5 Requires at least: 3.0.2
    6 Tested up to: 4.8
    7 Stable tag: 3.0.8
     5Requires at least: 4.3
     6Tested up to: 4.9
     7Stable tag: 3.0.9
    88Text Domain: swfput_l10n
    99License: GPLv3 or later
     
    163163== Frequently Asked Questions ==
    164164
     165= What are the privacy implications of using SWFPut =
     166
     167None. SWFPut does no tracking at all. No information
     168of any sort is gathered or stored or forwarded to another
     169site, or any such thing.  There is no contact made with
     170any other site(1).  These statements apply both to the
     171WordPress user, and to site visitors.
     172
     173(1) The user can provide a media URL from a 3rd party site
     174which a visitor's browser will load; this 'contact' of
     175another site is entirely up to the WordPress user or administrator.
     176
    165177= I installed SWFPut, now what? =
    166178
     
    281293
    282294== Changelog ==
     295
     296= 3.0.9 =
     297* Fix for MS Edge browser.
    283298
    284299= 3.0.8 =
     
    595610== Upgrade Notice ==
    596611
     612= 3.0.9 =
     613* Fix for MS Edge browser.
     614
    597615= 3.0.8 =
    598616* Fix new mce-view visual editor presentation with WP 4.6.
  • swfput/trunk/swfput.php

    r1466344 r1884445  
    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.8
     6Version: 3.0.9
    77Author: Ed Hynan
    88Author URI: //agalena.nfshost.com/b1/
     
    114114   
    115115    // this version
    116     const plugin_version = '3.0.8';
     116    const plugin_version = '3.0.9';
    117117   
    118118    // the widget class name
  • swfput/trunk/version.sh

    r1466344 r1884445  
    33VMAJOR=3
    44VMINOR=0
    5 RMAJOR=8
     5RMAJOR=9
    66RMINOR=0
    77
Note: See TracChangeset for help on using the changeset viewer.