Version Description
Requires BuddyPress 1.7 or higher, if using BuddyPress. Fix audio/video height and fullscreen issue.
=
Download this release
Release Info
Developer | mangeshp |
Plugin | rtMedia for WordPress, BuddyPress and bbPress |
Version | 4.1.4 |
Comparing to | |
See all releases |
Code changes from version 4.1.3 to 4.1.4
- app/assets/js/rtMedia.js +1 -1
- app/assets/js/rtmedia.min.js +1 -1
- app/helper/RTMediaAddon.php +2 -2
- app/main/controllers/media/RTMediaTags.php +1 -0
- app/main/controllers/template/rt-template-functions.php +56 -5
- index.php +1 -1
- languages/buddypress-media.po +172 -172
- readme.txt +11 -6
app/assets/js/rtMedia.js
CHANGED
@@ -413,7 +413,7 @@ jQuery( 'document' ).ready( function ( $ ) {
|
|
413 |
|
414 |
rtmedia_disable_popup_navigation_comment_focus();
|
415 |
var height = $( window ).height();
|
416 |
-
jQuery( '.rtm-lightbox-container .mejs-video' ).css( { 'height': height * 0.8, '
|
417 |
jQuery( '.mfp-content .rtmedia-media' ).css( { 'max-height': height * 0.87, 'over-flow': 'hidden' } );
|
418 |
//mejs-video
|
419 |
//init the options dropdown menu
|
413 |
|
414 |
rtmedia_disable_popup_navigation_comment_focus();
|
415 |
var height = $( window ).height();
|
416 |
+
jQuery( '.rtm-lightbox-container .mejs-video' ).css( { 'height': height * 0.8, 'over-flow': 'hidden' } );
|
417 |
jQuery( '.mfp-content .rtmedia-media' ).css( { 'max-height': height * 0.87, 'over-flow': 'hidden' } );
|
418 |
//mejs-video
|
419 |
//init the options dropdown menu
|
app/assets/js/rtmedia.min.js
CHANGED
@@ -3,4 +3,4 @@
|
|
3 |
* @package rtMedia
|
4 |
*/
|
5 |
function apply_rtMagnificPopup(a){jQuery("document").ready(function(b){var c="";c="undefined"==typeof rtmedia_load_more?"Loading media":rtmedia_load_more,"undefined"!=typeof rtmedia_lightbox_enabled&&"1"==rtmedia_lightbox_enabled&&(b(".activity-item .rtmedia-activity-container .rtmedia-list-item > a").siblings("p").children("a").length>0&&b(".activity-item .rtmedia-activity-container .rtmedia-list-item > a").siblings("p").children("a").addClass("no-popup"),rtMagnificPopup=jQuery(a).magnificPopup({delegate:"a:not(.no-popup, .mejs-time-slider, .mejs-volume-slider, .mejs-horizontal-volume-slider)",type:"ajax",tLoading:c+" #%curr%...",mainClass:"mfp-img-mobile",preload:[1,3],closeOnBgClick:!0,gallery:{enabled:!0,navigateByImgClick:!0,arrowMarkup:"",preload:[0,1]},image:{tError:'<a href="%url%">The image #%curr%</a> could not be loaded.',titleSrc:function(a){return a.el.attr("title")+"<small>by Marsel Van Oosten</small>"}},callbacks:{ajaxContentAdded:function(){a=jQuery.magnificPopup.instance,1===jQuery(a.items).size()&&jQuery(".mfp-arrow").remove();var a=jQuery.magnificPopup.instance,c=a.currItem.el,d=c.parent();if(d.is("li")||(d=d.parent()),d.is(":nth-last-child(2)")||d.is(":last-child")){d.next();"block"==jQuery("#rtMedia-galary-next").css("display")&&jQuery("#rtMedia-galary-next").click()}var e=a.items.length;if(a.index==e-1&&!d.is(":last-child"))return void c.click();var f={};"undefined"!=typeof _wpmejsSettings&&(f.pluginPath=_wpmejsSettings.pluginPath),b(".mfp-content .wp-audio-shortcode,.mfp-content .wp-video-shortcode,.mfp-content .bp_media_content video").mediaelementplayer({defaultVideoWidth:480,defaultVideoHeight:270,success:function(a,b){a.play()}}),b(".mfp-content .mejs-audio .mejs-controls").css("position","relative"),rtMediaHook.call("rtmedia_js_popup_after_content_added",[])},close:function(a){rtmedia_init_action_dropdown()},BeforeChange:function(a){}}}))})}function rtmedia_init_action_dropdown(){var a,b;jQuery(".click-nav > span, .click-nav > div").toggleClass("no-js js"),jQuery(".click-nav .js ul").hide(),jQuery(".click-nav .clicker").click(function(c){a=jQuery("#rtm-media-options .click-nav .clicker").next("ul"),b=jQuery(this).next("ul"),jQuery.each(a,function(a,c){jQuery(c).html()!=b.html()&&jQuery(c).hide()}),jQuery(b).toggle(),c.stopPropagation()})}function bp_media_create_element(a){return!1}function rtmedia_version_compare(a,b){if(typeof a+typeof b!="stringstring")return!1;for(var c=a.split("."),d=b.split("."),e=0,f=Math.max(c.length,d.length);e<f;e++){if(c[e]&&!d[e]&&parseInt(c[e])>0||parseInt(c[e])>parseInt(d[e]))return!0;if(d[e]&&!c[e]&&parseInt(d[e])>0||parseInt(c[e])<parseInt(d[e]))return!1}return!0}function rtm_is_element_exist(a){return jQuery(a).length>0}function rtm_masonry_reload(a){setTimeout(function(){a.masonry("reload")},250)}function rtmediaGetParameterByName(a){a=a.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var b=new RegExp("[\\?&]"+a+"=([^&#]*)"),c=b.exec(location.search);return null==c?"":decodeURIComponent(c[1].replace(/\+/g," "))}function rtmedia_single_media_alert_message(a,b){var c="rtmedia-success";"warning"==b&&(c="rtmedia-warning"),jQuery(".rtmedia-single-media .rtmedia-media").css("opacity","0.2"),jQuery(".rtmedia-single-media .rtmedia-media").after("<div class='rtmedia-message-container'><span class='"+c+"'>"+a+" </span></div>"),setTimeout(function(){jQuery(".rtmedia-single-media .rtmedia-media").css("opacity","1"),jQuery(".rtmedia-message-container").remove()},3e3),jQuery(".rtmedia-message-container").click(function(){jQuery(".rtmedia-single-media .rtmedia-media").css("opacity","1"),jQuery(".rtmedia-message-container").remove()})}function rtmedia_gallery_action_alert_message(a,b){var c="rtmedia-success";"warning"==b&&(c="rtmedia-warning");var d='<div class="rtmedia-gallery-alert-container"> </div>';jQuery("body").append(d),jQuery(".rtmedia-gallery-alert-container").append("<div class='rtmedia-gallery-message-box'><span class='"+c+"'>"+a+" </span></div>"),setTimeout(function(){jQuery(".rtmedia-gallery-alert-container").remove()},3e3),jQuery(".rtmedia-gallery-message-box").click(function(){jQuery(".rtmedia-gallery-alert-container").remove()})}!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(a){var b,c,d,e,f,g,h="Close",i="BeforeClose",j="AfterClose",k="BeforeAppend",l="MarkupParse",m="Open",n="Change",o="mfp",p="."+o,q="mfp-ready",r="mfp-removing",s="mfp-prevent-close",t=function(){},u=!!window.jQuery,v=a(window),w=function(a,c){b.ev.on(o+a+p,c)},x=function(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},y=function(c,d){b.ev.triggerHandler(o+c,d),b.st.callbacks&&(c=c.charAt(0).toLowerCase()+c.slice(1),b.st.callbacks[c]&&b.st.callbacks[c].apply(b,a.isArray(d)?d:[d]))},z=function(c){return c===g&&b.currTemplate.closeBtn||(b.currTemplate.closeBtn=a(b.st.closeMarkup.replace("%title%",b.st.tClose)),g=c),b.currTemplate.closeBtn},A=function(){a.magnificPopup.instance||(b=new t,b.init(),a.magnificPopup.instance=b)},B=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(void 0!==a.transition)return!0;for(;b.length;)if(b.pop()+"Transition"in a)return!0;return!1};t.prototype={constructor:t,init:function(){var c=navigator.appVersion;b.isIE7=c.indexOf("MSIE 7.")!==-1,b.isIE8=c.indexOf("MSIE 8.")!==-1,b.isLowIE=b.isIE7||b.isIE8,b.isAndroid=/android/gi.test(c),b.isIOS=/iphone|ipad|ipod/gi.test(c),b.supportsTransition=B(),b.probablyMobile=b.isAndroid||b.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),d=a(document),b.popupsCache={}},open:function(c){var e;if(c.isObj===!1){b.items=c.items.toArray(),b.index=0;var g,h=c.items;for(e=0;e<h.length;e++)if(g=h[e],g.parsed&&(g=g.el[0]),g===c.el[0]){b.index=e;break}}else b.items=a.isArray(c.items)?c.items:[c.items],b.index=c.index||0;if(b.isOpen)return void b.updateItemHTML();b.types=[],f="",c.mainEl&&c.mainEl.length?b.ev=c.mainEl.eq(0):b.ev=d,c.key?(b.popupsCache[c.key]||(b.popupsCache[c.key]={}),b.currTemplate=b.popupsCache[c.key]):b.currTemplate={},b.st=a.extend(!0,{},a.magnificPopup.defaults,c),b.fixedContentPos="auto"===b.st.fixedContentPos?!b.probablyMobile:b.st.fixedContentPos,b.st.modal&&(b.st.closeOnContentClick=!1,b.st.closeOnBgClick=!1,b.st.showCloseBtn=!1,b.st.enableEscapeKey=!1),b.bgOverlay||(b.bgOverlay=x("bg").on("click"+p,function(){b.close()}),b.wrap=x("wrap").attr("tabindex",-1).on("click"+p,function(a){b._checkIfClose(a.target)&&b.close()}),b.container=x("container",b.wrap)),b.contentContainer=x("content"),b.st.preloader&&(b.preloader=x("preloader",b.container,b.st.tLoading));var i=a.magnificPopup.modules;for(e=0;e<i.length;e++){var j=i[e];j=j.charAt(0).toUpperCase()+j.slice(1),b["init"+j].call(b)}y("BeforeOpen"),b.st.showCloseBtn&&(b.st.closeBtnInside?(w(l,function(a,b,c,d){c.close_replaceWith=z(d.type)}),f+=" mfp-close-btn-in"):b.wrap.append(z())),b.st.alignTop&&(f+=" mfp-align-top"),b.fixedContentPos?b.wrap.css({overflow:b.st.overflowY,overflowX:"hidden",overflowY:b.st.overflowY}):b.wrap.css({top:v.scrollTop(),position:"absolute"}),(b.st.fixedBgPos===!1||"auto"===b.st.fixedBgPos&&!b.fixedContentPos)&&b.bgOverlay.css({height:d.height(),position:"absolute"}),b.st.enableEscapeKey&&d.on("keyup"+p,function(a){27===a.keyCode&&b.close()}),v.on("resize"+p,function(){b.updateSize()}),b.st.closeOnContentClick||(f+=" mfp-auto-cursor"),f&&b.wrap.addClass(f);var k=b.wH=v.height(),n={};if(b.fixedContentPos&&b._hasScrollBar(k)){var o=b._getScrollbarSize();o&&(n.marginRight=o)}b.fixedContentPos&&(b.isIE7?a("body, html").css("overflow","hidden"):n.overflow="hidden");var r=b.st.mainClass;return b.isIE7&&(r+=" mfp-ie7"),r&&b._addClassToMFP(r),b.updateItemHTML(),y("BuildControls"),a("html").css(n),b.bgOverlay.add(b.wrap).prependTo(b.st.prependTo||a(document.body)),b._lastFocusedEl=document.activeElement,setTimeout(function(){b.content?(b._addClassToMFP(q),b._setFocus()):b.bgOverlay.addClass(q),d.on("focusin"+p,b._onFocusIn)},16),b.isOpen=!0,b.updateSize(k),y(m),c},close:function(){b.isOpen&&(y(i),b.isOpen=!1,b.st.removalDelay&&!b.isLowIE&&b.supportsTransition?(b._addClassToMFP(r),setTimeout(function(){b._close()},b.st.removalDelay)):b._close())},_close:function(){y(h);var c=r+" "+q+" ";if(b.bgOverlay.detach(),b.wrap.detach(),b.container.empty(),b.st.mainClass&&(c+=b.st.mainClass+" "),b._removeClassFromMFP(c),b.fixedContentPos){var e={marginRight:""};b.isIE7?a("body, html").css("overflow",""):e.overflow="",a("html").css(e)}d.off("keyup"+p+" focusin"+p),b.ev.off(p),b.wrap.attr("class","mfp-wrap").removeAttr("style"),b.bgOverlay.attr("class","mfp-bg"),b.container.attr("class","mfp-container"),!b.st.showCloseBtn||b.st.closeBtnInside&&b.currTemplate[b.currItem.type]!==!0||b.currTemplate.closeBtn&&b.currTemplate.closeBtn.detach(),b._lastFocusedEl&&a(b._lastFocusedEl).focus(),b.currItem=null,b.content=null,b.currTemplate=null,b.prevHeight=0,y(j)},updateSize:function(a){if(b.isIOS){var c=document.documentElement.clientWidth/window.innerWidth,d=window.innerHeight*c;b.wrap.css("height",d),b.wH=d}else b.wH=a||v.height();b.fixedContentPos||b.wrap.css("height",b.wH),y("Resize")},updateItemHTML:function(){var c=b.items[b.index];b.contentContainer.detach(),b.content&&b.content.detach(),c.parsed||(c=b.parseEl(b.index));var d=c.type;if(y("BeforeChange",[b.currItem?b.currItem.type:"",d]),b.currItem=c,!b.currTemplate[d]){var f=!!b.st[d]&&b.st[d].markup;y("FirstMarkupParse",f),f?b.currTemplate[d]=a(f):b.currTemplate[d]=!0}e&&e!==c.type&&b.container.removeClass("mfp-"+e+"-holder");var g=b["get"+d.charAt(0).toUpperCase()+d.slice(1)](c,b.currTemplate[d]);b.appendContent(g,d),c.preloaded=!0,y(n,c),e=c.type,b.container.prepend(b.contentContainer),y("AfterChange")},appendContent:function(a,c){b.content=a,a?b.st.showCloseBtn&&b.st.closeBtnInside&&b.currTemplate[c]===!0?b.content.find(".mfp-close").length||b.content.append(z()):b.content=a:b.content="",y(k),b.container.addClass("mfp-"+c+"-holder"),b.contentContainer.append(b.content)},parseEl:function(c){var d,e=b.items[c];if(e.tagName?e={el:a(e)}:(d=e.type,e={data:e,src:e.src}),e.el){for(var f=b.types,g=0;g<f.length;g++)if(e.el.hasClass("mfp-"+f[g])){d=f[g];break}e.src=e.el.attr("data-mfp-src"),e.src||(e.src=e.el.attr("href"))}return e.type=d||b.st.type||"inline",e.index=c,e.parsed=!0,b.items[c]=e,y("ElementParse",e),b.items[c]},addGroup:function(a,c){var d=function(d){d.mfpEl=this,b._openClick(d,a,c)};c||(c={});var e="click.magnificPopup";c.mainEl=a,c.items?(c.isObj=!0,a.off(e).on(e,d)):(c.isObj=!1,c.delegate?a.off(e).on(e,c.delegate,d):(c.items=a,a.off(e).on(e,d)))},_openClick:function(c,d,e){var f=void 0!==e.midClick?e.midClick:a.magnificPopup.defaults.midClick;if(f||2!==c.which&&!c.ctrlKey&&!c.metaKey){var g=void 0!==e.disableOn?e.disableOn:a.magnificPopup.defaults.disableOn;if(g)if(a.isFunction(g)){if(!g.call(b))return!0}else if(v.width()<g)return!0;c.type&&(c.preventDefault(),b.isOpen&&c.stopPropagation()),e.el=a(c.mfpEl),e.delegate&&(e.items=d.find(e.delegate)),b.open(e)}},updateStatus:function(a,d){if(b.preloader){c!==a&&b.container.removeClass("mfp-s-"+c),d||"loading"!==a||(d=b.st.tLoading);var e={status:a,text:d};y("UpdateStatus",e),a=e.status,d=e.text,b.preloader.html(d),b.preloader.find("a").on("click",function(a){a.stopImmediatePropagation()}),b.container.addClass("mfp-s-"+a),c=a}},_checkIfClose:function(c){if(!a(c).hasClass(s)){var d=b.st.closeOnContentClick,e=b.st.closeOnBgClick;if(d&&e)return!0;if(!b.content||a(c).hasClass("mfp-close")||b.preloader&&c===b.preloader[0])return!0;if(c===b.content[0]||a.contains(b.content[0],c)){if(d)return!0}else if(e&&a.contains(document,c))return!0;return!1}},_addClassToMFP:function(a){b.bgOverlay.addClass(a),b.wrap.addClass(a)},_removeClassFromMFP:function(a){this.bgOverlay.removeClass(a),b.wrap.removeClass(a)},_hasScrollBar:function(a){return(b.isIE7?d.height():document.body.scrollHeight)>(a||v.height())},_setFocus:function(){(b.st.focus?b.content.find(b.st.focus).eq(0):b.wrap).focus()},_onFocusIn:function(c){if(c.target!==b.wrap[0]&&!a.contains(b.wrap[0],c.target))return b._setFocus(),!1},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),y(l,[b,c,d]),a.each(c,function(a,c){if(void 0===c||c===!1)return!0;if(e=a.split("_"),e.length>1){var d=b.find(p+"-"+e[0]);if(d.length>0){var f=e[1];"replaceWith"===f?d[0]!==c[0]&&d.replaceWith(c):"img"===f?d.is("img")?d.attr("src",c):d.replaceWith('<img src="'+c+'" class="'+d.attr("class")+'" />'):d.attr(e[1],c)}}else b.find(p+"-"+a).html(c)})},_getScrollbarSize:function(){if(void 0===b.scrollbarSize){var a=document.createElement("div");a.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),b.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return b.scrollbarSize}},a.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(b,c){return A(),b=b?a.extend(!0,{},b):{},b.isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">×</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},a.fn.magnificPopup=function(c){A();var d=a(this);if("string"==typeof c)if("open"===c){var e,f=u?d.data("magnificPopup"):d[0].magnificPopup,g=parseInt(arguments[1],10)||0;f.items?e=f.items[g]:(e=d,f.delegate&&(e=e.find(f.delegate)),e=e.eq(g)),b._openClick({mfpEl:e},d,f)}else b.isOpen&&b[c].apply(b,Array.prototype.slice.call(arguments,1));else c=a.extend(!0,{},c),u?d.data("magnificPopup",c):d[0].magnificPopup=c,b.addGroup(d,c);return d};var C,D,E,F="inline",G=function(){E&&(D.after(E.addClass(C)).detach(),E=null)};a.magnificPopup.registerModule(F,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){b.types.push(F),w(h+"."+F,function(){G()})},getInline:function(c,d){if(G(),c.src){var e=b.st.inline,f=a(c.src);if(f.length){var g=f[0].parentNode;g&&g.tagName&&(D||(C=e.hiddenClass,D=x(C),C="mfp-"+C),E=f.after(D).detach().removeClass(C)),b.updateStatus("ready")}else b.updateStatus("error",e.tNotFound),f=a("<div>");return c.inlineElement=f,f}return b.updateStatus("ready"),b._parseMarkup(d,{},c),d}}});var H,I="ajax",J=function(){H&&a(document.body).removeClass(H)},K=function(){J(),b.req&&b.req.abort()};a.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){b.types.push(I),H=b.st.ajax.cursor,w(h+"."+I,K),w("BeforeChange."+I,K)},getAjax:function(c){H&&a(document.body).addClass(H),b.updateStatus("loading");var d=a.extend({url:c.src,success:function(d,e,f){var g={data:d,xhr:f};y("ParseAjax",g),b.appendContent(a(g.data),I),c.finished=!0,J(),b._setFocus(),setTimeout(function(){b.wrap.addClass(q)},16),b.updateStatus("ready"),y("AjaxContentAdded")},error:function(){J(),c.finished=c.loadError=!0,b.updateStatus("error",b.st.ajax.tError.replace("%url%",c.src))}},b.st.ajax.settings);return b.req=a.ajax(d),""}}});var L,M=function(c){if(c.data&&void 0!==c.data.title)return c.data.title;var d=b.st.image.titleSrc;if(d){if(a.isFunction(d))return d.call(b,c);if(c.el)return c.el.attr(d)||""}return""};a.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var c=b.st.image,d=".image";b.types.push("image"),w(m+d,function(){"image"===b.currItem.type&&c.cursor&&a(document.body).addClass(c.cursor)}),w(h+d,function(){c.cursor&&a(document.body).removeClass(c.cursor),v.off("resize"+p)}),w("Resize"+d,b.resizeImage),b.isLowIE&&w("AfterChange",b.resizeImage)},resizeImage:function(){var a=b.currItem;if(a&&a.img&&b.st.image.verticalFit){var c=0;b.isLowIE&&(c=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",b.wH-c)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,L&&clearInterval(L),a.isCheckingImgSize=!1,y("ImageHasSize",a),a.imgHidden&&(b.content&&b.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var c=0,d=a.img[0],e=function(f){L&&clearInterval(L),L=setInterval(function(){return d.naturalWidth>0?void b._onImageHasSize(a):(c>200&&clearInterval(L),c++,void(3===c?e(10):40===c?e(50):100===c&&e(500)))},f)};e(1)},getImage:function(c,d){var e=0,f=function(){c&&(c.img[0].complete?(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("ready")),c.hasSize=!0,c.loaded=!0,y("ImageLoadComplete")):(e++,e<200?setTimeout(f,100):g()))},g=function(){c&&(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("error",h.tError.replace("%url%",c.src))),c.hasSize=!0,c.loaded=!0,c.loadError=!0)},h=b.st.image,i=d.find(".mfp-img");if(i.length){var j=document.createElement("img");j.className="mfp-img",c.el&&c.el.find("img").length&&(j.alt=c.el.find("img").attr("alt")),c.img=a(j).on("load.mfploader",f).on("error.mfploader",g),j.src=c.src,i.is("img")&&(c.img=c.img.clone()),j=c.img[0],j.naturalWidth>0?c.hasSize=!0:j.width||(c.hasSize=!1)}return b._parseMarkup(d,{title:M(c),img_replaceWith:c.img},c),b.resizeImage(),c.hasSize?(L&&clearInterval(L),c.loadError?(d.addClass("mfp-loading"),b.updateStatus("error",h.tError.replace("%url%",c.src))):(d.removeClass("mfp-loading"),b.updateStatus("ready")),d):(b.updateStatus("loading"),c.loading=!0,c.hasSize||(c.imgHidden=!0,d.addClass("mfp-loading"),b.findImageSize(c)),d)}}});var N,O=function(){return void 0===N&&(N=void 0!==document.createElement("p").style.MozTransform),N};a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var a,c=b.st.zoom,d=".zoom";if(c.enabled&&b.supportsTransition){var e,f,g=c.duration,j=function(a){var b=a.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+c.duration/1e3+"s "+c.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,b.css(e),b},k=function(){b.content.css("visibility","visible")};w("BuildControls"+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.content.css("visibility","hidden"),a=b._getItemToZoom(),!a)return void k();f=j(a),f.css(b._getOffset()),b.wrap.append(f),e=setTimeout(function(){f.css(b._getOffset(!0)),e=setTimeout(function(){k(),setTimeout(function(){f.remove(),a=f=null,y("ZoomAnimationEnded")},16)},g)},16)}}),w(i+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.st.removalDelay=g,!a){if(a=b._getItemToZoom(),!a)return;f=j(a)}f.css(b._getOffset(!0)),b.wrap.append(f),b.content.css("visibility","hidden"),setTimeout(function(){f.css(b._getOffset())},16)}}),w(h+d,function(){b._allowZoom()&&(k(),f&&f.remove(),a=null)})}},_allowZoom:function(){return"image"===b.currItem.type},_getItemToZoom:function(){return!!b.currItem.hasSize&&b.currItem.img},_getOffset:function(c){var d;d=c?b.currItem.img:b.st.zoom.opener(b.currItem.el||b.currItem);var e=d.offset(),f=parseInt(d.css("padding-top"),10),g=parseInt(d.css("padding-bottom"),10);e.top-=a(window).scrollTop()-f;var h={width:d.width(),height:(u?d.innerHeight():d[0].offsetHeight)-g-f};return O()?h["-moz-transform"]=h.transform="translate("+e.left+"px,"+e.top+"px)":(h.left=e.left,h.top=e.top),h}}});var P="iframe",Q="//about:blank",R=function(a){if(b.currTemplate[P]){var c=b.currTemplate[P].find("iframe");c.length&&(a||(c[0].src=Q),b.isIE8&&c.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(P,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){b.types.push(P),w("BeforeChange",function(a,b,c){b!==c&&(b===P?R():c===P&&R(!0))}),w(h+"."+P,function(){R()})},getIframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){if(e.indexOf(this.index)>-1)return this.id&&(e="string"==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace("%id%",e),!1});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus("ready"),d}}});var S=function(a){var c=b.items.length;return a>c-1?a-c:a<0?c+a:a},T=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var c=b.st.gallery,e=".mfp-gallery",g=Boolean(a.fn.mfpFastClick);return b.direction=!0,!(!c||!c.enabled)&&(f+=" mfp-gallery",w(m+e,function(){c.navigateByImgClick&&b.wrap.on("click"+e,".mfp-img",function(){if(b.items.length>1)return b.next(),!1}),d.on("keydown"+e,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),w("UpdateStatus"+e,function(a,c){c.text&&(c.text=T(c.text,b.currItem.index,b.items.length))}),w(l+e,function(a,d,e,f){var g=b.items.length;e.counter=g>1?T(c.tCounter,f.index,g):""}),w("BuildControls"+e,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var d=c.arrowMarkup,e=b.arrowLeft=a(d.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass(s),f=b.arrowRight=a(d.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass(s),h=g?"mfpFastClick":"click";e[h](function(){b.prev()}),f[h](function(){b.next()}),b.isIE7&&(x("b",e[0],!1,!0),x("a",e[0],!1,!0),x("b",f[0],!1,!0),x("a",f[0],!1,!0)),b.container.append(e.add(f))}}),w(n+e,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),void w(h+e,function(){d.off(e),b.wrap.off("click"+e),b.arrowLeft&&g&&b.arrowLeft.add(b.arrowRight).destroyMfpFastClick(),b.arrowRight=b.arrowLeft=null}))},next:function(){b.direction=!0,b.index=S(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=S(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){var a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){if(c=S(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseEl(c)),y("LazyLoad",d),"image"===d.type&&(d.img=a('<img class="mfp-img" />').on("load.mfploader",function(){d.hasSize=!0}).on("error.mfploader",function(){d.hasSize=!0,d.loadError=!0,y("LazyLoadError",d)}).attr("src",d.src)),d.preloaded=!0}}}});var U="retina";a.magnificPopup.registerModule(U,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(w("ImageHasSize."+U,function(a,b){b.img.css({"max-width":b.img[0].naturalWidth/c,width:"100%"})}),w("ElementParse."+U,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),function(){var b=1e3,c="ontouchstart"in window,d=function(){v.off("touchmove"+f+" touchend"+f)},e="mfpFastClick",f="."+e;a.fn.mfpFastClick=function(e){return a(this).each(function(){var g,h=a(this);if(c){var i,j,k,l,m,n;h.on("touchstart"+f,function(a){l=!1,n=1,m=a.originalEvent?a.originalEvent.touches[0]:a.touches[0],j=m.clientX,k=m.clientY,v.on("touchmove"+f,function(a){m=a.originalEvent?a.originalEvent.touches:a.touches,n=m.length,m=m[0],(Math.abs(m.clientX-j)>10||Math.abs(m.clientY-k)>10)&&(l=!0,d())}).on("touchend"+f,function(a){d(),l||n>1||(g=!0,a.preventDefault(),clearTimeout(i),i=setTimeout(function(){g=!1},b),e())})})}h.on("click"+f,function(){g||e()})})},a.fn.destroyMfpFastClick=function(){a(this).off("touchstart"+f+" click"+f),c&&v.off("touchmove"+f+" touchend"+f)}}(),A()}),"function"!=typeof Object.create&&(Object.create=function(a){function b(){}return b.prototype=a,new b}),function(a,b,c,d){var e={init:function(b,c){var d=this;d.elem=c,d.$elem=a(c),d.options=a.extend({},a.fn.rtTab.options,b),d.rtTabs()},rtTabs:function(){var c=this,d=c.options.activeTab;c.$elem.find("li:nth-child("+d+")").addClass("active"),c.rtTabContent(activeTabContent="yes"),c.rtClick();var e="false"!==c.$elem.attr("data-hash");if(e===!0){var f=b.location.hash;f&&c.$elem.find("li").find('a[href="'+f+'"]').trigger("click"),a(b).on("hashchange",function(){var a=b.location.hash;c.$elem.find("li").find('a[href="'+a+'"]').trigger("click")})}},rtClick:function(){var c=this,d=c.$elem.find("li"),e=d.find("a");e.on("click",function(e){e.preventDefault(),d.removeClass("active"),c.rtTabContent(),a(this).parent().addClass("active");var f=a(this).attr("href");a(f).removeClass("hide");var g="false"!==c.$elem.attr("data-hash");if(g===!0){var h=a(b).scrollTop();location.hash=a(this).attr("href"),a(b).scrollTop(h)}"function"==typeof c.options.onComplete&&c.options.onComplete.apply(c.elem,arguments)})},rtTabContent:function(b){var c=this,d=c.$elem.find("li"),e=d.find("a");e.each(function(){var c=a(this),d=c.attr("href");"yes"===b?c.parent().hasClass("active")||a(d).addClass("hide"):a(d).addClass("hide")})}};a.fn.rtTab=function(b){return this.each(function(){var c=Object.create(e);c.init(b,this),a.data(this,"rtTab",c)})},a.fn.rtTab.options={activeTab:1,onComplete:null}}(jQuery,window,document);var rtMagnificPopup,rtm_masonry_container,rtMediaHook={hooks:[],is_break:!1,register:function(a,b){"undefined"==typeof rtMediaHook.hooks[a]&&(rtMediaHook.hooks[a]=[]),rtMediaHook.hooks[a].push(b)},call:function(a,arguments){if("undefined"!=typeof rtMediaHook.hooks[a])for(i=0;i<rtMediaHook.hooks[a].length;++i)if(1!=rtMediaHook.hooks[a][i](arguments))return rtMediaHook.is_break=!0,!1;return!0}};jQuery("document").ready(function(a){function b(){if(jQuery("#rtmedia-media-view-form").length>0){var a=jQuery("#rtmedia-media-view-form").attr("action");jQuery.post(a,{},function(a){})}}function c(){var a=jQuery.magnificPopup.instance;jQuery(".mfp-arrow-right").on("click",function(b){a.next()}),jQuery(".mfp-arrow-left").on("click",function(b){a.prev()}),jQuery(".mfp-content .rtmedia-media").swipe({swipeLeft:function(b,c,d,e,f){a.next()},swipeRight:function(b,c,d,e,f){a.prev()},threshold:0})}function d(){jQuery(document).on("focusin","#comment_content",function(){jQuery(document).unbind("keydown")}),jQuery(document).on("focusout","#comment_content",function(){var a=jQuery.magnificPopup.instance;jQuery(document).on("keydown",function(b){37===b.keyCode?a.prev():39===b.keyCode&&a.next()})})}function e(){jQuery(".rtmedia-container").on("click",".rtmedia-delete-media",function(a){a.preventDefault(),confirm(rtmedia_media_delete_confirmation)&&jQuery(this).closest("form").submit()})}"undefined"!=typeof a.fn.rtTab&&a(".rtm-tabs").rtTab(),jQuery(".rtmedia-modal-link").length>0&&a(".rtmedia-modal-link").magnificPopup({type:"inline",midClick:!0,closeBtnInside:!0}),a("#rt_media_comment_form").submit(function(b){return""!=a.trim(a("#comment_content").val())||(0==jQuery("#rtmedia-single-media-container").length?rtmedia_gallery_action_alert_message(rtmedia_empty_comment_msg,"warning"):rtmedia_single_media_alert_message(rtmedia_empty_comment_msg,"warning"),!1)}),a("li.rtmedia-list-item p a").each(function(b){a(this).addClass("no-popup")}),a("li.rtmedia-list-item p a").each(function(b){a(this).addClass("no-popup")}),"undefined"!=typeof rtmedia_lightbox_enabled&&"1"==rtmedia_lightbox_enabled&&apply_rtMagnificPopup(".rtmedia-list-media, .rtmedia-activity-container ul.rtmedia-list, #bp-media-list,.bp-media-sc-list, li.media.album_updated ul,ul.bp-media-list-media, li.activity-item div.activity-content div.activity-inner div.bp_media_content, .rtm-bbp-container, ul.rtm-comment-container"),jQuery.ajaxPrefilter(function(a,b,c){try{if(null==b.data||"undefined"==typeof b.data||"undefined"==typeof b.data.action)return!0}catch(d){return!0}if("activity_get_older_updates"==b.data.action){var e=b.success;a.success=function(a){e(a),apply_rtMagnificPopup(".rtmedia-activity-container ul.rtmedia-list, #bp-media-list, .bp-media-sc-list, li.media.album_updated ul,ul.bp-media-list-media, li.activity-item div.activity-content div.activity-inner div.bp_media_content"),rtMediaHook.call("rtmedia_js_after_activity_added",[])}}else if("get_single_activity_content"==b.data.action){var e=b.success;a.success=function(a){e(a),setTimeout(function(){apply_rtMagnificPopup(".rtmedia-activity-container ul.rtmedia-list, #bp-media-list, .bp-media-sc-list, li.media.album_updated ul,ul.bp-media-list-media, li.activity-item div.activity-content div.activity-inner div.bp_media_content"),jQuery("ul.activity-list li.rtmedia_update:first-child .wp-audio-shortcode, ul.activity-list li.rtmedia_update:first-child .wp-video-shortcode").mediaelementplayer({defaultVideoWidth:480,defaultVideoHeight:270})},900)}}}),jQuery.ajaxPrefilter(function(a,b,c){try{if(null==b.data||"undefined"==typeof b.data||"undefined"==typeof b.data.action)return!0}catch(d){return!0}if("activity_get_older_updates"==b.data.action){var e=b.success;a.success=function(a){e(a),apply_rtMagnificPopup(".rtmedia-activity-container ul.rtmedia-list, #bp-media-list, .bp-media-sc-list, li.media.album_updated ul,ul.bp-media-list-media, li.activity-item div.activity-content div.activity-inner div.bp_media_content"),jQuery("ul.activity-list li.rtmedia_update div.rtmedia-item-thumbnail > audio.wp-audio-shortcode, ul.activity-list li.rtmedia_update div.rtmedia-item-thumbnail > video.wp-video-shortcode").mediaelementplayer({defaultVideoWidth:480,defaultVideoHeight:270}),rtMediaHook.call("rtmedia_js_after_activity_added",[])}}}),jQuery(".rtmedia-container").on("click",".select-all",function(a){jQuery(this).toggleClass("unselect-all").toggleClass("select-all"),jQuery(this).attr("title",rtmedia_unselect_all_visible),jQuery(".rtmedia-list input").each(function(){jQuery(this).prop("checked",!0)}),jQuery(".rtmedia-list-item").addClass("bulk-selected")}),jQuery(".rtmedia-container").on("click",".unselect-all",function(a){jQuery(this).toggleClass("select-all").toggleClass("unselect-all"),jQuery(this).attr("title",rtmedia_select_all_visible),jQuery(".rtmedia-list input").each(function(){jQuery(this).prop("checked",!1)}),jQuery(".rtmedia-list-item").removeClass("bulk-selected")}),jQuery(".rtmedia-container").on("click",".rtmedia-move",function(a){jQuery(".rtmedia-delete-container").slideUp(),jQuery(".rtmedia-move-container").slideToggle()}),jQuery("#rtmedia-create-album-modal").on("click","#rtmedia_create_new_album",function(b){if($albumname=jQuery("<span/>").text(jQuery.trim(jQuery("#rtmedia_album_name").val())).html(),$context=jQuery.trim(jQuery("#rtmedia_album_context").val()),
|
6 |
-
$context_id=jQuery.trim(jQuery("#rtmedia_album_context_id").val()),$privacy=jQuery.trim(jQuery("#rtmedia_select_album_privacy").val()),$create_album_nonce=jQuery.trim(jQuery("#rtmedia_create_album_nonce").val()),""!=$albumname){var c={action:"rtmedia_create_album",name:$albumname,context:$context,context_id:$context_id,create_album_nonce:$create_album_nonce};""!==$privacy&&(c.privacy=$privacy),a("#rtmedia_create_new_album").attr("disabled","disabled");var d=a("#rtmedia_create_new_album").html();a("#rtmedia_create_new_album").prepend("<img src='"+rMedia_loading_file+"' />"),jQuery.post(rtmedia_ajax_url,c,function(b){if("undefined"!=typeof b.album){b=jQuery.trim(b.album);var c=!0;jQuery(".rtmedia-user-album-list").each(function(){if(jQuery(this).children("optgroup").each(function(){if(jQuery(this).attr("value")===$context)return c=!1,void jQuery(this).append('<option value="'+b+'">'+$albumname+"</option>")}),c){var a=$context.charAt(0).toUpperCase()+$context.slice(1)+" "+rtmedia_main_js_strings.rtmedia_albums,d='<optgroup value="'+$context+'" label="'+a+'"><option value="'+b+'">'+$albumname+"</option></optgroup>";jQuery(this).append(d)}}),jQuery('select.rtmedia-user-album-list option[value="'+b+'"]').prop("selected",!0),jQuery(".rtmedia-create-new-album-container").slideToggle(),jQuery("#rtmedia_album_name").val(""),jQuery("#rtmedia-create-album-modal").append("<div class='rtmedia-success rtmedia-create-album-alert'><b>"+$albumname+"</b>"+rtmedia_album_created_msg+"</div>"),setTimeout(function(){jQuery(".rtmedia-create-album-alert").remove()},4e3),setTimeout(function(){galleryObj.reloadView(),jQuery(".close-reveal-modal").click()},2e3)}else"undefined"!=typeof b.error?rtmedia_gallery_action_alert_message(b.error,"warning"):rtmedia_gallery_action_alert_message(rtmedia_something_wrong_msg,"warning");a("#rtmedia_create_new_album").removeAttr("disabled"),a("#rtmedia_create_new_album").html(d)})}else rtmedia_gallery_action_alert_message(rtmedia_empty_album_name_msg,"warning")}),jQuery(".rtmedia-container").on("click",".rtmedia-delete-selected",function(a){jQuery(".rtmedia-list :checkbox:checked").length>0?confirm(rtmedia_selected_media_delete_confirmation)&&jQuery(this).closest("form").attr("action","../../../"+rtmedia_media_slug+"/delete").submit():rtmedia_gallery_action_alert_message(rtmedia_no_media_selected,"warning")}),jQuery(".rtmedia-container").on("click",".rtmedia-move-selected",function(a){jQuery(".rtmedia-list :checkbox:checked").length>0?confirm(rtmedia_selected_media_move_confirmation)&&jQuery(this).closest("form").attr("action","").submit():rtmedia_gallery_action_alert_message(rtmedia_no_media_selected,"warning")}),jQuery("#buddypress").on("change",".rtm-activity-privacy-opt",function(){var a=jQuery(this).attr("id");a=a.split("-"),a=a[a.length-1];var b=this;data={activity_id:a,privacy:jQuery(this).val(),nonce:jQuery("#rtmedia_activity_privacy_nonce").val(),action:"rtm_change_activity_privacy"},jQuery.post(ajaxurl,data,function(a){var c="",d="";"true"==a?(c=rtmedia_main_js_strings.privacy_update_success,d="success"):(c=rtmedia_main_js_strings.privacy_update_error,d="fail"),jQuery(b).after('<p class="rtm-ac-privacy-updated '+d+'">'+c+"</p>"),setTimeout(function(){jQuery(b).siblings(".rtm-ac-privacy-updated").remove()},2e3)})}),b(),rtMediaHook.register("rtmedia_js_popup_after_content_added",function(){b(),e(),mfp=jQuery.magnificPopup.instance,jQuery(mfp.items).size()>1&&c(),d();var f=a(window).height();jQuery(".rtm-lightbox-container .mejs-video").css({height:.8*f,"
|
3 |
* @package rtMedia
|
4 |
*/
|
5 |
function apply_rtMagnificPopup(a){jQuery("document").ready(function(b){var c="";c="undefined"==typeof rtmedia_load_more?"Loading media":rtmedia_load_more,"undefined"!=typeof rtmedia_lightbox_enabled&&"1"==rtmedia_lightbox_enabled&&(b(".activity-item .rtmedia-activity-container .rtmedia-list-item > a").siblings("p").children("a").length>0&&b(".activity-item .rtmedia-activity-container .rtmedia-list-item > a").siblings("p").children("a").addClass("no-popup"),rtMagnificPopup=jQuery(a).magnificPopup({delegate:"a:not(.no-popup, .mejs-time-slider, .mejs-volume-slider, .mejs-horizontal-volume-slider)",type:"ajax",tLoading:c+" #%curr%...",mainClass:"mfp-img-mobile",preload:[1,3],closeOnBgClick:!0,gallery:{enabled:!0,navigateByImgClick:!0,arrowMarkup:"",preload:[0,1]},image:{tError:'<a href="%url%">The image #%curr%</a> could not be loaded.',titleSrc:function(a){return a.el.attr("title")+"<small>by Marsel Van Oosten</small>"}},callbacks:{ajaxContentAdded:function(){a=jQuery.magnificPopup.instance,1===jQuery(a.items).size()&&jQuery(".mfp-arrow").remove();var a=jQuery.magnificPopup.instance,c=a.currItem.el,d=c.parent();if(d.is("li")||(d=d.parent()),d.is(":nth-last-child(2)")||d.is(":last-child")){d.next();"block"==jQuery("#rtMedia-galary-next").css("display")&&jQuery("#rtMedia-galary-next").click()}var e=a.items.length;if(a.index==e-1&&!d.is(":last-child"))return void c.click();var f={};"undefined"!=typeof _wpmejsSettings&&(f.pluginPath=_wpmejsSettings.pluginPath),b(".mfp-content .wp-audio-shortcode,.mfp-content .wp-video-shortcode,.mfp-content .bp_media_content video").mediaelementplayer({defaultVideoWidth:480,defaultVideoHeight:270,success:function(a,b){a.play()}}),b(".mfp-content .mejs-audio .mejs-controls").css("position","relative"),rtMediaHook.call("rtmedia_js_popup_after_content_added",[])},close:function(a){rtmedia_init_action_dropdown()},BeforeChange:function(a){}}}))})}function rtmedia_init_action_dropdown(){var a,b;jQuery(".click-nav > span, .click-nav > div").toggleClass("no-js js"),jQuery(".click-nav .js ul").hide(),jQuery(".click-nav .clicker").click(function(c){a=jQuery("#rtm-media-options .click-nav .clicker").next("ul"),b=jQuery(this).next("ul"),jQuery.each(a,function(a,c){jQuery(c).html()!=b.html()&&jQuery(c).hide()}),jQuery(b).toggle(),c.stopPropagation()})}function bp_media_create_element(a){return!1}function rtmedia_version_compare(a,b){if(typeof a+typeof b!="stringstring")return!1;for(var c=a.split("."),d=b.split("."),e=0,f=Math.max(c.length,d.length);e<f;e++){if(c[e]&&!d[e]&&parseInt(c[e])>0||parseInt(c[e])>parseInt(d[e]))return!0;if(d[e]&&!c[e]&&parseInt(d[e])>0||parseInt(c[e])<parseInt(d[e]))return!1}return!0}function rtm_is_element_exist(a){return jQuery(a).length>0}function rtm_masonry_reload(a){setTimeout(function(){a.masonry("reload")},250)}function rtmediaGetParameterByName(a){a=a.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var b=new RegExp("[\\?&]"+a+"=([^&#]*)"),c=b.exec(location.search);return null==c?"":decodeURIComponent(c[1].replace(/\+/g," "))}function rtmedia_single_media_alert_message(a,b){var c="rtmedia-success";"warning"==b&&(c="rtmedia-warning"),jQuery(".rtmedia-single-media .rtmedia-media").css("opacity","0.2"),jQuery(".rtmedia-single-media .rtmedia-media").after("<div class='rtmedia-message-container'><span class='"+c+"'>"+a+" </span></div>"),setTimeout(function(){jQuery(".rtmedia-single-media .rtmedia-media").css("opacity","1"),jQuery(".rtmedia-message-container").remove()},3e3),jQuery(".rtmedia-message-container").click(function(){jQuery(".rtmedia-single-media .rtmedia-media").css("opacity","1"),jQuery(".rtmedia-message-container").remove()})}function rtmedia_gallery_action_alert_message(a,b){var c="rtmedia-success";"warning"==b&&(c="rtmedia-warning");var d='<div class="rtmedia-gallery-alert-container"> </div>';jQuery("body").append(d),jQuery(".rtmedia-gallery-alert-container").append("<div class='rtmedia-gallery-message-box'><span class='"+c+"'>"+a+" </span></div>"),setTimeout(function(){jQuery(".rtmedia-gallery-alert-container").remove()},3e3),jQuery(".rtmedia-gallery-message-box").click(function(){jQuery(".rtmedia-gallery-alert-container").remove()})}!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(a){var b,c,d,e,f,g,h="Close",i="BeforeClose",j="AfterClose",k="BeforeAppend",l="MarkupParse",m="Open",n="Change",o="mfp",p="."+o,q="mfp-ready",r="mfp-removing",s="mfp-prevent-close",t=function(){},u=!!window.jQuery,v=a(window),w=function(a,c){b.ev.on(o+a+p,c)},x=function(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},y=function(c,d){b.ev.triggerHandler(o+c,d),b.st.callbacks&&(c=c.charAt(0).toLowerCase()+c.slice(1),b.st.callbacks[c]&&b.st.callbacks[c].apply(b,a.isArray(d)?d:[d]))},z=function(c){return c===g&&b.currTemplate.closeBtn||(b.currTemplate.closeBtn=a(b.st.closeMarkup.replace("%title%",b.st.tClose)),g=c),b.currTemplate.closeBtn},A=function(){a.magnificPopup.instance||(b=new t,b.init(),a.magnificPopup.instance=b)},B=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(void 0!==a.transition)return!0;for(;b.length;)if(b.pop()+"Transition"in a)return!0;return!1};t.prototype={constructor:t,init:function(){var c=navigator.appVersion;b.isIE7=c.indexOf("MSIE 7.")!==-1,b.isIE8=c.indexOf("MSIE 8.")!==-1,b.isLowIE=b.isIE7||b.isIE8,b.isAndroid=/android/gi.test(c),b.isIOS=/iphone|ipad|ipod/gi.test(c),b.supportsTransition=B(),b.probablyMobile=b.isAndroid||b.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),d=a(document),b.popupsCache={}},open:function(c){var e;if(c.isObj===!1){b.items=c.items.toArray(),b.index=0;var g,h=c.items;for(e=0;e<h.length;e++)if(g=h[e],g.parsed&&(g=g.el[0]),g===c.el[0]){b.index=e;break}}else b.items=a.isArray(c.items)?c.items:[c.items],b.index=c.index||0;if(b.isOpen)return void b.updateItemHTML();b.types=[],f="",c.mainEl&&c.mainEl.length?b.ev=c.mainEl.eq(0):b.ev=d,c.key?(b.popupsCache[c.key]||(b.popupsCache[c.key]={}),b.currTemplate=b.popupsCache[c.key]):b.currTemplate={},b.st=a.extend(!0,{},a.magnificPopup.defaults,c),b.fixedContentPos="auto"===b.st.fixedContentPos?!b.probablyMobile:b.st.fixedContentPos,b.st.modal&&(b.st.closeOnContentClick=!1,b.st.closeOnBgClick=!1,b.st.showCloseBtn=!1,b.st.enableEscapeKey=!1),b.bgOverlay||(b.bgOverlay=x("bg").on("click"+p,function(){b.close()}),b.wrap=x("wrap").attr("tabindex",-1).on("click"+p,function(a){b._checkIfClose(a.target)&&b.close()}),b.container=x("container",b.wrap)),b.contentContainer=x("content"),b.st.preloader&&(b.preloader=x("preloader",b.container,b.st.tLoading));var i=a.magnificPopup.modules;for(e=0;e<i.length;e++){var j=i[e];j=j.charAt(0).toUpperCase()+j.slice(1),b["init"+j].call(b)}y("BeforeOpen"),b.st.showCloseBtn&&(b.st.closeBtnInside?(w(l,function(a,b,c,d){c.close_replaceWith=z(d.type)}),f+=" mfp-close-btn-in"):b.wrap.append(z())),b.st.alignTop&&(f+=" mfp-align-top"),b.fixedContentPos?b.wrap.css({overflow:b.st.overflowY,overflowX:"hidden",overflowY:b.st.overflowY}):b.wrap.css({top:v.scrollTop(),position:"absolute"}),(b.st.fixedBgPos===!1||"auto"===b.st.fixedBgPos&&!b.fixedContentPos)&&b.bgOverlay.css({height:d.height(),position:"absolute"}),b.st.enableEscapeKey&&d.on("keyup"+p,function(a){27===a.keyCode&&b.close()}),v.on("resize"+p,function(){b.updateSize()}),b.st.closeOnContentClick||(f+=" mfp-auto-cursor"),f&&b.wrap.addClass(f);var k=b.wH=v.height(),n={};if(b.fixedContentPos&&b._hasScrollBar(k)){var o=b._getScrollbarSize();o&&(n.marginRight=o)}b.fixedContentPos&&(b.isIE7?a("body, html").css("overflow","hidden"):n.overflow="hidden");var r=b.st.mainClass;return b.isIE7&&(r+=" mfp-ie7"),r&&b._addClassToMFP(r),b.updateItemHTML(),y("BuildControls"),a("html").css(n),b.bgOverlay.add(b.wrap).prependTo(b.st.prependTo||a(document.body)),b._lastFocusedEl=document.activeElement,setTimeout(function(){b.content?(b._addClassToMFP(q),b._setFocus()):b.bgOverlay.addClass(q),d.on("focusin"+p,b._onFocusIn)},16),b.isOpen=!0,b.updateSize(k),y(m),c},close:function(){b.isOpen&&(y(i),b.isOpen=!1,b.st.removalDelay&&!b.isLowIE&&b.supportsTransition?(b._addClassToMFP(r),setTimeout(function(){b._close()},b.st.removalDelay)):b._close())},_close:function(){y(h);var c=r+" "+q+" ";if(b.bgOverlay.detach(),b.wrap.detach(),b.container.empty(),b.st.mainClass&&(c+=b.st.mainClass+" "),b._removeClassFromMFP(c),b.fixedContentPos){var e={marginRight:""};b.isIE7?a("body, html").css("overflow",""):e.overflow="",a("html").css(e)}d.off("keyup"+p+" focusin"+p),b.ev.off(p),b.wrap.attr("class","mfp-wrap").removeAttr("style"),b.bgOverlay.attr("class","mfp-bg"),b.container.attr("class","mfp-container"),!b.st.showCloseBtn||b.st.closeBtnInside&&b.currTemplate[b.currItem.type]!==!0||b.currTemplate.closeBtn&&b.currTemplate.closeBtn.detach(),b._lastFocusedEl&&a(b._lastFocusedEl).focus(),b.currItem=null,b.content=null,b.currTemplate=null,b.prevHeight=0,y(j)},updateSize:function(a){if(b.isIOS){var c=document.documentElement.clientWidth/window.innerWidth,d=window.innerHeight*c;b.wrap.css("height",d),b.wH=d}else b.wH=a||v.height();b.fixedContentPos||b.wrap.css("height",b.wH),y("Resize")},updateItemHTML:function(){var c=b.items[b.index];b.contentContainer.detach(),b.content&&b.content.detach(),c.parsed||(c=b.parseEl(b.index));var d=c.type;if(y("BeforeChange",[b.currItem?b.currItem.type:"",d]),b.currItem=c,!b.currTemplate[d]){var f=!!b.st[d]&&b.st[d].markup;y("FirstMarkupParse",f),f?b.currTemplate[d]=a(f):b.currTemplate[d]=!0}e&&e!==c.type&&b.container.removeClass("mfp-"+e+"-holder");var g=b["get"+d.charAt(0).toUpperCase()+d.slice(1)](c,b.currTemplate[d]);b.appendContent(g,d),c.preloaded=!0,y(n,c),e=c.type,b.container.prepend(b.contentContainer),y("AfterChange")},appendContent:function(a,c){b.content=a,a?b.st.showCloseBtn&&b.st.closeBtnInside&&b.currTemplate[c]===!0?b.content.find(".mfp-close").length||b.content.append(z()):b.content=a:b.content="",y(k),b.container.addClass("mfp-"+c+"-holder"),b.contentContainer.append(b.content)},parseEl:function(c){var d,e=b.items[c];if(e.tagName?e={el:a(e)}:(d=e.type,e={data:e,src:e.src}),e.el){for(var f=b.types,g=0;g<f.length;g++)if(e.el.hasClass("mfp-"+f[g])){d=f[g];break}e.src=e.el.attr("data-mfp-src"),e.src||(e.src=e.el.attr("href"))}return e.type=d||b.st.type||"inline",e.index=c,e.parsed=!0,b.items[c]=e,y("ElementParse",e),b.items[c]},addGroup:function(a,c){var d=function(d){d.mfpEl=this,b._openClick(d,a,c)};c||(c={});var e="click.magnificPopup";c.mainEl=a,c.items?(c.isObj=!0,a.off(e).on(e,d)):(c.isObj=!1,c.delegate?a.off(e).on(e,c.delegate,d):(c.items=a,a.off(e).on(e,d)))},_openClick:function(c,d,e){var f=void 0!==e.midClick?e.midClick:a.magnificPopup.defaults.midClick;if(f||2!==c.which&&!c.ctrlKey&&!c.metaKey){var g=void 0!==e.disableOn?e.disableOn:a.magnificPopup.defaults.disableOn;if(g)if(a.isFunction(g)){if(!g.call(b))return!0}else if(v.width()<g)return!0;c.type&&(c.preventDefault(),b.isOpen&&c.stopPropagation()),e.el=a(c.mfpEl),e.delegate&&(e.items=d.find(e.delegate)),b.open(e)}},updateStatus:function(a,d){if(b.preloader){c!==a&&b.container.removeClass("mfp-s-"+c),d||"loading"!==a||(d=b.st.tLoading);var e={status:a,text:d};y("UpdateStatus",e),a=e.status,d=e.text,b.preloader.html(d),b.preloader.find("a").on("click",function(a){a.stopImmediatePropagation()}),b.container.addClass("mfp-s-"+a),c=a}},_checkIfClose:function(c){if(!a(c).hasClass(s)){var d=b.st.closeOnContentClick,e=b.st.closeOnBgClick;if(d&&e)return!0;if(!b.content||a(c).hasClass("mfp-close")||b.preloader&&c===b.preloader[0])return!0;if(c===b.content[0]||a.contains(b.content[0],c)){if(d)return!0}else if(e&&a.contains(document,c))return!0;return!1}},_addClassToMFP:function(a){b.bgOverlay.addClass(a),b.wrap.addClass(a)},_removeClassFromMFP:function(a){this.bgOverlay.removeClass(a),b.wrap.removeClass(a)},_hasScrollBar:function(a){return(b.isIE7?d.height():document.body.scrollHeight)>(a||v.height())},_setFocus:function(){(b.st.focus?b.content.find(b.st.focus).eq(0):b.wrap).focus()},_onFocusIn:function(c){if(c.target!==b.wrap[0]&&!a.contains(b.wrap[0],c.target))return b._setFocus(),!1},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),y(l,[b,c,d]),a.each(c,function(a,c){if(void 0===c||c===!1)return!0;if(e=a.split("_"),e.length>1){var d=b.find(p+"-"+e[0]);if(d.length>0){var f=e[1];"replaceWith"===f?d[0]!==c[0]&&d.replaceWith(c):"img"===f?d.is("img")?d.attr("src",c):d.replaceWith('<img src="'+c+'" class="'+d.attr("class")+'" />'):d.attr(e[1],c)}}else b.find(p+"-"+a).html(c)})},_getScrollbarSize:function(){if(void 0===b.scrollbarSize){var a=document.createElement("div");a.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),b.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return b.scrollbarSize}},a.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(b,c){return A(),b=b?a.extend(!0,{},b):{},b.isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">×</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},a.fn.magnificPopup=function(c){A();var d=a(this);if("string"==typeof c)if("open"===c){var e,f=u?d.data("magnificPopup"):d[0].magnificPopup,g=parseInt(arguments[1],10)||0;f.items?e=f.items[g]:(e=d,f.delegate&&(e=e.find(f.delegate)),e=e.eq(g)),b._openClick({mfpEl:e},d,f)}else b.isOpen&&b[c].apply(b,Array.prototype.slice.call(arguments,1));else c=a.extend(!0,{},c),u?d.data("magnificPopup",c):d[0].magnificPopup=c,b.addGroup(d,c);return d};var C,D,E,F="inline",G=function(){E&&(D.after(E.addClass(C)).detach(),E=null)};a.magnificPopup.registerModule(F,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){b.types.push(F),w(h+"."+F,function(){G()})},getInline:function(c,d){if(G(),c.src){var e=b.st.inline,f=a(c.src);if(f.length){var g=f[0].parentNode;g&&g.tagName&&(D||(C=e.hiddenClass,D=x(C),C="mfp-"+C),E=f.after(D).detach().removeClass(C)),b.updateStatus("ready")}else b.updateStatus("error",e.tNotFound),f=a("<div>");return c.inlineElement=f,f}return b.updateStatus("ready"),b._parseMarkup(d,{},c),d}}});var H,I="ajax",J=function(){H&&a(document.body).removeClass(H)},K=function(){J(),b.req&&b.req.abort()};a.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){b.types.push(I),H=b.st.ajax.cursor,w(h+"."+I,K),w("BeforeChange."+I,K)},getAjax:function(c){H&&a(document.body).addClass(H),b.updateStatus("loading");var d=a.extend({url:c.src,success:function(d,e,f){var g={data:d,xhr:f};y("ParseAjax",g),b.appendContent(a(g.data),I),c.finished=!0,J(),b._setFocus(),setTimeout(function(){b.wrap.addClass(q)},16),b.updateStatus("ready"),y("AjaxContentAdded")},error:function(){J(),c.finished=c.loadError=!0,b.updateStatus("error",b.st.ajax.tError.replace("%url%",c.src))}},b.st.ajax.settings);return b.req=a.ajax(d),""}}});var L,M=function(c){if(c.data&&void 0!==c.data.title)return c.data.title;var d=b.st.image.titleSrc;if(d){if(a.isFunction(d))return d.call(b,c);if(c.el)return c.el.attr(d)||""}return""};a.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var c=b.st.image,d=".image";b.types.push("image"),w(m+d,function(){"image"===b.currItem.type&&c.cursor&&a(document.body).addClass(c.cursor)}),w(h+d,function(){c.cursor&&a(document.body).removeClass(c.cursor),v.off("resize"+p)}),w("Resize"+d,b.resizeImage),b.isLowIE&&w("AfterChange",b.resizeImage)},resizeImage:function(){var a=b.currItem;if(a&&a.img&&b.st.image.verticalFit){var c=0;b.isLowIE&&(c=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",b.wH-c)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,L&&clearInterval(L),a.isCheckingImgSize=!1,y("ImageHasSize",a),a.imgHidden&&(b.content&&b.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var c=0,d=a.img[0],e=function(f){L&&clearInterval(L),L=setInterval(function(){return d.naturalWidth>0?void b._onImageHasSize(a):(c>200&&clearInterval(L),c++,void(3===c?e(10):40===c?e(50):100===c&&e(500)))},f)};e(1)},getImage:function(c,d){var e=0,f=function(){c&&(c.img[0].complete?(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("ready")),c.hasSize=!0,c.loaded=!0,y("ImageLoadComplete")):(e++,e<200?setTimeout(f,100):g()))},g=function(){c&&(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("error",h.tError.replace("%url%",c.src))),c.hasSize=!0,c.loaded=!0,c.loadError=!0)},h=b.st.image,i=d.find(".mfp-img");if(i.length){var j=document.createElement("img");j.className="mfp-img",c.el&&c.el.find("img").length&&(j.alt=c.el.find("img").attr("alt")),c.img=a(j).on("load.mfploader",f).on("error.mfploader",g),j.src=c.src,i.is("img")&&(c.img=c.img.clone()),j=c.img[0],j.naturalWidth>0?c.hasSize=!0:j.width||(c.hasSize=!1)}return b._parseMarkup(d,{title:M(c),img_replaceWith:c.img},c),b.resizeImage(),c.hasSize?(L&&clearInterval(L),c.loadError?(d.addClass("mfp-loading"),b.updateStatus("error",h.tError.replace("%url%",c.src))):(d.removeClass("mfp-loading"),b.updateStatus("ready")),d):(b.updateStatus("loading"),c.loading=!0,c.hasSize||(c.imgHidden=!0,d.addClass("mfp-loading"),b.findImageSize(c)),d)}}});var N,O=function(){return void 0===N&&(N=void 0!==document.createElement("p").style.MozTransform),N};a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var a,c=b.st.zoom,d=".zoom";if(c.enabled&&b.supportsTransition){var e,f,g=c.duration,j=function(a){var b=a.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+c.duration/1e3+"s "+c.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,b.css(e),b},k=function(){b.content.css("visibility","visible")};w("BuildControls"+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.content.css("visibility","hidden"),a=b._getItemToZoom(),!a)return void k();f=j(a),f.css(b._getOffset()),b.wrap.append(f),e=setTimeout(function(){f.css(b._getOffset(!0)),e=setTimeout(function(){k(),setTimeout(function(){f.remove(),a=f=null,y("ZoomAnimationEnded")},16)},g)},16)}}),w(i+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.st.removalDelay=g,!a){if(a=b._getItemToZoom(),!a)return;f=j(a)}f.css(b._getOffset(!0)),b.wrap.append(f),b.content.css("visibility","hidden"),setTimeout(function(){f.css(b._getOffset())},16)}}),w(h+d,function(){b._allowZoom()&&(k(),f&&f.remove(),a=null)})}},_allowZoom:function(){return"image"===b.currItem.type},_getItemToZoom:function(){return!!b.currItem.hasSize&&b.currItem.img},_getOffset:function(c){var d;d=c?b.currItem.img:b.st.zoom.opener(b.currItem.el||b.currItem);var e=d.offset(),f=parseInt(d.css("padding-top"),10),g=parseInt(d.css("padding-bottom"),10);e.top-=a(window).scrollTop()-f;var h={width:d.width(),height:(u?d.innerHeight():d[0].offsetHeight)-g-f};return O()?h["-moz-transform"]=h.transform="translate("+e.left+"px,"+e.top+"px)":(h.left=e.left,h.top=e.top),h}}});var P="iframe",Q="//about:blank",R=function(a){if(b.currTemplate[P]){var c=b.currTemplate[P].find("iframe");c.length&&(a||(c[0].src=Q),b.isIE8&&c.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(P,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){b.types.push(P),w("BeforeChange",function(a,b,c){b!==c&&(b===P?R():c===P&&R(!0))}),w(h+"."+P,function(){R()})},getIframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){if(e.indexOf(this.index)>-1)return this.id&&(e="string"==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace("%id%",e),!1});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus("ready"),d}}});var S=function(a){var c=b.items.length;return a>c-1?a-c:a<0?c+a:a},T=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var c=b.st.gallery,e=".mfp-gallery",g=Boolean(a.fn.mfpFastClick);return b.direction=!0,!(!c||!c.enabled)&&(f+=" mfp-gallery",w(m+e,function(){c.navigateByImgClick&&b.wrap.on("click"+e,".mfp-img",function(){if(b.items.length>1)return b.next(),!1}),d.on("keydown"+e,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),w("UpdateStatus"+e,function(a,c){c.text&&(c.text=T(c.text,b.currItem.index,b.items.length))}),w(l+e,function(a,d,e,f){var g=b.items.length;e.counter=g>1?T(c.tCounter,f.index,g):""}),w("BuildControls"+e,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var d=c.arrowMarkup,e=b.arrowLeft=a(d.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass(s),f=b.arrowRight=a(d.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass(s),h=g?"mfpFastClick":"click";e[h](function(){b.prev()}),f[h](function(){b.next()}),b.isIE7&&(x("b",e[0],!1,!0),x("a",e[0],!1,!0),x("b",f[0],!1,!0),x("a",f[0],!1,!0)),b.container.append(e.add(f))}}),w(n+e,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),void w(h+e,function(){d.off(e),b.wrap.off("click"+e),b.arrowLeft&&g&&b.arrowLeft.add(b.arrowRight).destroyMfpFastClick(),b.arrowRight=b.arrowLeft=null}))},next:function(){b.direction=!0,b.index=S(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=S(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){var a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){if(c=S(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseEl(c)),y("LazyLoad",d),"image"===d.type&&(d.img=a('<img class="mfp-img" />').on("load.mfploader",function(){d.hasSize=!0}).on("error.mfploader",function(){d.hasSize=!0,d.loadError=!0,y("LazyLoadError",d)}).attr("src",d.src)),d.preloaded=!0}}}});var U="retina";a.magnificPopup.registerModule(U,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(w("ImageHasSize."+U,function(a,b){b.img.css({"max-width":b.img[0].naturalWidth/c,width:"100%"})}),w("ElementParse."+U,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),function(){var b=1e3,c="ontouchstart"in window,d=function(){v.off("touchmove"+f+" touchend"+f)},e="mfpFastClick",f="."+e;a.fn.mfpFastClick=function(e){return a(this).each(function(){var g,h=a(this);if(c){var i,j,k,l,m,n;h.on("touchstart"+f,function(a){l=!1,n=1,m=a.originalEvent?a.originalEvent.touches[0]:a.touches[0],j=m.clientX,k=m.clientY,v.on("touchmove"+f,function(a){m=a.originalEvent?a.originalEvent.touches:a.touches,n=m.length,m=m[0],(Math.abs(m.clientX-j)>10||Math.abs(m.clientY-k)>10)&&(l=!0,d())}).on("touchend"+f,function(a){d(),l||n>1||(g=!0,a.preventDefault(),clearTimeout(i),i=setTimeout(function(){g=!1},b),e())})})}h.on("click"+f,function(){g||e()})})},a.fn.destroyMfpFastClick=function(){a(this).off("touchstart"+f+" click"+f),c&&v.off("touchmove"+f+" touchend"+f)}}(),A()}),"function"!=typeof Object.create&&(Object.create=function(a){function b(){}return b.prototype=a,new b}),function(a,b,c,d){var e={init:function(b,c){var d=this;d.elem=c,d.$elem=a(c),d.options=a.extend({},a.fn.rtTab.options,b),d.rtTabs()},rtTabs:function(){var c=this,d=c.options.activeTab;c.$elem.find("li:nth-child("+d+")").addClass("active"),c.rtTabContent(activeTabContent="yes"),c.rtClick();var e="false"!==c.$elem.attr("data-hash");if(e===!0){var f=b.location.hash;f&&c.$elem.find("li").find('a[href="'+f+'"]').trigger("click"),a(b).on("hashchange",function(){var a=b.location.hash;c.$elem.find("li").find('a[href="'+a+'"]').trigger("click")})}},rtClick:function(){var c=this,d=c.$elem.find("li"),e=d.find("a");e.on("click",function(e){e.preventDefault(),d.removeClass("active"),c.rtTabContent(),a(this).parent().addClass("active");var f=a(this).attr("href");a(f).removeClass("hide");var g="false"!==c.$elem.attr("data-hash");if(g===!0){var h=a(b).scrollTop();location.hash=a(this).attr("href"),a(b).scrollTop(h)}"function"==typeof c.options.onComplete&&c.options.onComplete.apply(c.elem,arguments)})},rtTabContent:function(b){var c=this,d=c.$elem.find("li"),e=d.find("a");e.each(function(){var c=a(this),d=c.attr("href");"yes"===b?c.parent().hasClass("active")||a(d).addClass("hide"):a(d).addClass("hide")})}};a.fn.rtTab=function(b){return this.each(function(){var c=Object.create(e);c.init(b,this),a.data(this,"rtTab",c)})},a.fn.rtTab.options={activeTab:1,onComplete:null}}(jQuery,window,document);var rtMagnificPopup,rtm_masonry_container,rtMediaHook={hooks:[],is_break:!1,register:function(a,b){"undefined"==typeof rtMediaHook.hooks[a]&&(rtMediaHook.hooks[a]=[]),rtMediaHook.hooks[a].push(b)},call:function(a,arguments){if("undefined"!=typeof rtMediaHook.hooks[a])for(i=0;i<rtMediaHook.hooks[a].length;++i)if(1!=rtMediaHook.hooks[a][i](arguments))return rtMediaHook.is_break=!0,!1;return!0}};jQuery("document").ready(function(a){function b(){if(jQuery("#rtmedia-media-view-form").length>0){var a=jQuery("#rtmedia-media-view-form").attr("action");jQuery.post(a,{},function(a){})}}function c(){var a=jQuery.magnificPopup.instance;jQuery(".mfp-arrow-right").on("click",function(b){a.next()}),jQuery(".mfp-arrow-left").on("click",function(b){a.prev()}),jQuery(".mfp-content .rtmedia-media").swipe({swipeLeft:function(b,c,d,e,f){a.next()},swipeRight:function(b,c,d,e,f){a.prev()},threshold:0})}function d(){jQuery(document).on("focusin","#comment_content",function(){jQuery(document).unbind("keydown")}),jQuery(document).on("focusout","#comment_content",function(){var a=jQuery.magnificPopup.instance;jQuery(document).on("keydown",function(b){37===b.keyCode?a.prev():39===b.keyCode&&a.next()})})}function e(){jQuery(".rtmedia-container").on("click",".rtmedia-delete-media",function(a){a.preventDefault(),confirm(rtmedia_media_delete_confirmation)&&jQuery(this).closest("form").submit()})}"undefined"!=typeof a.fn.rtTab&&a(".rtm-tabs").rtTab(),jQuery(".rtmedia-modal-link").length>0&&a(".rtmedia-modal-link").magnificPopup({type:"inline",midClick:!0,closeBtnInside:!0}),a("#rt_media_comment_form").submit(function(b){return""!=a.trim(a("#comment_content").val())||(0==jQuery("#rtmedia-single-media-container").length?rtmedia_gallery_action_alert_message(rtmedia_empty_comment_msg,"warning"):rtmedia_single_media_alert_message(rtmedia_empty_comment_msg,"warning"),!1)}),a("li.rtmedia-list-item p a").each(function(b){a(this).addClass("no-popup")}),a("li.rtmedia-list-item p a").each(function(b){a(this).addClass("no-popup")}),"undefined"!=typeof rtmedia_lightbox_enabled&&"1"==rtmedia_lightbox_enabled&&apply_rtMagnificPopup(".rtmedia-list-media, .rtmedia-activity-container ul.rtmedia-list, #bp-media-list,.bp-media-sc-list, li.media.album_updated ul,ul.bp-media-list-media, li.activity-item div.activity-content div.activity-inner div.bp_media_content, .rtm-bbp-container, ul.rtm-comment-container"),jQuery.ajaxPrefilter(function(a,b,c){try{if(null==b.data||"undefined"==typeof b.data||"undefined"==typeof b.data.action)return!0}catch(d){return!0}if("activity_get_older_updates"==b.data.action){var e=b.success;a.success=function(a){e(a),apply_rtMagnificPopup(".rtmedia-activity-container ul.rtmedia-list, #bp-media-list, .bp-media-sc-list, li.media.album_updated ul,ul.bp-media-list-media, li.activity-item div.activity-content div.activity-inner div.bp_media_content"),rtMediaHook.call("rtmedia_js_after_activity_added",[])}}else if("get_single_activity_content"==b.data.action){var e=b.success;a.success=function(a){e(a),setTimeout(function(){apply_rtMagnificPopup(".rtmedia-activity-container ul.rtmedia-list, #bp-media-list, .bp-media-sc-list, li.media.album_updated ul,ul.bp-media-list-media, li.activity-item div.activity-content div.activity-inner div.bp_media_content"),jQuery("ul.activity-list li.rtmedia_update:first-child .wp-audio-shortcode, ul.activity-list li.rtmedia_update:first-child .wp-video-shortcode").mediaelementplayer({defaultVideoWidth:480,defaultVideoHeight:270})},900)}}}),jQuery.ajaxPrefilter(function(a,b,c){try{if(null==b.data||"undefined"==typeof b.data||"undefined"==typeof b.data.action)return!0}catch(d){return!0}if("activity_get_older_updates"==b.data.action){var e=b.success;a.success=function(a){e(a),apply_rtMagnificPopup(".rtmedia-activity-container ul.rtmedia-list, #bp-media-list, .bp-media-sc-list, li.media.album_updated ul,ul.bp-media-list-media, li.activity-item div.activity-content div.activity-inner div.bp_media_content"),jQuery("ul.activity-list li.rtmedia_update div.rtmedia-item-thumbnail > audio.wp-audio-shortcode, ul.activity-list li.rtmedia_update div.rtmedia-item-thumbnail > video.wp-video-shortcode").mediaelementplayer({defaultVideoWidth:480,defaultVideoHeight:270}),rtMediaHook.call("rtmedia_js_after_activity_added",[])}}}),jQuery(".rtmedia-container").on("click",".select-all",function(a){jQuery(this).toggleClass("unselect-all").toggleClass("select-all"),jQuery(this).attr("title",rtmedia_unselect_all_visible),jQuery(".rtmedia-list input").each(function(){jQuery(this).prop("checked",!0)}),jQuery(".rtmedia-list-item").addClass("bulk-selected")}),jQuery(".rtmedia-container").on("click",".unselect-all",function(a){jQuery(this).toggleClass("select-all").toggleClass("unselect-all"),jQuery(this).attr("title",rtmedia_select_all_visible),jQuery(".rtmedia-list input").each(function(){jQuery(this).prop("checked",!1)}),jQuery(".rtmedia-list-item").removeClass("bulk-selected")}),jQuery(".rtmedia-container").on("click",".rtmedia-move",function(a){jQuery(".rtmedia-delete-container").slideUp(),jQuery(".rtmedia-move-container").slideToggle()}),jQuery("#rtmedia-create-album-modal").on("click","#rtmedia_create_new_album",function(b){if($albumname=jQuery("<span/>").text(jQuery.trim(jQuery("#rtmedia_album_name").val())).html(),$context=jQuery.trim(jQuery("#rtmedia_album_context").val()),
|
6 |
+
$context_id=jQuery.trim(jQuery("#rtmedia_album_context_id").val()),$privacy=jQuery.trim(jQuery("#rtmedia_select_album_privacy").val()),$create_album_nonce=jQuery.trim(jQuery("#rtmedia_create_album_nonce").val()),""!=$albumname){var c={action:"rtmedia_create_album",name:$albumname,context:$context,context_id:$context_id,create_album_nonce:$create_album_nonce};""!==$privacy&&(c.privacy=$privacy),a("#rtmedia_create_new_album").attr("disabled","disabled");var d=a("#rtmedia_create_new_album").html();a("#rtmedia_create_new_album").prepend("<img src='"+rMedia_loading_file+"' />"),jQuery.post(rtmedia_ajax_url,c,function(b){if("undefined"!=typeof b.album){b=jQuery.trim(b.album);var c=!0;jQuery(".rtmedia-user-album-list").each(function(){if(jQuery(this).children("optgroup").each(function(){if(jQuery(this).attr("value")===$context)return c=!1,void jQuery(this).append('<option value="'+b+'">'+$albumname+"</option>")}),c){var a=$context.charAt(0).toUpperCase()+$context.slice(1)+" "+rtmedia_main_js_strings.rtmedia_albums,d='<optgroup value="'+$context+'" label="'+a+'"><option value="'+b+'">'+$albumname+"</option></optgroup>";jQuery(this).append(d)}}),jQuery('select.rtmedia-user-album-list option[value="'+b+'"]').prop("selected",!0),jQuery(".rtmedia-create-new-album-container").slideToggle(),jQuery("#rtmedia_album_name").val(""),jQuery("#rtmedia-create-album-modal").append("<div class='rtmedia-success rtmedia-create-album-alert'><b>"+$albumname+"</b>"+rtmedia_album_created_msg+"</div>"),setTimeout(function(){jQuery(".rtmedia-create-album-alert").remove()},4e3),setTimeout(function(){galleryObj.reloadView(),jQuery(".close-reveal-modal").click()},2e3)}else"undefined"!=typeof b.error?rtmedia_gallery_action_alert_message(b.error,"warning"):rtmedia_gallery_action_alert_message(rtmedia_something_wrong_msg,"warning");a("#rtmedia_create_new_album").removeAttr("disabled"),a("#rtmedia_create_new_album").html(d)})}else rtmedia_gallery_action_alert_message(rtmedia_empty_album_name_msg,"warning")}),jQuery(".rtmedia-container").on("click",".rtmedia-delete-selected",function(a){jQuery(".rtmedia-list :checkbox:checked").length>0?confirm(rtmedia_selected_media_delete_confirmation)&&jQuery(this).closest("form").attr("action","../../../"+rtmedia_media_slug+"/delete").submit():rtmedia_gallery_action_alert_message(rtmedia_no_media_selected,"warning")}),jQuery(".rtmedia-container").on("click",".rtmedia-move-selected",function(a){jQuery(".rtmedia-list :checkbox:checked").length>0?confirm(rtmedia_selected_media_move_confirmation)&&jQuery(this).closest("form").attr("action","").submit():rtmedia_gallery_action_alert_message(rtmedia_no_media_selected,"warning")}),jQuery("#buddypress").on("change",".rtm-activity-privacy-opt",function(){var a=jQuery(this).attr("id");a=a.split("-"),a=a[a.length-1];var b=this;data={activity_id:a,privacy:jQuery(this).val(),nonce:jQuery("#rtmedia_activity_privacy_nonce").val(),action:"rtm_change_activity_privacy"},jQuery.post(ajaxurl,data,function(a){var c="",d="";"true"==a?(c=rtmedia_main_js_strings.privacy_update_success,d="success"):(c=rtmedia_main_js_strings.privacy_update_error,d="fail"),jQuery(b).after('<p class="rtm-ac-privacy-updated '+d+'">'+c+"</p>"),setTimeout(function(){jQuery(b).siblings(".rtm-ac-privacy-updated").remove()},2e3)})}),b(),rtMediaHook.register("rtmedia_js_popup_after_content_added",function(){b(),e(),mfp=jQuery.magnificPopup.instance,jQuery(mfp.items).size()>1&&c(),d();var f=a(window).height();jQuery(".rtm-lightbox-container .mejs-video").css({height:.8*f,"over-flow":"hidden"}),jQuery(".mfp-content .rtmedia-media").css({"max-height":.87*f,"over-flow":"hidden"}),rtmedia_init_action_dropdown(),jQuery(".rtmedia-comment-link").on("click",function(a){a.preventDefault(),jQuery("#comment_content").focus()}),jQuery(".rtm-more").shorten({showChars:130});var g=a(".rtm-gallery-title"),h="";h=a.isEmptyObject(g)?a("#subnav.item-list-tabs li.selected ").html():g.html(),""!=h&&a(".rtm-ltb-gallery-title .ltb-title").html(h);var i=a("#subnav.item-list-tabs li.selected span").html();return a("li.total").html(i),!0});var f=jQuery("#drag-drop-area"),g=jQuery("#whats-new");f.html();jQuery("#rtmedia-upload-container").after("<div id='rtm-drop-files-title'>"+rtmedia_drop_media_msg+"</div>"),"undefined"!=typeof rtmedia_bp_enable_activity&&"1"==rtmedia_bp_enable_activity&&jQuery("#whats-new-textarea").append("<div id='rtm-drop-files-title'>"+rtmedia_drop_media_msg+"</div>"),jQuery(document).on("dragover",function(a){jQuery("#rtm-media-gallery-uploader").show(),"undefined"!=typeof rtmedia_bp_enable_activity&&"1"==rtmedia_bp_enable_activity&&g.addClass("rtm-drag-drop-active"),f.addClass("rtm-drag-drop-active"),jQuery("#rtm-drop-files-title").show()}).on("dragleave",function(a){a.preventDefault(),"undefined"!=typeof rtmedia_bp_enable_activity&&"1"==rtmedia_bp_enable_activity&&(g.removeClass("rtm-drag-drop-active"),g.removeAttr("style")),f.removeClass("rtm-drag-drop-active"),jQuery("#rtm-drop-files-title").hide()}).on("drop",function(a){a.preventDefault(),"undefined"!=typeof rtmedia_bp_enable_activity&&"1"==rtmedia_bp_enable_activity&&(g.removeClass("rtm-drag-drop-active"),g.removeAttr("style")),f.removeClass("rtm-drag-drop-active"),jQuery("#rtm-drop-files-title").hide()}),jQuery(".rtmedia-container").on("click",".rtmedia-delete-album",function(a){a.preventDefault(),confirm(rtmedia_album_delete_confirmation)&&jQuery(this).closest("form").submit()}),jQuery(".rtmedia-container").on("click",".rtmedia-delete-media",function(a){a.preventDefault(),confirm(rtmedia_media_delete_confirmation)&&jQuery(this).closest("form").submit()}),rtmedia_init_action_dropdown(),a(document).click(function(){a(".click-nav ul").is(":visible")&&a(".click-nav ul",this).hide()}),jQuery(".rtmedia-comment-link").on("click",function(a){a.preventDefault(),jQuery("#comment_content").focus()}),jQuery(".rtm-more").length>0&&a(".rtm-more").shorten({showChars:200}),"undefined"!=typeof rtmedia_masonry_layout&&"true"==rtmedia_masonry_layout&&0==jQuery(".rtmedia-container .rtmedia-list.rtm-no-masonry").length&&(rtm_masonry_container=jQuery(".rtmedia-container .rtmedia-list"),rtm_masonry_container.masonry({itemSelector:".rtmedia-list-item"}),setInterval(function(){jQuery.each(jQuery(".rtmedia-list.masonry .rtmedia-item-title"),function(a,b){jQuery(b).width(jQuery(b).siblings(".rtmedia-item-thumbnail").children("img").width())}),rtm_masonry_reload(rtm_masonry_container)},1e3),jQuery.each(jQuery(".rtmedia-list.masonry .rtmedia-item-title"),function(a,b){jQuery(b).width(jQuery(b).siblings(".rtmedia-item-thumbnail").children("img").width())})),jQuery(".rtm-uploader-tabs").length>0&&jQuery(".rtm-uploader-tabs li").click(function(a){jQuery(this).hasClass("active")||(jQuery(this).siblings().removeClass("active"),jQuery(this).parents(".rtm-uploader-tabs").siblings().hide(),class_name=jQuery(this).attr("class"),jQuery(this).parents(".rtm-uploader-tabs").siblings('[data-id="'+class_name+'"]').show(),jQuery(this).addClass("active"),"rtm-upload-tab"!=class_name?jQuery("div.moxie-shim").children("input[type=file]").hide():jQuery("div.moxie-shim").children("input[type=file]").show())}),jQuery(".rtmedia-container").on("click",".rtm-delete-media",function(a){a.preventDefault();var b="Are you sure you want to delete this media?";if("undefined"!=typeof rtmedia_media_delete_confirmation&&(b=rtmedia_media_delete_confirmation),confirm(b)){var c=jQuery(this).closest("li"),d=jQuery("#rtmedia_media_delete_nonce").val(),e={action:"delete_uploaded_media",nonce:d,media_id:c.attr("id")};jQuery.ajax({url:ajaxurl,type:"post",data:e,success:function(a){"1"==a?(rtmedia_gallery_action_alert_message(rtmedia_main_js_strings.file_delete_success,"success"),c.remove(),"undefined"!=typeof rtmedia_masonry_layout&&"true"==rtmedia_masonry_layout&&0==jQuery(".rtmedia-container .rtmedia-list.rtm-no-masonry").length&&rtm_masonry_reload(rtm_masonry_container)):rtmedia_gallery_action_alert_message(rtmedia_file_not_deleted,"warning")}})}})}),function(a){a.fn.shorten=function(b){"use strict";var c={showChars:100,minHideChars:10,ellipsesText:"...",moreText:"Read more",lessText:"Show less",onLess:function(){},onMore:function(){},errMsg:null,force:!1};return b&&a.extend(c,b),!(a(this).data("jquery.shorten")&&!c.force)&&(a(this).data("jquery.shorten",!0),a(document).off("click",".morelink"),a(document).on({click:function(){var b=a(this);return b.hasClass("less")?(b.removeClass("less"),b.html(c.moreText),b.parent().prev().hide(0,function(){b.parent().prev().prev().show()}).hide(0,function(){c.onLess()})):(b.addClass("less"),b.html(c.lessText),b.parent().prev().show(0,function(){b.parent().prev().prev().hide()}).show(0,function(){c.onMore()})),!1}},".morelink"),this.each(function(){var b=a(this),d=b.html(),e=b.text().length;if(e>c.showChars+c.minHideChars){var f=d.substr(0,c.showChars);if(f.indexOf("<")>=0){for(var g=!1,h="",i=0,k=[],l=null,m=0,n=0;n<=c.showChars;m++)if("<"!=d[m]||g||(g=!0,l=d.substring(m+1,d.indexOf(">",m)),"/"==l[0]?l!="/"+k[0]?c.errMsg="ERROR en HTML: the top of the stack should be the tag that closes":k.shift():"br"!=l.toLowerCase()&&k.unshift(l)),g&&">"==d[m]&&(g=!1),g)h+=d.charAt(m);else if(n++,i<=c.showChars)h+=d.charAt(m),i++;else if(k.length>0){for(j=0;j<k.length;j++)h+="</"+k[j]+">";break}f=a("<div/>").html(h+'<span class="ellip">'+c.ellipsesText+"</span>").html()}else f+=c.ellipsesText;var o='<div class="shortcontent">'+f+'</div><div class="allcontent">'+d+'</div><span><a href="javascript://nop/" class="morelink">'+c.moreText+"</a></span>";b.html(o),b.find(".allcontent").hide(),a(".shortcontent p:last",b).css("margin-bottom",0)}}))}}(jQuery),window.onload=function(){"undefined"!=typeof rtmedia_masonry_layout&&"true"==rtmedia_masonry_layout&&0==jQuery(".rtmedia-container .rtmedia-list.rtm-no-masonry").length&&rtm_masonry_reload(rtm_masonry_container)};
|
app/helper/RTMediaAddon.php
CHANGED
@@ -199,7 +199,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
199 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
200 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-restrictions/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
201 |
'category' => 'general',
|
202 |
-
'purchased' => ( defined( '
|
203 |
),
|
204 |
array(
|
205 |
'title' => esc_html__( 'bbPress Attachments', 'buddypress-media' ),
|
@@ -342,7 +342,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
342 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
343 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-upload-by-url/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
344 |
'category' => 'general',
|
345 |
-
'purchased' => ( defined( '
|
346 |
),
|
347 |
array(
|
348 |
'title' => esc_html__( 'Media Likes', 'buddypress-media' ),
|
199 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
200 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-restrictions/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
201 |
'category' => 'general',
|
202 |
+
'purchased' => ( defined( 'RTMEDIA_RESTRICTIONS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-restrictions/index.php' ) ) ? true : false,
|
203 |
),
|
204 |
array(
|
205 |
'title' => esc_html__( 'bbPress Attachments', 'buddypress-media' ),
|
342 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
343 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-upload-by-url/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
344 |
'category' => 'general',
|
345 |
+
'purchased' => ( defined( 'RTMEDIA_URL_UPLOAD_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-upload-by-url/index.php' ) ) ? true : false,
|
346 |
),
|
347 |
array(
|
348 |
'title' => esc_html__( 'Media Likes', 'buddypress-media' ),
|
app/main/controllers/media/RTMediaTags.php
CHANGED
@@ -175,6 +175,7 @@ class RTMediaTags {
|
|
175 |
|
176 |
$array_ext = array( 'ogg', 'm4a', 'mp4', 'webm' );
|
177 |
$path_parts = pathinfo( $this->file );
|
|
|
178 |
|
179 |
$data = $this->id3->analyze( $this->file );
|
180 |
|
175 |
|
176 |
$array_ext = array( 'ogg', 'm4a', 'mp4', 'webm' );
|
177 |
$path_parts = pathinfo( $this->file );
|
178 |
+
$path_parts['extension'] = $path_parts['extension'] ? $path_parts['extension'] : false;
|
179 |
|
180 |
$data = $this->id3->analyze( $this->file );
|
181 |
|
app/main/controllers/template/rt-template-functions.php
CHANGED
@@ -323,12 +323,12 @@ function rtmedia_media( $size_flag = true, $echo = true, $media_size = 'rt_media
|
|
323 |
$height = ( $height * 75 ) / 640;
|
324 |
$size = ' width="' . esc_attr( $rtmedia->options['defaultSizes_video_singlePlayer_width'] ) . '" height="' . esc_attr( $height ) . '%" ';
|
325 |
$html = "<div id='rtm-mejs-video-container' style='width:" . esc_attr( $rtmedia->options['defaultSizes_video_singlePlayer_width'] ) . 'px;height:' . esc_attr( $height ) . "%; max-width:96%;max-height:80%;'>";
|
326 |
-
$html .= '<video src="' . esc_url( wp_get_attachment_url( $rtmedia_media->media_id ) ) . '" ' . esc_attr( $size ) . ' type="video/mp4" class="wp-video-shortcode" id="bp_media_video_' . esc_attr( $rtmedia_media->id ) . '" controls="controls" preload="true"></video>';
|
327 |
$html .= '</div>';
|
328 |
} elseif ( 'music' === $rtmedia_media->media_type ) {
|
329 |
$width = $rtmedia->options['defaultSizes_music_singlePlayer_width'];
|
330 |
$width = ( $width * 75 ) / 640;
|
331 |
-
$size = ' width= ' . esc_attr( $width ) . '% height=
|
332 |
if ( ! $size_flag ) {
|
333 |
$size = '';
|
334 |
}
|
@@ -2922,6 +2922,7 @@ function replace_src_with_transcoded_file_url( $html, $rtmedia_media ) {
|
|
2922 |
} else {
|
2923 |
$final_file_url = $uploads['baseurl'] . '/' . $file_url;
|
2924 |
}
|
|
|
2925 |
} else {
|
2926 |
$final_file_url = wp_get_attachment_url( $attachment_id );
|
2927 |
}
|
@@ -2932,11 +2933,11 @@ function replace_src_with_transcoded_file_url( $html, $rtmedia_media ) {
|
|
2932 |
add_filter( 'rtmedia_single_content_filter', 'replace_src_with_transcoded_file_url', 100, 2 );
|
2933 |
|
2934 |
/**
|
2935 |
-
* Check if URL exists of a given media type
|
2936 |
-
*
|
2937 |
* @param array $medias
|
2938 |
* @param string $media_type
|
2939 |
-
*
|
2940 |
* @return boolen|string
|
2941 |
*/
|
2942 |
function rtt_is_video_exists( $medias, $media_type = 'mp4' ) {
|
@@ -2947,3 +2948,53 @@ function rtt_is_video_exists( $medias, $media_type = 'mp4' ) {
|
|
2947 |
return $medias[ $media_type ][0];
|
2948 |
}
|
2949 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
323 |
$height = ( $height * 75 ) / 640;
|
324 |
$size = ' width="' . esc_attr( $rtmedia->options['defaultSizes_video_singlePlayer_width'] ) . '" height="' . esc_attr( $height ) . '%" ';
|
325 |
$html = "<div id='rtm-mejs-video-container' style='width:" . esc_attr( $rtmedia->options['defaultSizes_video_singlePlayer_width'] ) . 'px;height:' . esc_attr( $height ) . "%; max-width:96%;max-height:80%;'>";
|
326 |
+
$html .= '<video poster="" src="' . esc_url( wp_get_attachment_url( $rtmedia_media->media_id ) ) . '" ' . esc_attr( $size ) . ' type="video/mp4" class="wp-video-shortcode" id="bp_media_video_' . esc_attr( $rtmedia_media->id ) . '" controls="controls" preload="true"></video>';
|
327 |
$html .= '</div>';
|
328 |
} elseif ( 'music' === $rtmedia_media->media_type ) {
|
329 |
$width = $rtmedia->options['defaultSizes_music_singlePlayer_width'];
|
330 |
$width = ( $width * 75 ) / 640;
|
331 |
+
$size = ' width= ' . esc_attr( $width ) . '% height=30 ';
|
332 |
if ( ! $size_flag ) {
|
333 |
$size = '';
|
334 |
}
|
2922 |
} else {
|
2923 |
$final_file_url = $uploads['baseurl'] . '/' . $file_url;
|
2924 |
}
|
2925 |
+
$final_file_url = apply_filters( 'transcoded_file_url', $final_file_url, $attachment_id );
|
2926 |
} else {
|
2927 |
$final_file_url = wp_get_attachment_url( $attachment_id );
|
2928 |
}
|
2933 |
add_filter( 'rtmedia_single_content_filter', 'replace_src_with_transcoded_file_url', 100, 2 );
|
2934 |
|
2935 |
/**
|
2936 |
+
* Check if URL exists of a given media type (i.e mp4, ogg, wmv)
|
2937 |
+
*
|
2938 |
* @param array $medias
|
2939 |
* @param string $media_type
|
2940 |
+
*
|
2941 |
* @return boolen|string
|
2942 |
*/
|
2943 |
function rtt_is_video_exists( $medias, $media_type = 'mp4' ) {
|
2948 |
return $medias[ $media_type ][0];
|
2949 |
}
|
2950 |
}
|
2951 |
+
|
2952 |
+
/**
|
2953 |
+
* Gives the WordPress's default attachment URL if the base URL of the attachment is
|
2954 |
+
* different than the WordPress's default base URL. e.g following URL
|
2955 |
+
* https://s3.amazonaws.com/bucket-name/wp-content/uploads/2016/09/attachment.jpg
|
2956 |
+
* will get replaced with
|
2957 |
+
* http://www.wordpress-base.url/wp-content/uploads/2016/09/1473432502-small-10-1-16_1.jpg
|
2958 |
+
*
|
2959 |
+
* @param mixed $thumbnail_id It can be attachment URL or attachment ID
|
2960 |
+
* @param string $media_type Media type
|
2961 |
+
* @param int $media_id Attachment ID
|
2962 |
+
*
|
2963 |
+
* @return string Attachment URL if attachment URL is provided in the argument
|
2964 |
+
*/
|
2965 |
+
function rtt_restore_og_wp_image_url( $thumbnail_id, $media_type, $media_id ) {
|
2966 |
+
if ( is_numeric( $thumbnail_id ) ) {
|
2967 |
+
return $thumbnail_id;
|
2968 |
+
}
|
2969 |
+
/**
|
2970 |
+
* Fix for rtAmazon S3 addon
|
2971 |
+
* When rtAmazon S3 is disabled we need to restore/replace the attachment URLS with the
|
2972 |
+
* original WordPress URL structure
|
2973 |
+
*/
|
2974 |
+
if ( ! class_exists( 'RTAWSS3_Class' ) && ! class_exists( 'AS3CF_Utils' ) ) {
|
2975 |
+
/* for WordPress backward compatibility */
|
2976 |
+
if ( function_exists( 'wp_get_upload_dir' ) ) {
|
2977 |
+
$uploads = wp_get_upload_dir();
|
2978 |
+
} else {
|
2979 |
+
$uploads = wp_upload_dir();
|
2980 |
+
}
|
2981 |
+
|
2982 |
+
$baseurl = $uploads['baseurl'];
|
2983 |
+
|
2984 |
+
$search = '/^(http|https)(.*)([wp\-content])(\/uploads\/)/i';
|
2985 |
+
$replace = $baseurl . '/';
|
2986 |
+
|
2987 |
+
$thumbnail_url = preg_replace( $search, $replace, $thumbnail_id );
|
2988 |
+
if ( ! empty( $thumbnail_url ) ) {
|
2989 |
+
$thumbnail_id = $thumbnail_url;
|
2990 |
+
}
|
2991 |
+
}
|
2992 |
+
/**
|
2993 |
+
* Apply filter to get amazon s3 URL
|
2994 |
+
*
|
2995 |
+
*/
|
2996 |
+
$final_file_url = apply_filters( 'transcoded_file_url', $thumbnail_id, $media_id );
|
2997 |
+
|
2998 |
+
return $final_file_url;
|
2999 |
+
}
|
3000 |
+
add_filter( 'show_custom_album_cover', 'rtt_restore_og_wp_image_url', 100, 3 );
|
index.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin Name: rtMedia for WordPress, BuddyPress and bbPress
|
5 |
Plugin URI: https://rtmedia.io/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
|
6 |
Description: This plugin adds missing media rich features like photos, videos and audio uploading to BuddyPress which are essential if you are building social network, seriously!
|
7 |
-
Version: 4.1.
|
8 |
Author: rtCamp
|
9 |
Text Domain: buddypress-media
|
10 |
Author URI: http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
|
4 |
Plugin Name: rtMedia for WordPress, BuddyPress and bbPress
|
5 |
Plugin URI: https://rtmedia.io/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
|
6 |
Description: This plugin adds missing media rich features like photos, videos and audio uploading to BuddyPress which are essential if you are building social network, seriously!
|
7 |
+
Version: 4.1.4
|
8 |
Author: rtCamp
|
9 |
Text Domain: buddypress-media
|
10 |
Author URI: http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
|
languages/buddypress-media.po
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the rtMedia for WordPress, BuddyPress and bbPress package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: rtMedia for WordPress, BuddyPress and bbPress 4.
|
6 |
"Report-Msgid-Bugs-To: http://community.rtcamp.com/c/rtmedia/\n"
|
7 |
-
"POT-Creation-Date: 2016-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -24,436 +24,436 @@ msgstr ""
|
|
24 |
"X-Poedit-Bookmarks: \n"
|
25 |
"X-Textdomain-Support: yes\n"
|
26 |
|
27 |
-
#: app/admin/RTMediaAdmin.php:
|
28 |
msgid ""
|
29 |
"Install <a href=\"https://wordpress.org/plugins/transcoder/\" "
|
30 |
"target=\"_blank\">Transcoder plugin</a> to convert audio/video files and "
|
31 |
-
"
|
32 |
msgstr ""
|
33 |
|
34 |
-
#: app/admin/RTMediaAdmin.php:
|
35 |
msgid "View “%s”"
|
36 |
msgstr ""
|
37 |
|
38 |
-
#: app/admin/RTMediaAdmin.php:
|
39 |
msgid "View"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: app/admin/RTMediaAdmin.php:
|
43 |
msgid "rtMedia: "
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: app/admin/RTMediaAdmin.php:
|
47 |
msgid "We have released 30+ premium add-ons for rtMedia plugin. Read more about it "
|
48 |
msgstr ""
|
49 |
|
50 |
-
#: app/admin/RTMediaAdmin.php:
|
51 |
-
#: app/admin/RTMediaAdmin.php:
|
52 |
#: app/admin/RTMediaFormHandler.php:435 app/admin/RTMediaFormHandler.php:446
|
53 |
#: app/helper/RTMediaSettings.php:297 app/helper/RTMediaSupport.php:383
|
54 |
#: app/helper/RTMediaSupport.php:652
|
55 |
msgid "here"
|
56 |
msgstr ""
|
57 |
|
58 |
-
#: app/admin/RTMediaAdmin.php:
|
59 |
msgid "Meet "
|
60 |
msgstr ""
|
61 |
|
62 |
-
#: app/admin/RTMediaAdmin.php:
|
63 |
msgid "rtMedia Social Sync"
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: app/admin/RTMediaAdmin.php:
|
67 |
msgid " which allows you to import media from your Facebook account."
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: app/admin/RTMediaAdmin.php:
|
71 |
msgid "Meet InspireBook"
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: app/admin/RTMediaAdmin.php:
|
75 |
msgid " - First official rtMedia premium theme."
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: app/admin/RTMediaAdmin.php:
|
79 |
msgid "rtMedia:"
|
80 |
msgstr ""
|
81 |
|
82 |
-
#: app/admin/RTMediaAdmin.php:
|
83 |
msgid " You must"
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: app/admin/RTMediaAdmin.php:
|
87 |
msgid "update permalink structure"
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: app/admin/RTMediaAdmin.php:
|
91 |
msgid "to something other than the default for it to work."
|
92 |
msgstr ""
|
93 |
|
94 |
-
#: app/admin/RTMediaAdmin.php:
|
95 |
-
msgid "Please update all premium add-ons that you have purchased from
|
96 |
msgstr ""
|
97 |
|
98 |
-
#: app/admin/RTMediaAdmin.php:
|
99 |
msgid "your account"
|
100 |
msgstr ""
|
101 |
|
102 |
-
#: app/admin/RTMediaAdmin.php:
|
103 |
msgid "Dismiss"
|
104 |
msgstr ""
|
105 |
|
106 |
-
#: app/admin/RTMediaAdmin.php:
|
107 |
msgid "rtMedia Pro is released"
|
108 |
msgstr ""
|
109 |
|
110 |
-
#: app/admin/RTMediaAdmin.php:
|
111 |
msgid "Media Stats"
|
112 |
msgstr ""
|
113 |
|
114 |
-
#: app/admin/RTMediaAdmin.php:
|
115 |
msgid "Usage Stats"
|
116 |
msgstr ""
|
117 |
|
118 |
-
#: app/admin/RTMediaAdmin.php:
|
119 |
msgid "Total "
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: app/admin/RTMediaAdmin.php:
|
123 |
msgid "With Media"
|
124 |
msgstr ""
|
125 |
|
126 |
-
#: app/admin/RTMediaAdmin.php:
|
127 |
msgid "Comments "
|
128 |
msgstr ""
|
129 |
|
130 |
-
#: app/admin/RTMediaAdmin.php:
|
131 |
msgid "Likes"
|
132 |
msgstr ""
|
133 |
|
134 |
-
#: app/admin/RTMediaAdmin.php:
|
135 |
msgid "rtMedia Links:"
|
136 |
msgstr ""
|
137 |
|
138 |
-
#: app/admin/RTMediaAdmin.php:
|
139 |
msgid "Homepage"
|
140 |
msgstr ""
|
141 |
|
142 |
-
#: app/admin/RTMediaAdmin.php:
|
143 |
msgid "Free Support"
|
144 |
msgstr ""
|
145 |
|
146 |
-
#: app/admin/RTMediaAdmin.php:
|
147 |
msgid "Premium Addons"
|
148 |
msgstr ""
|
149 |
|
150 |
-
#: app/admin/RTMediaAdmin.php:
|
151 |
msgid "Right Now in rtMedia"
|
152 |
msgstr ""
|
153 |
|
154 |
-
#: app/admin/RTMediaAdmin.php:
|
155 |
-
#: app/admin/RTMediaAdmin.php:
|
156 |
-
#: app/admin/RTMediaAdmin.php:
|
157 |
msgid "Settings"
|
158 |
msgstr ""
|
159 |
|
160 |
-
#: app/admin/RTMediaAdmin.php:
|
161 |
-
#: app/admin/RTMediaAdmin.php:
|
162 |
-
#: app/admin/RTMediaAdmin.php:
|
163 |
#: app/helper/RTMediaSupport.php:52 app/helper/RTMediaSupport.php:53
|
164 |
msgid "Support"
|
165 |
msgstr ""
|
166 |
|
167 |
-
#: app/admin/RTMediaAdmin.php:
|
168 |
-
#: app/admin/RTMediaAdmin.php:
|
169 |
#: app/importers/RTMediaMigration.php:68 app/main/RTMedia.php:908
|
170 |
msgid "rtMedia"
|
171 |
msgstr ""
|
172 |
|
173 |
-
#: app/admin/RTMediaAdmin.php:
|
174 |
-
#: app/admin/RTMediaAdmin.php:
|
175 |
msgid "Addons"
|
176 |
msgstr ""
|
177 |
|
178 |
-
#: app/admin/RTMediaAdmin.php:
|
179 |
-
#: app/admin/RTMediaAdmin.php:
|
180 |
msgid "Themes"
|
181 |
msgstr ""
|
182 |
|
183 |
-
#: app/admin/RTMediaAdmin.php:
|
184 |
-
#: app/admin/RTMediaAdmin.php:
|
185 |
msgid "Hire Us"
|
186 |
msgstr ""
|
187 |
|
188 |
-
#: app/admin/RTMediaAdmin.php:
|
189 |
-
#: app/admin/RTMediaAdmin.php:
|
190 |
msgid "Licenses"
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: app/admin/RTMediaAdmin.php:
|
194 |
msgid "ON"
|
195 |
msgstr ""
|
196 |
|
197 |
-
#: app/admin/RTMediaAdmin.php:
|
198 |
msgid "OFF"
|
199 |
msgstr ""
|
200 |
|
201 |
-
#: app/admin/RTMediaAdmin.php:
|
202 |
msgid "Please do not refresh this page."
|
203 |
msgstr ""
|
204 |
|
205 |
-
#: app/admin/RTMediaAdmin.php:
|
206 |
msgid "Something went wrong. Please "
|
207 |
msgstr ""
|
208 |
|
209 |
-
#: app/admin/RTMediaAdmin.php:
|
210 |
msgid "refresh"
|
211 |
msgstr ""
|
212 |
|
213 |
-
#: app/admin/RTMediaAdmin.php:
|
214 |
msgid " page."
|
215 |
msgstr ""
|
216 |
|
217 |
-
#: app/admin/RTMediaAdmin.php:
|
218 |
msgid "This will subscribe you to the free plan."
|
219 |
msgstr ""
|
220 |
|
221 |
-
#: app/admin/RTMediaAdmin.php:
|
222 |
msgid "Are you sure you want to disable the encoding service?"
|
223 |
msgstr ""
|
224 |
|
225 |
-
#: app/admin/RTMediaAdmin.php:
|
226 |
msgid "Are you sure you want to enable the encoding service?"
|
227 |
msgstr ""
|
228 |
|
229 |
-
#: app/admin/RTMediaAdmin.php:
|
230 |
msgid "Settings have changed, you should save them!"
|
231 |
msgstr ""
|
232 |
|
233 |
-
#: app/admin/RTMediaAdmin.php:
|
234 |
msgid ""
|
235 |
"Number of video thumbnails to be generated should be greater than 0 in "
|
236 |
"media sizes settings. Setting it to default value 2."
|
237 |
msgstr ""
|
238 |
|
239 |
-
#: app/admin/RTMediaAdmin.php:
|
240 |
msgid ""
|
241 |
"Invalid value for number of video thumbnails in media sizes settings. "
|
242 |
"Setting it to round value"
|
243 |
msgstr ""
|
244 |
|
245 |
-
#: app/admin/RTMediaAdmin.php:
|
246 |
msgid ""
|
247 |
"Number of percentage in JPEG image quality should be greater than 0 in "
|
248 |
"media sizes settings. Setting it to default value 90."
|
249 |
msgstr ""
|
250 |
|
251 |
-
#: app/admin/RTMediaAdmin.php:
|
252 |
msgid ""
|
253 |
"Number of percentage in JPEG image quality should be less than 100 in media "
|
254 |
"sizes settings. Setting it to 100."
|
255 |
msgstr ""
|
256 |
|
257 |
-
#: app/admin/RTMediaAdmin.php:
|
258 |
msgid ""
|
259 |
"Invalid value for percentage in JPEG image quality in media sizes settings. "
|
260 |
"Setting it to round value"
|
261 |
msgstr ""
|
262 |
|
263 |
-
#: app/admin/RTMediaAdmin.php:
|
264 |
msgid ""
|
265 |
"Please enter positive integer value only. Setting number of media per page "
|
266 |
"value to default value 10."
|
267 |
msgstr ""
|
268 |
|
269 |
-
#: app/admin/RTMediaAdmin.php:
|
270 |
msgid ""
|
271 |
"Please enter positive integer value only. Setting number of media per page "
|
272 |
"value to round value"
|
273 |
msgstr ""
|
274 |
|
275 |
-
#: app/admin/RTMediaAdmin.php:
|
276 |
msgid "Request failed."
|
277 |
msgstr ""
|
278 |
|
279 |
-
#: app/admin/RTMediaAdmin.php:
|
280 |
msgid "Please enter WP Admin Login."
|
281 |
msgstr ""
|
282 |
|
283 |
-
#: app/admin/RTMediaAdmin.php:
|
284 |
msgid "Please enter WP Admin password."
|
285 |
msgstr ""
|
286 |
|
287 |
-
#: app/admin/RTMediaAdmin.php:
|
288 |
msgid "Please enter SSH / FTP host."
|
289 |
msgstr ""
|
290 |
|
291 |
-
#: app/admin/RTMediaAdmin.php:
|
292 |
msgid "Please enter SSH / FTP login."
|
293 |
msgstr ""
|
294 |
|
295 |
-
#: app/admin/RTMediaAdmin.php:
|
296 |
msgid "Please enter SSH / FTP password."
|
297 |
msgstr ""
|
298 |
|
299 |
-
#: app/admin/RTMediaAdmin.php:
|
300 |
msgid "Please fill all the fields."
|
301 |
msgstr ""
|
302 |
|
303 |
-
#: app/admin/RTMediaAdmin.php:
|
304 |
msgid "Empowering The Web With WordPress"
|
305 |
msgstr ""
|
306 |
|
307 |
-
#: app/admin/RTMediaAdmin.php:
|
308 |
msgid "Settings saved successfully!"
|
309 |
msgstr ""
|
310 |
|
311 |
-
#: app/admin/RTMediaAdmin.php:
|
312 |
msgid "Save Settings"
|
313 |
msgstr ""
|
314 |
|
315 |
-
#: app/admin/RTMediaAdmin.php:
|
316 |
msgid "Display"
|
317 |
msgstr ""
|
318 |
|
319 |
-
#: app/admin/RTMediaAdmin.php:
|
320 |
msgid "rtMedia BuddyPress"
|
321 |
msgstr ""
|
322 |
|
323 |
-
#: app/admin/RTMediaAdmin.php:
|
324 |
msgid "BuddyPress"
|
325 |
msgstr ""
|
326 |
|
327 |
-
#: app/admin/RTMediaAdmin.php:
|
328 |
msgid "rtMedia Types"
|
329 |
msgstr ""
|
330 |
|
331 |
-
#: app/admin/RTMediaAdmin.php:
|
332 |
msgid "Types"
|
333 |
msgstr ""
|
334 |
|
335 |
-
#: app/admin/RTMediaAdmin.php:
|
336 |
msgid "rtMedia Sizes"
|
337 |
msgstr ""
|
338 |
|
339 |
-
#: app/admin/RTMediaAdmin.php:
|
340 |
msgid "Media Sizes"
|
341 |
msgstr ""
|
342 |
|
343 |
-
#: app/admin/RTMediaAdmin.php:
|
344 |
msgid "rtMedia Privacy"
|
345 |
msgstr ""
|
346 |
|
347 |
-
#: app/admin/RTMediaAdmin.php:
|
348 |
#: app/main/controllers/privacy/RTMediaPrivacy.php:417
|
349 |
msgid "Privacy"
|
350 |
msgstr ""
|
351 |
|
352 |
-
#: app/admin/RTMediaAdmin.php:
|
353 |
msgid "rtMedia Custom CSS"
|
354 |
msgstr ""
|
355 |
|
356 |
-
#: app/admin/RTMediaAdmin.php:
|
357 |
msgid "Custom CSS"
|
358 |
msgstr ""
|
359 |
|
360 |
-
#: app/admin/RTMediaAdmin.php:
|
361 |
msgid "Other Settings"
|
362 |
msgstr ""
|
363 |
|
364 |
-
#: app/admin/RTMediaAdmin.php:
|
365 |
msgid "I use @rtMediaWP http://rt.cx/rtmedia on %s"
|
366 |
msgstr ""
|
367 |
|
368 |
-
#: app/admin/RTMediaAdmin.php:
|
369 |
msgid "Post to Twitter Now"
|
370 |
msgstr ""
|
371 |
|
372 |
-
#: app/admin/RTMediaAdmin.php:
|
373 |
msgid "Post to Twitter"
|
374 |
msgstr ""
|
375 |
|
376 |
-
#: app/admin/RTMediaAdmin.php:
|
377 |
msgid "Share on Facebook Now"
|
378 |
msgstr ""
|
379 |
|
380 |
-
#: app/admin/RTMediaAdmin.php:
|
381 |
msgid "Share on Facebook"
|
382 |
msgstr ""
|
383 |
|
384 |
-
#: app/admin/RTMediaAdmin.php:
|
385 |
msgid "Rate rtMedia on Wordpress.org"
|
386 |
msgstr ""
|
387 |
|
388 |
-
#: app/admin/RTMediaAdmin.php:
|
389 |
msgid "Rate on Wordpress.org"
|
390 |
msgstr ""
|
391 |
|
392 |
-
#: app/admin/RTMediaAdmin.php:
|
393 |
msgid "Subscribe to our Feeds"
|
394 |
msgstr ""
|
395 |
|
396 |
-
#: app/admin/RTMediaAdmin.php:
|
397 |
msgid "Spread the Word"
|
398 |
msgstr ""
|
399 |
|
400 |
-
#: app/admin/RTMediaAdmin.php:
|
401 |
msgid "Subscribe"
|
402 |
msgstr ""
|
403 |
|
404 |
-
#: app/admin/RTMediaAdmin.php:
|
405 |
msgid "Thank you for your time."
|
406 |
msgstr ""
|
407 |
|
408 |
-
#: app/admin/RTMediaAdmin.php:
|
409 |
msgid "Premium Add-ons"
|
410 |
msgstr ""
|
411 |
|
412 |
-
#: app/admin/RTMediaAdmin.php:
|
413 |
msgid ""
|
414 |
"You have images enabled on rtMedia but your network allowed filetypes do "
|
415 |
"not permit uploading of %s. Click "
|
416 |
msgstr ""
|
417 |
|
418 |
-
#: app/admin/RTMediaAdmin.php:
|
419 |
-
#: app/admin/RTMediaAdmin.php:
|
420 |
msgid " to change your settings manually."
|
421 |
msgstr ""
|
422 |
|
423 |
-
#: app/admin/RTMediaAdmin.php:
|
424 |
-
#: app/admin/RTMediaAdmin.php:
|
425 |
msgid "Recommended:"
|
426 |
msgstr ""
|
427 |
|
428 |
-
#: app/admin/RTMediaAdmin.php:
|
429 |
-
#: app/admin/RTMediaAdmin.php:
|
430 |
msgid "Update Network Settings Automatically"
|
431 |
msgstr ""
|
432 |
|
433 |
-
#: app/admin/RTMediaAdmin.php:
|
434 |
msgid ""
|
435 |
"You have video enabled on BuddyPress Media but your network allowed "
|
436 |
"filetypes do not permit uploading of mp4. Click "
|
437 |
msgstr ""
|
438 |
|
439 |
-
#: app/admin/RTMediaAdmin.php:
|
440 |
msgid ""
|
441 |
"You have audio enabled on BuddyPress Media but your network allowed "
|
442 |
"filetypes do not permit uploading of mp3. Click "
|
443 |
msgstr ""
|
444 |
|
445 |
-
#: app/admin/RTMediaAdmin.php:
|
446 |
msgid "Network settings updated successfully."
|
447 |
msgstr ""
|
448 |
|
449 |
-
#: app/admin/RTMediaAdmin.php:
|
450 |
msgid ""
|
451 |
"Please update rtMedia template files if you have overridden the default "
|
452 |
"rtMedia templates in your theme. If not, you can ignore and hide this "
|
453 |
"notice."
|
454 |
msgstr ""
|
455 |
|
456 |
-
#: app/admin/RTMediaAdmin.php:
|
457 |
#: app/importers/RTMediaMediaSizeImporter.php:73
|
458 |
#: app/importers/RTMediaMigration.php:68
|
459 |
msgid "Hide"
|
@@ -2041,7 +2041,7 @@ msgid "All"
|
|
2041 |
msgstr ""
|
2042 |
|
2043 |
#: app/main/RTMedia.php:617 app/main/controllers/media/RTMediaAlbum.php:54
|
2044 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2045 |
#: app/main/controllers/upload/RTMediaUploadView.php:52
|
2046 |
#: app/main/controllers/upload/RTMediaUploadView.php:55
|
2047 |
msgid "Album"
|
@@ -2054,8 +2054,8 @@ msgid "Albums"
|
|
2054 |
msgstr ""
|
2055 |
|
2056 |
#: app/main/RTMedia.php:631 app/main/controllers/media/RTMediaLoginPopup.php:38
|
2057 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2058 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2059 |
msgid "Upload"
|
2060 |
msgstr ""
|
2061 |
|
@@ -2162,16 +2162,16 @@ msgstr ""
|
|
2162 |
#: app/main/RTMedia.php:985
|
2163 |
#: app/main/controllers/media/RTMediaGalleryItemAction.php:63
|
2164 |
#: app/main/controllers/media/RTMediaGalleryItemAction.php:80
|
2165 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2166 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2167 |
msgid "Edit"
|
2168 |
msgstr ""
|
2169 |
|
2170 |
#: app/main/RTMedia.php:986
|
2171 |
#: app/main/controllers/media/RTMediaGalleryItemAction.php:67
|
2172 |
#: app/main/controllers/media/RTMediaGalleryItemAction.php:80
|
2173 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2174 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2175 |
#: templates/media/album-single-edit.php:78
|
2176 |
msgid "Delete"
|
2177 |
msgstr ""
|
@@ -2246,7 +2246,7 @@ msgstr ""
|
|
2246 |
|
2247 |
#: app/main/controllers/activity/RTMediaBuddyPressActivity.php:323
|
2248 |
#: app/main/controllers/shortcodes/RTMediaUploadShortcode.php:100
|
2249 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2250 |
msgid "You are not allowed to upload/attach media."
|
2251 |
msgstr ""
|
2252 |
|
@@ -2557,12 +2557,12 @@ msgid "Create"
|
|
2557 |
msgstr ""
|
2558 |
|
2559 |
#: app/main/controllers/media/RTMediaAlbum.php:56
|
2560 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2561 |
msgid "Create Album"
|
2562 |
msgstr ""
|
2563 |
|
2564 |
#: app/main/controllers/media/RTMediaAlbum.php:57
|
2565 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2566 |
msgid "Edit Album"
|
2567 |
msgstr ""
|
2568 |
|
@@ -2608,8 +2608,8 @@ msgstr ""
|
|
2608 |
msgid "Unset Featured"
|
2609 |
msgstr ""
|
2610 |
|
2611 |
-
#: app/main/controllers/media/RTMediaFeatured.php:
|
2612 |
-
#: app/main/controllers/media/RTMediaGroupFeatured.php:
|
2613 |
msgid "Media type is not allowed"
|
2614 |
msgstr ""
|
2615 |
|
@@ -2632,8 +2632,8 @@ msgid "Unlike"
|
|
2632 |
msgstr ""
|
2633 |
|
2634 |
#: app/main/controllers/media/RTMediaLoginPopup.php:38
|
2635 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2636 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2637 |
msgid "Upload Media"
|
2638 |
msgstr ""
|
2639 |
|
@@ -2725,172 +2725,172 @@ msgstr ""
|
|
2725 |
msgid "Error in updating Media"
|
2726 |
msgstr ""
|
2727 |
|
2728 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2729 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2730 |
msgid "Options"
|
2731 |
msgstr ""
|
2732 |
|
2733 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2734 |
msgid "There are no comments on this media yet."
|
2735 |
msgstr ""
|
2736 |
|
2737 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2738 |
msgid "Delete Comment"
|
2739 |
msgstr ""
|
2740 |
|
2741 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2742 |
msgid "Go to page no : "
|
2743 |
msgstr ""
|
2744 |
|
2745 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2746 |
msgid "Go"
|
2747 |
msgstr ""
|
2748 |
|
2749 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2750 |
msgid "Image"
|
2751 |
msgstr ""
|
2752 |
|
2753 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2754 |
msgid "Modify Image"
|
2755 |
msgstr ""
|
2756 |
|
2757 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2758 |
msgid "Type Comment..."
|
2759 |
msgstr ""
|
2760 |
|
2761 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2762 |
#: templates/media/media-single.php:98 templates/media/media-single.php:141
|
2763 |
msgid "Comment"
|
2764 |
msgstr ""
|
2765 |
|
2766 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2767 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2768 |
msgid "Delete Media"
|
2769 |
msgstr ""
|
2770 |
|
2771 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2772 |
msgid "Profile Albums"
|
2773 |
msgstr ""
|
2774 |
|
2775 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2776 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2777 |
msgid "Group Albums"
|
2778 |
msgstr ""
|
2779 |
|
2780 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2781 |
msgid "Create New Album"
|
2782 |
msgstr ""
|
2783 |
|
2784 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2785 |
msgid "Add Album"
|
2786 |
msgstr ""
|
2787 |
|
2788 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2789 |
msgid "Create an Album"
|
2790 |
msgstr ""
|
2791 |
|
2792 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2793 |
msgid "Album Title : "
|
2794 |
msgstr ""
|
2795 |
|
2796 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2797 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2798 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2799 |
msgid "Merge Album"
|
2800 |
msgstr ""
|
2801 |
|
2802 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2803 |
msgid "Select Album to merge with : "
|
2804 |
msgstr ""
|
2805 |
|
2806 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2807 |
msgid "Delete Album"
|
2808 |
msgstr ""
|
2809 |
|
2810 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2811 |
msgid "Merge"
|
2812 |
msgstr ""
|
2813 |
|
2814 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2815 |
msgid "Privacy : "
|
2816 |
msgstr ""
|
2817 |
|
2818 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2819 |
msgid "people like this"
|
2820 |
msgstr ""
|
2821 |
|
2822 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2823 |
msgid "Empowering your community with "
|
2824 |
msgstr ""
|
2825 |
|
2826 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2827 |
msgid "The only complete media solution for WordPress, BuddyPress and bbPress"
|
2828 |
msgstr ""
|
2829 |
|
2830 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2831 |
msgid "Close (Esc)"
|
2832 |
msgstr ""
|
2833 |
|
2834 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2835 |
msgid "Public"
|
2836 |
msgstr ""
|
2837 |
|
2838 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2839 |
msgid "All members"
|
2840 |
msgstr ""
|
2841 |
|
2842 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2843 |
msgid "Your friends"
|
2844 |
msgstr ""
|
2845 |
|
2846 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2847 |
msgid "Only you"
|
2848 |
msgstr ""
|
2849 |
|
2850 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2851 |
msgid "Blocked temporarily"
|
2852 |
msgstr ""
|
2853 |
|
2854 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2855 |
msgid "%s ago "
|
2856 |
msgstr ""
|
2857 |
|
2858 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2859 |
msgid "1 second"
|
2860 |
msgid_plural "%s seconds"
|
2861 |
msgstr[0] ""
|
2862 |
msgstr[1] ""
|
2863 |
|
2864 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2865 |
msgid "1 minute"
|
2866 |
msgid_plural "%s minutes"
|
2867 |
msgstr[0] ""
|
2868 |
msgstr[1] ""
|
2869 |
|
2870 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2871 |
msgid "1 hour"
|
2872 |
msgid_plural "%s hours"
|
2873 |
msgstr[0] ""
|
2874 |
msgstr[1] ""
|
2875 |
|
2876 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2877 |
#. translators: date format, see http:php.net/date
|
2878 |
msgid "You can consider rtMedia Team for following :"
|
2879 |
msgstr ""
|
2880 |
|
2881 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2882 |
msgid "rtMedia Customization ( in Upgrade Safe manner )"
|
2883 |
msgstr ""
|
2884 |
|
2885 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2886 |
msgid "WordPress/BuddyPress Theme Design and Development"
|
2887 |
msgstr ""
|
2888 |
|
2889 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2890 |
msgid "WordPress/BuddyPress Plugin Development"
|
2891 |
msgstr ""
|
2892 |
|
2893 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2894 |
msgid "Contact Us"
|
2895 |
msgstr ""
|
2896 |
|
2 |
# This file is distributed under the same license as the rtMedia for WordPress, BuddyPress and bbPress package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: rtMedia for WordPress, BuddyPress and bbPress 4.1.3\n"
|
6 |
"Report-Msgid-Bugs-To: http://community.rtcamp.com/c/rtmedia/\n"
|
7 |
+
"POT-Creation-Date: 2016-09-13 08:29:35+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
24 |
"X-Poedit-Bookmarks: \n"
|
25 |
"X-Textdomain-Support: yes\n"
|
26 |
|
27 |
+
#: app/admin/RTMediaAdmin.php:144
|
28 |
msgid ""
|
29 |
"Install <a href=\"https://wordpress.org/plugins/transcoder/\" "
|
30 |
"target=\"_blank\">Transcoder plugin</a> to convert audio/video files and "
|
31 |
+
"thumbnails generation."
|
32 |
msgstr ""
|
33 |
|
34 |
+
#: app/admin/RTMediaAdmin.php:190
|
35 |
msgid "View “%s”"
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: app/admin/RTMediaAdmin.php:190
|
39 |
msgid "View"
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: app/admin/RTMediaAdmin.php:257 app/admin/RTMediaAdmin.php:309
|
43 |
msgid "rtMedia: "
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: app/admin/RTMediaAdmin.php:258
|
47 |
msgid "We have released 30+ premium add-ons for rtMedia plugin. Read more about it "
|
48 |
msgstr ""
|
49 |
|
50 |
+
#: app/admin/RTMediaAdmin.php:260 app/admin/RTMediaAdmin.php:1612
|
51 |
+
#: app/admin/RTMediaAdmin.php:1630 app/admin/RTMediaAdmin.php:1648
|
52 |
#: app/admin/RTMediaFormHandler.php:435 app/admin/RTMediaFormHandler.php:446
|
53 |
#: app/helper/RTMediaSettings.php:297 app/helper/RTMediaSupport.php:383
|
54 |
#: app/helper/RTMediaSupport.php:652
|
55 |
msgid "here"
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: app/admin/RTMediaAdmin.php:310
|
59 |
msgid "Meet "
|
60 |
msgstr ""
|
61 |
|
62 |
+
#: app/admin/RTMediaAdmin.php:313
|
63 |
msgid "rtMedia Social Sync"
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: app/admin/RTMediaAdmin.php:315
|
67 |
msgid " which allows you to import media from your Facebook account."
|
68 |
msgstr ""
|
69 |
|
70 |
+
#: app/admin/RTMediaAdmin.php:368
|
71 |
msgid "Meet InspireBook"
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: app/admin/RTMediaAdmin.php:370
|
75 |
msgid " - First official rtMedia premium theme."
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: app/admin/RTMediaAdmin.php:454 app/admin/RTMediaAdmin.php:479
|
79 |
msgid "rtMedia:"
|
80 |
msgstr ""
|
81 |
|
82 |
+
#: app/admin/RTMediaAdmin.php:454
|
83 |
msgid " You must"
|
84 |
msgstr ""
|
85 |
|
86 |
+
#: app/admin/RTMediaAdmin.php:454
|
87 |
msgid "update permalink structure"
|
88 |
msgstr ""
|
89 |
|
90 |
+
#: app/admin/RTMediaAdmin.php:454
|
91 |
msgid "to something other than the default for it to work."
|
92 |
msgstr ""
|
93 |
|
94 |
+
#: app/admin/RTMediaAdmin.php:480
|
95 |
+
msgid "Please update all premium add-ons that you have purchased from"
|
96 |
msgstr ""
|
97 |
|
98 |
+
#: app/admin/RTMediaAdmin.php:482
|
99 |
msgid "your account"
|
100 |
msgstr ""
|
101 |
|
102 |
+
#: app/admin/RTMediaAdmin.php:484
|
103 |
msgid "Dismiss"
|
104 |
msgstr ""
|
105 |
|
106 |
+
#: app/admin/RTMediaAdmin.php:599
|
107 |
msgid "rtMedia Pro is released"
|
108 |
msgstr ""
|
109 |
|
110 |
+
#: app/admin/RTMediaAdmin.php:620
|
111 |
msgid "Media Stats"
|
112 |
msgstr ""
|
113 |
|
114 |
+
#: app/admin/RTMediaAdmin.php:650
|
115 |
msgid "Usage Stats"
|
116 |
msgstr ""
|
117 |
|
118 |
+
#: app/admin/RTMediaAdmin.php:662
|
119 |
msgid "Total "
|
120 |
msgstr ""
|
121 |
|
122 |
+
#: app/admin/RTMediaAdmin.php:673
|
123 |
msgid "With Media"
|
124 |
msgstr ""
|
125 |
|
126 |
+
#: app/admin/RTMediaAdmin.php:684
|
127 |
msgid "Comments "
|
128 |
msgstr ""
|
129 |
|
130 |
+
#: app/admin/RTMediaAdmin.php:695 app/main/controllers/media/RTMediaLike.php:19
|
131 |
msgid "Likes"
|
132 |
msgstr ""
|
133 |
|
134 |
+
#: app/admin/RTMediaAdmin.php:705
|
135 |
msgid "rtMedia Links:"
|
136 |
msgstr ""
|
137 |
|
138 |
+
#: app/admin/RTMediaAdmin.php:706
|
139 |
msgid "Homepage"
|
140 |
msgstr ""
|
141 |
|
142 |
+
#: app/admin/RTMediaAdmin.php:708
|
143 |
msgid "Free Support"
|
144 |
msgstr ""
|
145 |
|
146 |
+
#: app/admin/RTMediaAdmin.php:711
|
147 |
msgid "Premium Addons"
|
148 |
msgstr ""
|
149 |
|
150 |
+
#: app/admin/RTMediaAdmin.php:728
|
151 |
msgid "Right Now in rtMedia"
|
152 |
msgstr ""
|
153 |
|
154 |
+
#: app/admin/RTMediaAdmin.php:763 app/admin/RTMediaAdmin.php:797
|
155 |
+
#: app/admin/RTMediaAdmin.php:800 app/admin/RTMediaAdmin.php:975
|
156 |
+
#: app/admin/RTMediaAdmin.php:1322
|
157 |
msgid "Settings"
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: app/admin/RTMediaAdmin.php:765 app/admin/RTMediaAdmin.php:821
|
161 |
+
#: app/admin/RTMediaAdmin.php:824 app/admin/RTMediaAdmin.php:985
|
162 |
+
#: app/admin/RTMediaAdmin.php:1348 app/helper/RTMediaSettings.php:221
|
163 |
#: app/helper/RTMediaSupport.php:52 app/helper/RTMediaSupport.php:53
|
164 |
msgid "Support"
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: app/admin/RTMediaAdmin.php:790 app/admin/RTMediaAdmin.php:1294
|
168 |
+
#: app/admin/RTMediaAdmin.php:1295 app/importers/RTMediaActivityUpgrade.php:116
|
169 |
#: app/importers/RTMediaMigration.php:68 app/main/RTMedia.php:908
|
170 |
msgid "rtMedia"
|
171 |
msgstr ""
|
172 |
|
173 |
+
#: app/admin/RTMediaAdmin.php:809 app/admin/RTMediaAdmin.php:812
|
174 |
+
#: app/admin/RTMediaAdmin.php:980 app/admin/RTMediaAdmin.php:1327
|
175 |
msgid "Addons"
|
176 |
msgstr ""
|
177 |
|
178 |
+
#: app/admin/RTMediaAdmin.php:833 app/admin/RTMediaAdmin.php:836
|
179 |
+
#: app/admin/RTMediaAdmin.php:991 app/admin/RTMediaAdmin.php:1335
|
180 |
msgid "Themes"
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: app/admin/RTMediaAdmin.php:846 app/admin/RTMediaAdmin.php:849
|
184 |
+
#: app/admin/RTMediaAdmin.php:998 app/admin/RTMediaAdmin.php:1341
|
185 |
msgid "Hire Us"
|
186 |
msgstr ""
|
187 |
|
188 |
+
#: app/admin/RTMediaAdmin.php:859 app/admin/RTMediaAdmin.php:862
|
189 |
+
#: app/admin/RTMediaAdmin.php:1005 app/admin/RTMediaAdmin.php:1355
|
190 |
msgid "Licenses"
|
191 |
msgstr ""
|
192 |
|
193 |
+
#: app/admin/RTMediaAdmin.php:913
|
194 |
msgid "ON"
|
195 |
msgstr ""
|
196 |
|
197 |
+
#: app/admin/RTMediaAdmin.php:914
|
198 |
msgid "OFF"
|
199 |
msgstr ""
|
200 |
|
201 |
+
#: app/admin/RTMediaAdmin.php:920
|
202 |
msgid "Please do not refresh this page."
|
203 |
msgstr ""
|
204 |
|
205 |
+
#: app/admin/RTMediaAdmin.php:921
|
206 |
msgid "Something went wrong. Please "
|
207 |
msgstr ""
|
208 |
|
209 |
+
#: app/admin/RTMediaAdmin.php:921
|
210 |
msgid "refresh"
|
211 |
msgstr ""
|
212 |
|
213 |
+
#: app/admin/RTMediaAdmin.php:921
|
214 |
msgid " page."
|
215 |
msgstr ""
|
216 |
|
217 |
+
#: app/admin/RTMediaAdmin.php:922
|
218 |
msgid "This will subscribe you to the free plan."
|
219 |
msgstr ""
|
220 |
|
221 |
+
#: app/admin/RTMediaAdmin.php:923
|
222 |
msgid "Are you sure you want to disable the encoding service?"
|
223 |
msgstr ""
|
224 |
|
225 |
+
#: app/admin/RTMediaAdmin.php:924
|
226 |
msgid "Are you sure you want to enable the encoding service?"
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: app/admin/RTMediaAdmin.php:925
|
230 |
msgid "Settings have changed, you should save them!"
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: app/admin/RTMediaAdmin.php:926
|
234 |
msgid ""
|
235 |
"Number of video thumbnails to be generated should be greater than 0 in "
|
236 |
"media sizes settings. Setting it to default value 2."
|
237 |
msgstr ""
|
238 |
|
239 |
+
#: app/admin/RTMediaAdmin.php:927
|
240 |
msgid ""
|
241 |
"Invalid value for number of video thumbnails in media sizes settings. "
|
242 |
"Setting it to round value"
|
243 |
msgstr ""
|
244 |
|
245 |
+
#: app/admin/RTMediaAdmin.php:928
|
246 |
msgid ""
|
247 |
"Number of percentage in JPEG image quality should be greater than 0 in "
|
248 |
"media sizes settings. Setting it to default value 90."
|
249 |
msgstr ""
|
250 |
|
251 |
+
#: app/admin/RTMediaAdmin.php:929
|
252 |
msgid ""
|
253 |
"Number of percentage in JPEG image quality should be less than 100 in media "
|
254 |
"sizes settings. Setting it to 100."
|
255 |
msgstr ""
|
256 |
|
257 |
+
#: app/admin/RTMediaAdmin.php:930
|
258 |
msgid ""
|
259 |
"Invalid value for percentage in JPEG image quality in media sizes settings. "
|
260 |
"Setting it to round value"
|
261 |
msgstr ""
|
262 |
|
263 |
+
#: app/admin/RTMediaAdmin.php:931
|
264 |
msgid ""
|
265 |
"Please enter positive integer value only. Setting number of media per page "
|
266 |
"value to default value 10."
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: app/admin/RTMediaAdmin.php:932
|
270 |
msgid ""
|
271 |
"Please enter positive integer value only. Setting number of media per page "
|
272 |
"value to round value"
|
273 |
msgstr ""
|
274 |
|
275 |
+
#: app/admin/RTMediaAdmin.php:933
|
276 |
msgid "Request failed."
|
277 |
msgstr ""
|
278 |
|
279 |
+
#: app/admin/RTMediaAdmin.php:941
|
280 |
msgid "Please enter WP Admin Login."
|
281 |
msgstr ""
|
282 |
|
283 |
+
#: app/admin/RTMediaAdmin.php:942
|
284 |
msgid "Please enter WP Admin password."
|
285 |
msgstr ""
|
286 |
|
287 |
+
#: app/admin/RTMediaAdmin.php:943
|
288 |
msgid "Please enter SSH / FTP host."
|
289 |
msgstr ""
|
290 |
|
291 |
+
#: app/admin/RTMediaAdmin.php:944
|
292 |
msgid "Please enter SSH / FTP login."
|
293 |
msgstr ""
|
294 |
|
295 |
+
#: app/admin/RTMediaAdmin.php:945
|
296 |
msgid "Please enter SSH / FTP password."
|
297 |
msgstr ""
|
298 |
|
299 |
+
#: app/admin/RTMediaAdmin.php:946
|
300 |
msgid "Please fill all the fields."
|
301 |
msgstr ""
|
302 |
|
303 |
+
#: app/admin/RTMediaAdmin.php:1176
|
304 |
msgid "Empowering The Web With WordPress"
|
305 |
msgstr ""
|
306 |
|
307 |
+
#: app/admin/RTMediaAdmin.php:1197
|
308 |
msgid "Settings saved successfully!"
|
309 |
msgstr ""
|
310 |
|
311 |
+
#: app/admin/RTMediaAdmin.php:1203 app/admin/RTMediaAdmin.php:1232
|
312 |
msgid "Save Settings"
|
313 |
msgstr ""
|
314 |
|
315 |
+
#: app/admin/RTMediaAdmin.php:1429 app/admin/RTMediaAdmin.php:1430
|
316 |
msgid "Display"
|
317 |
msgstr ""
|
318 |
|
319 |
+
#: app/admin/RTMediaAdmin.php:1438
|
320 |
msgid "rtMedia BuddyPress"
|
321 |
msgstr ""
|
322 |
|
323 |
+
#: app/admin/RTMediaAdmin.php:1439
|
324 |
msgid "BuddyPress"
|
325 |
msgstr ""
|
326 |
|
327 |
+
#: app/admin/RTMediaAdmin.php:1447
|
328 |
msgid "rtMedia Types"
|
329 |
msgstr ""
|
330 |
|
331 |
+
#: app/admin/RTMediaAdmin.php:1448
|
332 |
msgid "Types"
|
333 |
msgstr ""
|
334 |
|
335 |
+
#: app/admin/RTMediaAdmin.php:1455
|
336 |
msgid "rtMedia Sizes"
|
337 |
msgstr ""
|
338 |
|
339 |
+
#: app/admin/RTMediaAdmin.php:1456
|
340 |
msgid "Media Sizes"
|
341 |
msgstr ""
|
342 |
|
343 |
+
#: app/admin/RTMediaAdmin.php:1463
|
344 |
msgid "rtMedia Privacy"
|
345 |
msgstr ""
|
346 |
|
347 |
+
#: app/admin/RTMediaAdmin.php:1464
|
348 |
#: app/main/controllers/privacy/RTMediaPrivacy.php:417
|
349 |
msgid "Privacy"
|
350 |
msgstr ""
|
351 |
|
352 |
+
#: app/admin/RTMediaAdmin.php:1470
|
353 |
msgid "rtMedia Custom CSS"
|
354 |
msgstr ""
|
355 |
|
356 |
+
#: app/admin/RTMediaAdmin.php:1471
|
357 |
msgid "Custom CSS"
|
358 |
msgstr ""
|
359 |
|
360 |
+
#: app/admin/RTMediaAdmin.php:1480 app/admin/RTMediaAdmin.php:1481
|
361 |
msgid "Other Settings"
|
362 |
msgstr ""
|
363 |
|
364 |
+
#: app/admin/RTMediaAdmin.php:1528
|
365 |
msgid "I use @rtMediaWP http://rt.cx/rtmedia on %s"
|
366 |
msgstr ""
|
367 |
|
368 |
+
#: app/admin/RTMediaAdmin.php:1530
|
369 |
msgid "Post to Twitter Now"
|
370 |
msgstr ""
|
371 |
|
372 |
+
#: app/admin/RTMediaAdmin.php:1530
|
373 |
msgid "Post to Twitter"
|
374 |
msgstr ""
|
375 |
|
376 |
+
#: app/admin/RTMediaAdmin.php:1531
|
377 |
msgid "Share on Facebook Now"
|
378 |
msgstr ""
|
379 |
|
380 |
+
#: app/admin/RTMediaAdmin.php:1531
|
381 |
msgid "Share on Facebook"
|
382 |
msgstr ""
|
383 |
|
384 |
+
#: app/admin/RTMediaAdmin.php:1532
|
385 |
msgid "Rate rtMedia on Wordpress.org"
|
386 |
msgstr ""
|
387 |
|
388 |
+
#: app/admin/RTMediaAdmin.php:1532
|
389 |
msgid "Rate on Wordpress.org"
|
390 |
msgstr ""
|
391 |
|
392 |
+
#: app/admin/RTMediaAdmin.php:1533
|
393 |
msgid "Subscribe to our Feeds"
|
394 |
msgstr ""
|
395 |
|
396 |
+
#: app/admin/RTMediaAdmin.php:1536
|
397 |
msgid "Spread the Word"
|
398 |
msgstr ""
|
399 |
|
400 |
+
#: app/admin/RTMediaAdmin.php:1542 app/admin/RTMediaAdmin.php:1549
|
401 |
msgid "Subscribe"
|
402 |
msgstr ""
|
403 |
|
404 |
+
#: app/admin/RTMediaAdmin.php:1580
|
405 |
msgid "Thank you for your time."
|
406 |
msgstr ""
|
407 |
|
408 |
+
#: app/admin/RTMediaAdmin.php:1593
|
409 |
msgid "Premium Add-ons"
|
410 |
msgstr ""
|
411 |
|
412 |
+
#: app/admin/RTMediaAdmin.php:1611
|
413 |
msgid ""
|
414 |
"You have images enabled on rtMedia but your network allowed filetypes do "
|
415 |
"not permit uploading of %s. Click "
|
416 |
msgstr ""
|
417 |
|
418 |
+
#: app/admin/RTMediaAdmin.php:1613 app/admin/RTMediaAdmin.php:1631
|
419 |
+
#: app/admin/RTMediaAdmin.php:1649
|
420 |
msgid " to change your settings manually."
|
421 |
msgstr ""
|
422 |
|
423 |
+
#: app/admin/RTMediaAdmin.php:1615 app/admin/RTMediaAdmin.php:1633
|
424 |
+
#: app/admin/RTMediaAdmin.php:1651
|
425 |
msgid "Recommended:"
|
426 |
msgstr ""
|
427 |
|
428 |
+
#: app/admin/RTMediaAdmin.php:1616 app/admin/RTMediaAdmin.php:1634
|
429 |
+
#: app/admin/RTMediaAdmin.php:1652
|
430 |
msgid "Update Network Settings Automatically"
|
431 |
msgstr ""
|
432 |
|
433 |
+
#: app/admin/RTMediaAdmin.php:1629
|
434 |
msgid ""
|
435 |
"You have video enabled on BuddyPress Media but your network allowed "
|
436 |
"filetypes do not permit uploading of mp4. Click "
|
437 |
msgstr ""
|
438 |
|
439 |
+
#: app/admin/RTMediaAdmin.php:1647
|
440 |
msgid ""
|
441 |
"You have audio enabled on BuddyPress Media but your network allowed "
|
442 |
"filetypes do not permit uploading of mp3. Click "
|
443 |
msgstr ""
|
444 |
|
445 |
+
#: app/admin/RTMediaAdmin.php:1668
|
446 |
msgid "Network settings updated successfully."
|
447 |
msgstr ""
|
448 |
|
449 |
+
#: app/admin/RTMediaAdmin.php:1721
|
450 |
msgid ""
|
451 |
"Please update rtMedia template files if you have overridden the default "
|
452 |
"rtMedia templates in your theme. If not, you can ignore and hide this "
|
453 |
"notice."
|
454 |
msgstr ""
|
455 |
|
456 |
+
#: app/admin/RTMediaAdmin.php:1721
|
457 |
#: app/importers/RTMediaMediaSizeImporter.php:73
|
458 |
#: app/importers/RTMediaMigration.php:68
|
459 |
msgid "Hide"
|
2041 |
msgstr ""
|
2042 |
|
2043 |
#: app/main/RTMedia.php:617 app/main/controllers/media/RTMediaAlbum.php:54
|
2044 |
+
#: app/main/controllers/template/rt-template-functions.php:1332
|
2045 |
#: app/main/controllers/upload/RTMediaUploadView.php:52
|
2046 |
#: app/main/controllers/upload/RTMediaUploadView.php:55
|
2047 |
msgid "Album"
|
2054 |
msgstr ""
|
2055 |
|
2056 |
#: app/main/RTMedia.php:631 app/main/controllers/media/RTMediaLoginPopup.php:38
|
2057 |
+
#: app/main/controllers/template/rt-template-functions.php:2094
|
2058 |
+
#: app/main/controllers/template/rt-template-functions.php:2098
|
2059 |
msgid "Upload"
|
2060 |
msgstr ""
|
2061 |
|
2162 |
#: app/main/RTMedia.php:985
|
2163 |
#: app/main/controllers/media/RTMediaGalleryItemAction.php:63
|
2164 |
#: app/main/controllers/media/RTMediaGalleryItemAction.php:80
|
2165 |
+
#: app/main/controllers/template/rt-template-functions.php:791
|
2166 |
+
#: app/main/controllers/template/rt-template-functions.php:812
|
2167 |
msgid "Edit"
|
2168 |
msgstr ""
|
2169 |
|
2170 |
#: app/main/RTMedia.php:986
|
2171 |
#: app/main/controllers/media/RTMediaGalleryItemAction.php:67
|
2172 |
#: app/main/controllers/media/RTMediaGalleryItemAction.php:80
|
2173 |
+
#: app/main/controllers/template/rt-template-functions.php:1413
|
2174 |
+
#: app/main/controllers/template/rt-template-functions.php:1420
|
2175 |
#: templates/media/album-single-edit.php:78
|
2176 |
msgid "Delete"
|
2177 |
msgstr ""
|
2246 |
|
2247 |
#: app/main/controllers/activity/RTMediaBuddyPressActivity.php:323
|
2248 |
#: app/main/controllers/shortcodes/RTMediaUploadShortcode.php:100
|
2249 |
+
#: app/main/controllers/template/rt-template-functions.php:1447
|
2250 |
msgid "You are not allowed to upload/attach media."
|
2251 |
msgstr ""
|
2252 |
|
2557 |
msgstr ""
|
2558 |
|
2559 |
#: app/main/controllers/media/RTMediaAlbum.php:56
|
2560 |
+
#: app/main/controllers/template/rt-template-functions.php:1725
|
2561 |
msgid "Create Album"
|
2562 |
msgstr ""
|
2563 |
|
2564 |
#: app/main/controllers/media/RTMediaAlbum.php:57
|
2565 |
+
#: app/main/controllers/template/rt-template-functions.php:1805
|
2566 |
msgid "Edit Album"
|
2567 |
msgstr ""
|
2568 |
|
2608 |
msgid "Unset Featured"
|
2609 |
msgstr ""
|
2610 |
|
2611 |
+
#: app/main/controllers/media/RTMediaFeatured.php:193
|
2612 |
+
#: app/main/controllers/media/RTMediaGroupFeatured.php:195
|
2613 |
msgid "Media type is not allowed"
|
2614 |
msgstr ""
|
2615 |
|
2632 |
msgstr ""
|
2633 |
|
2634 |
#: app/main/controllers/media/RTMediaLoginPopup.php:38
|
2635 |
+
#: app/main/controllers/template/rt-template-functions.php:2094
|
2636 |
+
#: app/main/controllers/template/rt-template-functions.php:2098
|
2637 |
msgid "Upload Media"
|
2638 |
msgstr ""
|
2639 |
|
2725 |
msgid "Error in updating Media"
|
2726 |
msgstr ""
|
2727 |
|
2728 |
+
#: app/main/controllers/template/rt-template-functions.php:767
|
2729 |
+
#: app/main/controllers/template/rt-template-functions.php:1630
|
2730 |
msgid "Options"
|
2731 |
msgstr ""
|
2732 |
|
2733 |
+
#: app/main/controllers/template/rt-template-functions.php:855
|
2734 |
msgid "There are no comments on this media yet."
|
2735 |
msgstr ""
|
2736 |
|
2737 |
+
#: app/main/controllers/template/rt-template-functions.php:891
|
2738 |
msgid "Delete Comment"
|
2739 |
msgstr ""
|
2740 |
|
2741 |
+
#: app/main/controllers/template/rt-template-functions.php:1106
|
2742 |
msgid "Go to page no : "
|
2743 |
msgstr ""
|
2744 |
|
2745 |
+
#: app/main/controllers/template/rt-template-functions.php:1111
|
2746 |
msgid "Go"
|
2747 |
msgstr ""
|
2748 |
|
2749 |
+
#: app/main/controllers/template/rt-template-functions.php:1283
|
2750 |
msgid "Image"
|
2751 |
msgstr ""
|
2752 |
|
2753 |
+
#: app/main/controllers/template/rt-template-functions.php:1300
|
2754 |
msgid "Modify Image"
|
2755 |
msgstr ""
|
2756 |
|
2757 |
+
#: app/main/controllers/template/rt-template-functions.php:1374
|
2758 |
msgid "Type Comment..."
|
2759 |
msgstr ""
|
2760 |
|
2761 |
+
#: app/main/controllers/template/rt-template-functions.php:1377
|
2762 |
#: templates/media/media-single.php:98 templates/media/media-single.php:141
|
2763 |
msgid "Comment"
|
2764 |
msgstr ""
|
2765 |
|
2766 |
+
#: app/main/controllers/template/rt-template-functions.php:1413
|
2767 |
+
#: app/main/controllers/template/rt-template-functions.php:1420
|
2768 |
msgid "Delete Media"
|
2769 |
msgstr ""
|
2770 |
|
2771 |
+
#: app/main/controllers/template/rt-template-functions.php:1574
|
2772 |
msgid "Profile Albums"
|
2773 |
msgstr ""
|
2774 |
|
2775 |
+
#: app/main/controllers/template/rt-template-functions.php:1577
|
2776 |
+
#: app/main/controllers/template/rt-template-functions.php:1609
|
2777 |
msgid "Group Albums"
|
2778 |
msgstr ""
|
2779 |
|
2780 |
+
#: app/main/controllers/template/rt-template-functions.php:1695
|
2781 |
msgid "Create New Album"
|
2782 |
msgstr ""
|
2783 |
|
2784 |
+
#: app/main/controllers/template/rt-template-functions.php:1695
|
2785 |
msgid "Add Album"
|
2786 |
msgstr ""
|
2787 |
|
2788 |
+
#: app/main/controllers/template/rt-template-functions.php:1711
|
2789 |
msgid "Create an Album"
|
2790 |
msgstr ""
|
2791 |
|
2792 |
+
#: app/main/controllers/template/rt-template-functions.php:1714
|
2793 |
msgid "Album Title : "
|
2794 |
msgstr ""
|
2795 |
|
2796 |
+
#: app/main/controllers/template/rt-template-functions.php:1756
|
2797 |
+
#: app/main/controllers/template/rt-template-functions.php:1764
|
2798 |
+
#: app/main/controllers/template/rt-template-functions.php:1815
|
2799 |
msgid "Merge Album"
|
2800 |
msgstr ""
|
2801 |
|
2802 |
+
#: app/main/controllers/template/rt-template-functions.php:1759
|
2803 |
msgid "Select Album to merge with : "
|
2804 |
msgstr ""
|
2805 |
|
2806 |
+
#: app/main/controllers/template/rt-template-functions.php:1806
|
2807 |
msgid "Delete Album"
|
2808 |
msgstr ""
|
2809 |
|
2810 |
+
#: app/main/controllers/template/rt-template-functions.php:1843
|
2811 |
msgid "Merge"
|
2812 |
msgstr ""
|
2813 |
|
2814 |
+
#: app/main/controllers/template/rt-template-functions.php:1902
|
2815 |
msgid "Privacy : "
|
2816 |
msgstr ""
|
2817 |
|
2818 |
+
#: app/main/controllers/template/rt-template-functions.php:2082
|
2819 |
msgid "people like this"
|
2820 |
msgstr ""
|
2821 |
|
2822 |
+
#: app/main/controllers/template/rt-template-functions.php:2177
|
2823 |
msgid "Empowering your community with "
|
2824 |
msgstr ""
|
2825 |
|
2826 |
+
#: app/main/controllers/template/rt-template-functions.php:2179
|
2827 |
msgid "The only complete media solution for WordPress, BuddyPress and bbPress"
|
2828 |
msgstr ""
|
2829 |
|
2830 |
+
#: app/main/controllers/template/rt-template-functions.php:2195
|
2831 |
msgid "Close (Esc)"
|
2832 |
msgstr ""
|
2833 |
|
2834 |
+
#: app/main/controllers/template/rt-template-functions.php:2209
|
2835 |
msgid "Public"
|
2836 |
msgstr ""
|
2837 |
|
2838 |
+
#: app/main/controllers/template/rt-template-functions.php:2213
|
2839 |
msgid "All members"
|
2840 |
msgstr ""
|
2841 |
|
2842 |
+
#: app/main/controllers/template/rt-template-functions.php:2217
|
2843 |
msgid "Your friends"
|
2844 |
msgstr ""
|
2845 |
|
2846 |
+
#: app/main/controllers/template/rt-template-functions.php:2221
|
2847 |
msgid "Only you"
|
2848 |
msgstr ""
|
2849 |
|
2850 |
+
#: app/main/controllers/template/rt-template-functions.php:2225
|
2851 |
msgid "Blocked temporarily"
|
2852 |
msgstr ""
|
2853 |
|
2854 |
+
#: app/main/controllers/template/rt-template-functions.php:2261
|
2855 |
msgid "%s ago "
|
2856 |
msgstr ""
|
2857 |
|
2858 |
+
#: app/main/controllers/template/rt-template-functions.php:2274
|
2859 |
msgid "1 second"
|
2860 |
msgid_plural "%s seconds"
|
2861 |
msgstr[0] ""
|
2862 |
msgstr[1] ""
|
2863 |
|
2864 |
+
#: app/main/controllers/template/rt-template-functions.php:2277
|
2865 |
msgid "1 minute"
|
2866 |
msgid_plural "%s minutes"
|
2867 |
msgstr[0] ""
|
2868 |
msgstr[1] ""
|
2869 |
|
2870 |
+
#: app/main/controllers/template/rt-template-functions.php:2280
|
2871 |
msgid "1 hour"
|
2872 |
msgid_plural "%s hours"
|
2873 |
msgstr[0] ""
|
2874 |
msgstr[1] ""
|
2875 |
|
2876 |
+
#: app/main/controllers/template/rt-template-functions.php:2665
|
2877 |
#. translators: date format, see http:php.net/date
|
2878 |
msgid "You can consider rtMedia Team for following :"
|
2879 |
msgstr ""
|
2880 |
|
2881 |
+
#: app/main/controllers/template/rt-template-functions.php:2668
|
2882 |
msgid "rtMedia Customization ( in Upgrade Safe manner )"
|
2883 |
msgstr ""
|
2884 |
|
2885 |
+
#: app/main/controllers/template/rt-template-functions.php:2669
|
2886 |
msgid "WordPress/BuddyPress Theme Design and Development"
|
2887 |
msgstr ""
|
2888 |
|
2889 |
+
#: app/main/controllers/template/rt-template-functions.php:2670
|
2890 |
msgid "WordPress/BuddyPress Plugin Development"
|
2891 |
msgstr ""
|
2892 |
|
2893 |
+
#: app/main/controllers/template/rt-template-functions.php:2675
|
2894 |
msgid "Contact Us"
|
2895 |
msgstr ""
|
2896 |
|
readme.txt
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
=== rtMedia for WordPress, BuddyPress and bbPress ===
|
2 |
-
Contributors: rtcamp, sanket.parmar, pranalipatel, jignesh.nakrani, mangeshp, kiranpotphode, rittesh.patel, sagarjadhav, pushpak.pop, faishal, desaiuditd, rahul286, JoshuaAbenazer, gagan0123, saurabhshukla, nitun.lanjewar, umesh.nevase, suhasgirgaonkar, neerukoul, hrishiv90, kanakiyajay, jarretc, tobiaskluge, rafaelfunchal, UmeshSingla, mehulkaklotar, tannermirabel, kishores
|
3 |
Donate link: http://rtcamp.com/donate/
|
4 |
Tags: BuddyPress, media, multimedia, album, audio, songs, music, video, photo, image, upload, share, MediaElement.js, ffmpeg, kaltura, media-node, rtMedia, WordPress, bbPress, masonry
|
5 |
License: GPLv2 or later
|
6 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
7 |
-
Requires at least: WordPress
|
8 |
-
Tested up to: 4.6
|
9 |
-
Stable tag: 4.1.
|
10 |
|
11 |
Add albums, photo, audio/video upload, privacy, sharing, front-end uploads & more. All this works on mobile/tablets devices.
|
12 |
|
@@ -135,6 +135,11 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
|
|
135 |
|
136 |
== Changelog ==
|
137 |
|
|
|
|
|
|
|
|
|
|
|
138 |
= 4.1.3 [Aug 30, 2016] =
|
139 |
* Fix audio/video time duration on media thumbnail
|
140 |
|
@@ -1213,8 +1218,8 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
|
|
1213 |
|
1214 |
== Upgrade Notice ==
|
1215 |
|
1216 |
-
= 4.1.
|
1217 |
-
Requires BuddyPress 1.7 or higher, if using BuddyPress. Fix audio/video
|
1218 |
|
1219 |
== Sponsors ==
|
1220 |
|
1 |
=== rtMedia for WordPress, BuddyPress and bbPress ===
|
2 |
+
Contributors: rtcamp, sanket.parmar, pranalipatel, jignesh.nakrani, mangeshp, manishsongirkar36, kiranpotphode, rittesh.patel, sagarjadhav, pushpak.pop, faishal, desaiuditd, rahul286, JoshuaAbenazer, gagan0123, saurabhshukla, nitun.lanjewar, umesh.nevase, suhasgirgaonkar, neerukoul, hrishiv90, kanakiyajay, jarretc, tobiaskluge, rafaelfunchal, UmeshSingla, mehulkaklotar, tannermirabel, kishores
|
3 |
Donate link: http://rtcamp.com/donate/
|
4 |
Tags: BuddyPress, media, multimedia, album, audio, songs, music, video, photo, image, upload, share, MediaElement.js, ffmpeg, kaltura, media-node, rtMedia, WordPress, bbPress, masonry
|
5 |
License: GPLv2 or later
|
6 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
7 |
+
Requires at least: WordPress 4.1
|
8 |
+
Tested up to: 4.6.1
|
9 |
+
Stable tag: 4.1.4
|
10 |
|
11 |
Add albums, photo, audio/video upload, privacy, sharing, front-end uploads & more. All this works on mobile/tablets devices.
|
12 |
|
135 |
|
136 |
== Changelog ==
|
137 |
|
138 |
+
= 4.1.4 [Sep 13, 2016] =
|
139 |
+
* Fix audio player height issue
|
140 |
+
* Fix video player fullscreen issue
|
141 |
+
* Fix the attachment URL when rtAmazon S3 is disabled
|
142 |
+
|
143 |
= 4.1.3 [Aug 30, 2016] =
|
144 |
* Fix audio/video time duration on media thumbnail
|
145 |
|
1218 |
|
1219 |
== Upgrade Notice ==
|
1220 |
|
1221 |
+
= 4.1.4 =
|
1222 |
+
Requires BuddyPress 1.7 or higher, if using BuddyPress. Fix audio/video height and fullscreen issue.
|
1223 |
|
1224 |
== Sponsors ==
|
1225 |
|