Changeset 2280109
- Timestamp:
- 04/09/2020 11:02:23 AM (6 years ago)
- Location:
- dot-embed
- Files:
-
- 1 added
- 4 edited
- 4 copied
-
tags/3.2.7 (added)
-
tags/3.2.7/dot-embed-settings.php (copied) (copied from dot-embed/trunk/dot-embed-settings.php)
-
tags/3.2.7/dot-embed.php (copied) (copied from dot-embed/trunk/dot-embed.php) (2 diffs)
-
tags/3.2.7/js (copied) (copied from dot-embed/trunk/js)
-
tags/3.2.7/js/dot-embed.min.js (modified) (1 diff)
-
tags/3.2.7/readme.txt (copied) (copied from dot-embed/trunk/readme.txt) (1 diff)
-
trunk/dot-embed.php (modified) (2 diffs)
-
trunk/js/dot-embed.min.js (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
dot-embed/tags/3.2.7/dot-embed.php
r2280105 r2280109 9 9 as follows: 10 10 <code>[dotembed url="" title="" dotext="" dotid="" pageext="" pageid="" width="" height="" ratio="" loading="" loadingcolor="" gacrossdomaintracking=""]</code> 11 Version: 3.2. 611 Version: 3.2.7 12 12 Author: Pedro Figueiredo 13 13 Author URI: http://dot.vu … … 155 155 <script type="text/javascript"> 156 156 (function() { 157 window.dotEmbed && window.dotEmbed.load(document.getElementById('dot-embed-id-<?php echo esc_attr($dotembedId); ?>'), { 157 window.dotEmbed = window.dotEmbed || {} 158 window.dotEmbed.load = window.dotEmbed.load || function() { 159 window.dotEmbed.load.q = window.dotEmbed.load.q || [] 160 window.dotEmbed.load.q.push(arguments) 161 } 162 window.dotEmbed.load(document.getElementById('dot-embed-id-<?php echo esc_attr($dotembedId); ?>'), { 158 163 dotId: '<?php echo esc_attr($dotid); ?>', 159 164 pageId: '<?php echo esc_attr($pageid); ?>', -
dot-embed/tags/3.2.7/js/dot-embed.min.js
r2203325 r2280109 30 30 * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 31 31 */ 32 window.dotEmbedConfig=window.dotEmbedConfig||{},window.dotEmbed=window.dotEmbed||{},function(e ){if(window.dotEmbedConfig.iframeFix&&window.sessionStorage){var t=!1;try{t=null!==(window.navigator.userAgent.match(/iPad/i)||window.navigator.userAgent.match(/iPhone/i))}catch(e){}var n=!!document.documentMode;if(t||n){if(!sessionStorage.getItem("dot_if"))return sessionStorage.setItem("dot_if","1"),window.location="https://dot.vu/embed?target="+encodeURIComponent(window.location.href);sessionStorage.removeItem("dot_if")}}Date.now||(Date.now=function(){return(new Date).getTime()});function k(){var e,t,n,i,o=document.createElement("div"),a=document.createElement("div"),d=document.createElement("div");return a.className="dot-embed-loading",d.className="dot-embed-iframe-container",a.appendChild((e=document.createElement("div"),t=document.createElement("div"),n=document.createElement("div"),i=document.createElement("div"),e.className="spinner",t.className="bounce1",n.className="bounce2",i.className="bounce3",e.appendChild(t),e.appendChild(n),e.appendChild(i),e)),o.appendChild(a),o.appendChild(d),o}function o(e,t){if(null!==t&&"object"==typeof t)if(t.hasOwnProperty("dotId")&&t.hasOwnProperty("pageId")){var i=t.dotId,o=t.pageId;if(i&&o){var n=t.urlData||{},a=[];for(var d in n)Object.prototype.hasOwnProperty.call(n,d)&&a.push(d+"="+encodeURIComponent(n[d]));var r=t.dotExt||"_"+i,s=t.pageExt||"_"+o,l=t.customdomainlink?t.customdomainlink:"https://dot.vu/p/"+r+"/"+s+"?"+a.join("&"),c=t.gaCrossDomainTracking,m=Date.now||function(){return(new Date).getTime()};e.appendChild(k());var u=e.getElementsByClassName("dot-embed-loading")[0],p=e.getElementsByClassName("dot-embed-iframe-container")[0],g=t.height,w=t.width,b=t.ratio||!1,f="auto"===g&&!b;b&&(g="auto");var h=document.createElement("iframe");h.setAttribute("frameborder",0),h.setAttribute("width",w),h.setAttribute("height",g);h.setAttribute("allow",["camera","autoplay"].join("; ")),f&&h.setAttribute("scrolling","no"),I(i,o,"load_finished",function(){if(I(i,o,"popup_open",function(e){h.scrollIntoView()}),u.style.display="none",p.style.display="block",p.className+=" active",f){I(i,o,"height_update",function(e){e.hasOwnProperty("height")&&(p.style.height=e.height+"px",h.setAttribute("height",e.height))});function e(){var e=m();t+1e3<e&&(C(i,o,"request_height","*",{},h.contentWindow||h.contentDocument),t=e)}var t=0,n=function(){e(),setTimeout(n,1e3)};window.addEventListener("resize",e),n()}}),p.style.display="none",p.innerHTML="",p.appendChild(h);var y=function(e){h.setAttribute("src",e)};if("yes"===c){var v=40,E=200;!function t(){if(0<v)try{if(window.GoogleAnalyticsObject&&window[window.GoogleAnalyticsObject]){var e=window[window.GoogleAnalyticsObject].getAll()[0],n=new window.gaplugins.Linker(e);l=n.decorate(l),y(l)}else v--,setTimeout(t,E)}catch(e){v--,setTimeout(t,E)}else y(l)}()}else y(l)}}else console.log("dot-embed: Invalid arguments. Expected dotId and pageId, received: ",t);else console.log("dot-embed: Invalid iframe argument. Expected object, received: ",t)}var I=function(n,i,o,a){var t;t=function(e){var t=function(e,t,n,i){try{var o=JSON.parse(i);return o&&o.hasOwnProperty("dotId")&&o.dotId==e&&o.hasOwnProperty("pageId")&&o.pageId==t&&o.hasOwnProperty("event")&&o.event==n&&o}catch(e){return!1}}(n,i,o,e);if(t)return a(t.data)},window.addEventListener("message",function(e){t(e.data)})},C=function(e,t,n,i,o,a){var d,r,s;(a=a||parent)&&(d=a,r=i||"*",s=JSON.stringify({dotId:e.toString(),pageId:t,event:n,data:o}),d.postMessage(s,r))},a=".dot-embed-loading{height:80px}.dot-embed-loading .spinner{width:80px;display:block;margin:60px auto;text-align:center}.dot-embed-iframe-container{margin:0 auto;position:relative}.dot-embed-iframe-container iframe{opacity:0;visibility:hidden;transition:opacity .62s ease-in .3s}.dot-embed-iframe-container.active iframe{opacity:1;visibility:visible;transition:opacity .62s ease-in 0s,visibility 0s linear .62s}.dot-embed-loading .spinner>div{width:18px;height:18px;background-color:#595959;border-radius:100%;display:inline-block;-webkit-animation:sk-bouncedelay 1.4s infinite ease-in-out both;animation:sk-bouncedelay 1.4s infinite ease-in-out both}.dot-embed-loading .spinner .bounce1{-webkit-animation-delay:-.32s;animation-delay:-.32s}.dot-embed-loading .spinner .bounce2{-webkit-animation-delay:-.16s;animation-delay:-.16s}@-webkit-keyframes sk-bouncedelay{0%,100%,80%{-webkit-transform:scale(0)}40%{-webkit-transform:scale(1)}}@keyframes sk-bouncedelay{0%,100%,80%{-webkit-transform:scale(0);transform:scale(0)}40%{-webkit-transform:scale(1);transform:scale(1)}}",d=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");if(r.type="text/css",r.styleSheet?r.styleSheet.cssText=a:r.appendChild(document.createTextNode(a)),d.appendChild(r),e.load&&e.load.q)for(i=0;i<e.load.q.length;i++)o.apply(null,e.load.q[i]);e.load=o}(window.dotEmbed);32 window.dotEmbedConfig=window.dotEmbedConfig||{},window.dotEmbed=window.dotEmbed||{},function(e,t){if(window.dotEmbedConfig.iframeFix&&window.sessionStorage){var n=!1;try{n=null!==(window.navigator.userAgent.match(/iPad/i)||window.navigator.userAgent.match(/iPhone/i))}catch(e){}var o=!!document.documentMode;if(n||o){if(!sessionStorage.getItem("dot_if"))return sessionStorage.setItem("dot_if","1"),void(window.location="https://dot.vu/embed?target="+encodeURIComponent(window.location.href));sessionStorage.removeItem("dot_if")}}Date.now||(Date.now=function(){return(new Date).getTime()});var a=function(e,t,n,i){!function(e){window.addEventListener("message",function(t){e(t.data)})}(function(o){var a=function(e,t,n,i){try{var o=JSON.parse(i);return o&&o.hasOwnProperty("dotId")&&o.dotId==e&&o.hasOwnProperty("pageId")&&o.pageId==t&&o.hasOwnProperty("event")&&o.event==n&&o}catch(e){return!1}}(e,t,n,o);if(a)return i(a.data)})},d=function(e,t,n,i,o,a){(a=a||parent)&&function(e,t,n){e.postMessage(n,t)}(a,i||"*",JSON.stringify({dotId:e.toString(),pageId:t,event:n,data:o}))},s=function(){var e,t,n,i,o=document.createElement("div"),a=document.createElement("div"),d=document.createElement("div");return a.className="dot-embed-loading",d.className="dot-embed-iframe-container",a.appendChild((e=document.createElement("div"),t=document.createElement("div"),n=document.createElement("div"),i=document.createElement("div"),e.className="spinner",t.className="bounce1",n.className="bounce2",i.className="bounce3",e.appendChild(t),e.appendChild(n),e.appendChild(i),e)),o.appendChild(a),o.appendChild(d),o},r=function(e,t){if(null!==t&&"object"==typeof t)if(t.hasOwnProperty("dotId")&&t.hasOwnProperty("pageId")){var n=t.dotId,i=t.pageId;if(n&&i){var o=t.urlData||{},r=[];for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&r.push(l+"="+encodeURIComponent(o[l]));var c=t.dotExt||"_"+n,m=t.pageExt||"_"+i,u=t.customdomainlink?t.customdomainlink:"https://dot.vu/p/"+c+"/"+m+"?"+r.join("&"),p=t.gaCrossDomainTracking,g=Date.now||function(){return(new Date).getTime()};e.appendChild(s());var h=e.getElementsByClassName("dot-embed-loading")[0],w=e.getElementsByClassName("dot-embed-iframe-container")[0],f=t.height,b=t.width,y=t.ratio||!1,v="auto"===f&&!y;y&&(f="auto");var E=function(e){return parseFloat(e)+""!=e+""},k=document.createElement("iframe");k.setAttribute("frameborder",0),k.setAttribute("width",b),k.setAttribute("height",f),E(b)||(b+="px"),E(f)||(f+="px"),k.style.width=b,k.style.height=f;k.setAttribute("allow",["camera","autoplay"].join("; ")),v&&k.setAttribute("scrolling","no"),a(n,i,"load_finished",function(){if(a(n,i,"popup_open",function(e){k.scrollIntoView()}),h.style.display="none",w.style.display="block",w.className+=" active",v){a(n,i,"height_update",function(e){e.hasOwnProperty("height")&&(w.style.height=e.height+"px",k.style.height=e.height+"px",k.setAttribute("height",e.height))});var e=0,t=function(){var t=g();e+1e3<t&&(d(n,i,"request_height","*",{},k.contentWindow||k.contentDocument),e=t)},o=function(){t(),setTimeout(o,1e3)};window.addEventListener("resize",t),o()}}),w.style.display="none",w.innerHTML="",w.appendChild(k);var I=function(e){k.setAttribute("src",e)};if("yes"===p){var x=40,C=200;!function e(){if(x>0)try{if(window.GoogleAnalyticsObject&&window[window.GoogleAnalyticsObject]){var t=window[window.GoogleAnalyticsObject].getAll()[0],n=new window.gaplugins.Linker(t);u=n.decorate(u),I(u)}else x--,setTimeout(e,C)}catch(t){x--,setTimeout(e,C)}else I(u)}()}else I(u)}}else console.log("dot-embed: Invalid arguments. Expected dotId and pageId, received: ",t);else console.log("dot-embed: Invalid iframe argument. Expected object, received: ",t)},l=".dot-embed-loading{height:80px}.dot-embed-loading .spinner{width:80px;display:block;margin:60px auto;text-align:center}.dot-embed-iframe-container{margin:0 auto;position:relative}.dot-embed-iframe-container iframe{opacity:0;visibility:hidden;transition:opacity .62s ease-in .3s}.dot-embed-iframe-container.active iframe{opacity:1;visibility:visible;transition:opacity .62s ease-in 0s,visibility 0s linear .62s}.dot-embed-loading .spinner>div{width:18px;height:18px;background-color:#595959;border-radius:100%;display:inline-block;-webkit-animation:sk-bouncedelay 1.4s infinite ease-in-out both;animation:sk-bouncedelay 1.4s infinite ease-in-out both}.dot-embed-loading .spinner .bounce1{-webkit-animation-delay:-.32s;animation-delay:-.32s}.dot-embed-loading .spinner .bounce2{-webkit-animation-delay:-.16s;animation-delay:-.16s}@-webkit-keyframes sk-bouncedelay{0%,100%,80%{-webkit-transform:scale(0)}40%{-webkit-transform:scale(1)}}@keyframes sk-bouncedelay{0%,100%,80%{-webkit-transform:scale(0);transform:scale(0)}40%{-webkit-transform:scale(1);transform:scale(1)}}",c=document.head||document.getElementsByTagName("head")[0],m=document.createElement("style");if(m.type="text/css",m.styleSheet?m.styleSheet.cssText=l:m.appendChild(document.createTextNode(l)),c.appendChild(m),e.load&&e.load.q)for(i=0;i<e.load.q.length;i++)r.apply(null,e.load.q[i]);e.load=r}(window.dotEmbed); -
dot-embed/tags/3.2.7/readme.txt
r2280105 r2280109 3 3 Tags: interactivity, interactive content, interactive campaign, marketing, marketing app, content marketing, dot, embed, product finder, interactive conversation, assessment, calculator, configurator, quiz, interactive video, marketing games, sweepstake, contest, lead generation, permission capture 4 4 Requires at least: 4.4.2 5 Tested up to: 5. 2.45 Tested up to: 5.3.2 6 6 Requires PHP: 5.6 7 Stable tag: 3.2. 67 Stable tag: 3.2.7 8 8 License: GPLv3 or later 9 9 License URI: http://www.gnu.org/licenses/gpl.html -
dot-embed/trunk/dot-embed.php
r2203325 r2280109 9 9 as follows: 10 10 <code>[dotembed url="" title="" dotext="" dotid="" pageext="" pageid="" width="" height="" ratio="" loading="" loadingcolor="" gacrossdomaintracking=""]</code> 11 Version: 3.2. 611 Version: 3.2.7 12 12 Author: Pedro Figueiredo 13 13 Author URI: http://dot.vu … … 155 155 <script type="text/javascript"> 156 156 (function() { 157 window.dotEmbed && window.dotEmbed.load(document.getElementById('dot-embed-id-<?php echo esc_attr($dotembedId); ?>'), { 157 window.dotEmbed = window.dotEmbed || {} 158 window.dotEmbed.load = window.dotEmbed.load || function() { 159 window.dotEmbed.load.q = window.dotEmbed.load.q || [] 160 window.dotEmbed.load.q.push(arguments) 161 } 162 window.dotEmbed.load(document.getElementById('dot-embed-id-<?php echo esc_attr($dotembedId); ?>'), { 158 163 dotId: '<?php echo esc_attr($dotid); ?>', 159 164 pageId: '<?php echo esc_attr($pageid); ?>', -
dot-embed/trunk/js/dot-embed.min.js
r2203325 r2280109 30 30 * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 31 31 */ 32 window.dotEmbedConfig=window.dotEmbedConfig||{},window.dotEmbed=window.dotEmbed||{},function(e ){if(window.dotEmbedConfig.iframeFix&&window.sessionStorage){var t=!1;try{t=null!==(window.navigator.userAgent.match(/iPad/i)||window.navigator.userAgent.match(/iPhone/i))}catch(e){}var n=!!document.documentMode;if(t||n){if(!sessionStorage.getItem("dot_if"))return sessionStorage.setItem("dot_if","1"),window.location="https://dot.vu/embed?target="+encodeURIComponent(window.location.href);sessionStorage.removeItem("dot_if")}}Date.now||(Date.now=function(){return(new Date).getTime()});function k(){var e,t,n,i,o=document.createElement("div"),a=document.createElement("div"),d=document.createElement("div");return a.className="dot-embed-loading",d.className="dot-embed-iframe-container",a.appendChild((e=document.createElement("div"),t=document.createElement("div"),n=document.createElement("div"),i=document.createElement("div"),e.className="spinner",t.className="bounce1",n.className="bounce2",i.className="bounce3",e.appendChild(t),e.appendChild(n),e.appendChild(i),e)),o.appendChild(a),o.appendChild(d),o}function o(e,t){if(null!==t&&"object"==typeof t)if(t.hasOwnProperty("dotId")&&t.hasOwnProperty("pageId")){var i=t.dotId,o=t.pageId;if(i&&o){var n=t.urlData||{},a=[];for(var d in n)Object.prototype.hasOwnProperty.call(n,d)&&a.push(d+"="+encodeURIComponent(n[d]));var r=t.dotExt||"_"+i,s=t.pageExt||"_"+o,l=t.customdomainlink?t.customdomainlink:"https://dot.vu/p/"+r+"/"+s+"?"+a.join("&"),c=t.gaCrossDomainTracking,m=Date.now||function(){return(new Date).getTime()};e.appendChild(k());var u=e.getElementsByClassName("dot-embed-loading")[0],p=e.getElementsByClassName("dot-embed-iframe-container")[0],g=t.height,w=t.width,b=t.ratio||!1,f="auto"===g&&!b;b&&(g="auto");var h=document.createElement("iframe");h.setAttribute("frameborder",0),h.setAttribute("width",w),h.setAttribute("height",g);h.setAttribute("allow",["camera","autoplay"].join("; ")),f&&h.setAttribute("scrolling","no"),I(i,o,"load_finished",function(){if(I(i,o,"popup_open",function(e){h.scrollIntoView()}),u.style.display="none",p.style.display="block",p.className+=" active",f){I(i,o,"height_update",function(e){e.hasOwnProperty("height")&&(p.style.height=e.height+"px",h.setAttribute("height",e.height))});function e(){var e=m();t+1e3<e&&(C(i,o,"request_height","*",{},h.contentWindow||h.contentDocument),t=e)}var t=0,n=function(){e(),setTimeout(n,1e3)};window.addEventListener("resize",e),n()}}),p.style.display="none",p.innerHTML="",p.appendChild(h);var y=function(e){h.setAttribute("src",e)};if("yes"===c){var v=40,E=200;!function t(){if(0<v)try{if(window.GoogleAnalyticsObject&&window[window.GoogleAnalyticsObject]){var e=window[window.GoogleAnalyticsObject].getAll()[0],n=new window.gaplugins.Linker(e);l=n.decorate(l),y(l)}else v--,setTimeout(t,E)}catch(e){v--,setTimeout(t,E)}else y(l)}()}else y(l)}}else console.log("dot-embed: Invalid arguments. Expected dotId and pageId, received: ",t);else console.log("dot-embed: Invalid iframe argument. Expected object, received: ",t)}var I=function(n,i,o,a){var t;t=function(e){var t=function(e,t,n,i){try{var o=JSON.parse(i);return o&&o.hasOwnProperty("dotId")&&o.dotId==e&&o.hasOwnProperty("pageId")&&o.pageId==t&&o.hasOwnProperty("event")&&o.event==n&&o}catch(e){return!1}}(n,i,o,e);if(t)return a(t.data)},window.addEventListener("message",function(e){t(e.data)})},C=function(e,t,n,i,o,a){var d,r,s;(a=a||parent)&&(d=a,r=i||"*",s=JSON.stringify({dotId:e.toString(),pageId:t,event:n,data:o}),d.postMessage(s,r))},a=".dot-embed-loading{height:80px}.dot-embed-loading .spinner{width:80px;display:block;margin:60px auto;text-align:center}.dot-embed-iframe-container{margin:0 auto;position:relative}.dot-embed-iframe-container iframe{opacity:0;visibility:hidden;transition:opacity .62s ease-in .3s}.dot-embed-iframe-container.active iframe{opacity:1;visibility:visible;transition:opacity .62s ease-in 0s,visibility 0s linear .62s}.dot-embed-loading .spinner>div{width:18px;height:18px;background-color:#595959;border-radius:100%;display:inline-block;-webkit-animation:sk-bouncedelay 1.4s infinite ease-in-out both;animation:sk-bouncedelay 1.4s infinite ease-in-out both}.dot-embed-loading .spinner .bounce1{-webkit-animation-delay:-.32s;animation-delay:-.32s}.dot-embed-loading .spinner .bounce2{-webkit-animation-delay:-.16s;animation-delay:-.16s}@-webkit-keyframes sk-bouncedelay{0%,100%,80%{-webkit-transform:scale(0)}40%{-webkit-transform:scale(1)}}@keyframes sk-bouncedelay{0%,100%,80%{-webkit-transform:scale(0);transform:scale(0)}40%{-webkit-transform:scale(1);transform:scale(1)}}",d=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");if(r.type="text/css",r.styleSheet?r.styleSheet.cssText=a:r.appendChild(document.createTextNode(a)),d.appendChild(r),e.load&&e.load.q)for(i=0;i<e.load.q.length;i++)o.apply(null,e.load.q[i]);e.load=o}(window.dotEmbed);32 window.dotEmbedConfig=window.dotEmbedConfig||{},window.dotEmbed=window.dotEmbed||{},function(e,t){if(window.dotEmbedConfig.iframeFix&&window.sessionStorage){var n=!1;try{n=null!==(window.navigator.userAgent.match(/iPad/i)||window.navigator.userAgent.match(/iPhone/i))}catch(e){}var o=!!document.documentMode;if(n||o){if(!sessionStorage.getItem("dot_if"))return sessionStorage.setItem("dot_if","1"),void(window.location="https://dot.vu/embed?target="+encodeURIComponent(window.location.href));sessionStorage.removeItem("dot_if")}}Date.now||(Date.now=function(){return(new Date).getTime()});var a=function(e,t,n,i){!function(e){window.addEventListener("message",function(t){e(t.data)})}(function(o){var a=function(e,t,n,i){try{var o=JSON.parse(i);return o&&o.hasOwnProperty("dotId")&&o.dotId==e&&o.hasOwnProperty("pageId")&&o.pageId==t&&o.hasOwnProperty("event")&&o.event==n&&o}catch(e){return!1}}(e,t,n,o);if(a)return i(a.data)})},d=function(e,t,n,i,o,a){(a=a||parent)&&function(e,t,n){e.postMessage(n,t)}(a,i||"*",JSON.stringify({dotId:e.toString(),pageId:t,event:n,data:o}))},s=function(){var e,t,n,i,o=document.createElement("div"),a=document.createElement("div"),d=document.createElement("div");return a.className="dot-embed-loading",d.className="dot-embed-iframe-container",a.appendChild((e=document.createElement("div"),t=document.createElement("div"),n=document.createElement("div"),i=document.createElement("div"),e.className="spinner",t.className="bounce1",n.className="bounce2",i.className="bounce3",e.appendChild(t),e.appendChild(n),e.appendChild(i),e)),o.appendChild(a),o.appendChild(d),o},r=function(e,t){if(null!==t&&"object"==typeof t)if(t.hasOwnProperty("dotId")&&t.hasOwnProperty("pageId")){var n=t.dotId,i=t.pageId;if(n&&i){var o=t.urlData||{},r=[];for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&r.push(l+"="+encodeURIComponent(o[l]));var c=t.dotExt||"_"+n,m=t.pageExt||"_"+i,u=t.customdomainlink?t.customdomainlink:"https://dot.vu/p/"+c+"/"+m+"?"+r.join("&"),p=t.gaCrossDomainTracking,g=Date.now||function(){return(new Date).getTime()};e.appendChild(s());var h=e.getElementsByClassName("dot-embed-loading")[0],w=e.getElementsByClassName("dot-embed-iframe-container")[0],f=t.height,b=t.width,y=t.ratio||!1,v="auto"===f&&!y;y&&(f="auto");var E=function(e){return parseFloat(e)+""!=e+""},k=document.createElement("iframe");k.setAttribute("frameborder",0),k.setAttribute("width",b),k.setAttribute("height",f),E(b)||(b+="px"),E(f)||(f+="px"),k.style.width=b,k.style.height=f;k.setAttribute("allow",["camera","autoplay"].join("; ")),v&&k.setAttribute("scrolling","no"),a(n,i,"load_finished",function(){if(a(n,i,"popup_open",function(e){k.scrollIntoView()}),h.style.display="none",w.style.display="block",w.className+=" active",v){a(n,i,"height_update",function(e){e.hasOwnProperty("height")&&(w.style.height=e.height+"px",k.style.height=e.height+"px",k.setAttribute("height",e.height))});var e=0,t=function(){var t=g();e+1e3<t&&(d(n,i,"request_height","*",{},k.contentWindow||k.contentDocument),e=t)},o=function(){t(),setTimeout(o,1e3)};window.addEventListener("resize",t),o()}}),w.style.display="none",w.innerHTML="",w.appendChild(k);var I=function(e){k.setAttribute("src",e)};if("yes"===p){var x=40,C=200;!function e(){if(x>0)try{if(window.GoogleAnalyticsObject&&window[window.GoogleAnalyticsObject]){var t=window[window.GoogleAnalyticsObject].getAll()[0],n=new window.gaplugins.Linker(t);u=n.decorate(u),I(u)}else x--,setTimeout(e,C)}catch(t){x--,setTimeout(e,C)}else I(u)}()}else I(u)}}else console.log("dot-embed: Invalid arguments. Expected dotId and pageId, received: ",t);else console.log("dot-embed: Invalid iframe argument. Expected object, received: ",t)},l=".dot-embed-loading{height:80px}.dot-embed-loading .spinner{width:80px;display:block;margin:60px auto;text-align:center}.dot-embed-iframe-container{margin:0 auto;position:relative}.dot-embed-iframe-container iframe{opacity:0;visibility:hidden;transition:opacity .62s ease-in .3s}.dot-embed-iframe-container.active iframe{opacity:1;visibility:visible;transition:opacity .62s ease-in 0s,visibility 0s linear .62s}.dot-embed-loading .spinner>div{width:18px;height:18px;background-color:#595959;border-radius:100%;display:inline-block;-webkit-animation:sk-bouncedelay 1.4s infinite ease-in-out both;animation:sk-bouncedelay 1.4s infinite ease-in-out both}.dot-embed-loading .spinner .bounce1{-webkit-animation-delay:-.32s;animation-delay:-.32s}.dot-embed-loading .spinner .bounce2{-webkit-animation-delay:-.16s;animation-delay:-.16s}@-webkit-keyframes sk-bouncedelay{0%,100%,80%{-webkit-transform:scale(0)}40%{-webkit-transform:scale(1)}}@keyframes sk-bouncedelay{0%,100%,80%{-webkit-transform:scale(0);transform:scale(0)}40%{-webkit-transform:scale(1);transform:scale(1)}}",c=document.head||document.getElementsByTagName("head")[0],m=document.createElement("style");if(m.type="text/css",m.styleSheet?m.styleSheet.cssText=l:m.appendChild(document.createTextNode(l)),c.appendChild(m),e.load&&e.load.q)for(i=0;i<e.load.q.length;i++)r.apply(null,e.load.q[i]);e.load=r}(window.dotEmbed); -
dot-embed/trunk/readme.txt
r2203325 r2280109 3 3 Tags: interactivity, interactive content, interactive campaign, marketing, marketing app, content marketing, dot, embed, product finder, interactive conversation, assessment, calculator, configurator, quiz, interactive video, marketing games, sweepstake, contest, lead generation, permission capture 4 4 Requires at least: 4.4.2 5 Tested up to: 5. 2.45 Tested up to: 5.3.2 6 6 Requires PHP: 5.6 7 Stable tag: 3.2. 67 Stable tag: 3.2.7 8 8 License: GPLv3 or later 9 9 License URI: http://www.gnu.org/licenses/gpl.html
Note: See TracChangeset
for help on using the changeset viewer.