rtMedia for WordPress, BuddyPress and bbPress - Version 3.0.12

Version Description

  • Fixed activity mention issue
  • Fixed group avatar blank page issue
  • Fixed encoding service free subscription issue
  • Fixed featured video issue
  • Fixed media player css issues
  • Fixed permalink and count issue
  • Update SEO for media
  • Thanks to kanakiyajay for replacing deprecated function split
  • Other minor bug fixes
Download this release

Release Info

Developer faishal
Plugin Icon 128x128 rtMedia for WordPress, BuddyPress and bbPress
Version 3.0.12
Comparing to
See all releases

Code changes from version 3.0.11 to 3.0.12

Files changed (39) hide show
  1. app/assets/css/main.css +1 -1
  2. app/assets/js/admin.js +216 -211
  3. app/assets/js/rtMedia.js +8 -1
  4. app/assets/sass/main.scss +55 -45
  5. app/helper/RTMediaModel.php +1 -2
  6. app/importers/RTMediaMigration.php +1 -1
  7. app/main/RTMedia.php +7 -66
  8. app/main/contexts/RTMediaContext.php +10 -11
  9. app/main/controllers/activity/RTMediaBuddyPressActivity.php +5 -1
  10. app/main/controllers/media/RTMediaFeatured.php +2 -2
  11. app/main/controllers/privacy/RTMediaPrivacy.php +116 -116
  12. app/main/controllers/shortcodes/RTMediaGalleryShortcode.php +4 -1
  13. app/main/controllers/template/RTMediaNav.php +1 -25
  14. app/main/controllers/template/rt-template-functions.php +6 -4
  15. app/main/controllers/upload/RTMediaUploadEndpoint.php +1 -1
  16. app/main/controllers/upload/RTMediaUploadView.php +4 -2
  17. app/main/interactions/RTMediaInteraction.php +84 -13
  18. app/main/routers/query/RTMediaQuery.php +15 -0
  19. index.php +1 -1
  20. languages/rtmedia-ar_AR.mo +0 -0
  21. languages/rtmedia-da_DA.mo +0 -0
  22. languages/rtmedia-de_DE.mo +0 -0
  23. languages/rtmedia-es_ES.mo +0 -0
  24. languages/rtmedia-fa_FA.mo +0 -0
  25. languages/rtmedia-fr_FR.mo +0 -0
  26. languages/rtmedia-hu_HU.mo +0 -0
  27. languages/rtmedia-it_IT.mo +0 -0
  28. languages/rtmedia-ja_JA.mo +0 -0
  29. languages/rtmedia-nl_NL.mo +0 -0
  30. languages/rtmedia-pl_PL.mo +0 -0
  31. languages/rtmedia-pt_BR.mo +0 -0
  32. languages/rtmedia-ro_RO.mo +0 -0
  33. languages/rtmedia-sk_SK.mo +0 -0
  34. languages/rtmedia-sr_SR.mo +0 -0
  35. languages/rtmedia-ta_TA.mo +0 -0
  36. languages/rtmedia-zh_CN.mo +0 -0
  37. languages/rtmedia.mo +0 -0
  38. languages/rtmedia.po +684 -587
  39. readme.txt +15 -4
app/assets/css/main.css CHANGED
@@ -1 +1 @@
1
- .rtmedia-container,.rtmedia-activity-container,#buddypress div.rtmedia-activity-container{padding:5px;margin:0;clear:left}.rtmedia-container html,.rtmedia-activity-container html,#buddypress div.rtmedia-activity-container html,.rtmedia-container body,.rtmedia-activity-container body,#buddypress div.rtmedia-activity-container body,.rtmedia-container div,.rtmedia-activity-container div,#buddypress div.rtmedia-activity-container div,.rtmedia-container span,.rtmedia-activity-container span,#buddypress div.rtmedia-activity-container span,.rtmedia-container applet,.rtmedia-activity-container applet,#buddypress div.rtmedia-activity-container applet,.rtmedia-container object,.rtmedia-activity-container object,#buddypress div.rtmedia-activity-container object,.rtmedia-container iframe,.rtmedia-activity-container iframe,#buddypress div.rtmedia-activity-container iframe,.rtmedia-container h1,.rtmedia-activity-container h1,#buddypress div.rtmedia-activity-container h1,.rtmedia-container h2,.rtmedia-activity-container h2,#buddypress div.rtmedia-activity-container h2,.rtmedia-container h3,.rtmedia-activity-container h3,#buddypress div.rtmedia-activity-container h3,.rtmedia-container h4,.rtmedia-activity-container h4,#buddypress div.rtmedia-activity-container h4,.rtmedia-container h5,.rtmedia-activity-container h5,#buddypress div.rtmedia-activity-container h5,.rtmedia-container h6,.rtmedia-activity-container h6,#buddypress div.rtmedia-activity-container h6,.rtmedia-container p,.rtmedia-activity-container p,#buddypress div.rtmedia-activity-container p,.rtmedia-container blockquote,.rtmedia-activity-container blockquote,#buddypress div.rtmedia-activity-container blockquote,.rtmedia-container pre,.rtmedia-activity-container pre,#buddypress div.rtmedia-activity-container pre,.rtmedia-container a,.rtmedia-activity-container a,#buddypress div.rtmedia-activity-container a,.rtmedia-container abbr,.rtmedia-activity-container abbr,#buddypress div.rtmedia-activity-container abbr,.rtmedia-container acronym,.rtmedia-activity-container acronym,#buddypress div.rtmedia-activity-container acronym,.rtmedia-container address,.rtmedia-activity-container address,#buddypress div.rtmedia-activity-container address,.rtmedia-container big,.rtmedia-activity-container big,#buddypress div.rtmedia-activity-container big,.rtmedia-container cite,.rtmedia-activity-container cite,#buddypress div.rtmedia-activity-container cite,.rtmedia-container code,.rtmedia-activity-container code,#buddypress div.rtmedia-activity-container code,.rtmedia-container del,.rtmedia-activity-container del,#buddypress div.rtmedia-activity-container del,.rtmedia-container dfn,.rtmedia-activity-container dfn,#buddypress div.rtmedia-activity-container dfn,.rtmedia-container em,.rtmedia-activity-container em,#buddypress div.rtmedia-activity-container em,.rtmedia-container img,.rtmedia-activity-container img,#buddypress div.rtmedia-activity-container img,.rtmedia-container ins,.rtmedia-activity-container ins,#buddypress div.rtmedia-activity-container ins,.rtmedia-container kbd,.rtmedia-activity-container kbd,#buddypress div.rtmedia-activity-container kbd,.rtmedia-container q,.rtmedia-activity-container q,#buddypress div.rtmedia-activity-container q,.rtmedia-container s,.rtmedia-activity-container s,#buddypress div.rtmedia-activity-container s,.rtmedia-container samp,.rtmedia-activity-container samp,#buddypress div.rtmedia-activity-container samp,.rtmedia-container small,.rtmedia-activity-container small,#buddypress div.rtmedia-activity-container small,.rtmedia-container strike,.rtmedia-activity-container strike,#buddypress div.rtmedia-activity-container strike,.rtmedia-container strong,.rtmedia-activity-container strong,#buddypress div.rtmedia-activity-container strong,.rtmedia-container sub,.rtmedia-activity-container sub,#buddypress div.rtmedia-activity-container sub,.rtmedia-container sup,.rtmedia-activity-container sup,#buddypress div.rtmedia-activity-container sup,.rtmedia-container tt,.rtmedia-activity-container tt,#buddypress div.rtmedia-activity-container tt,.rtmedia-container var,.rtmedia-activity-container var,#buddypress div.rtmedia-activity-container var,.rtmedia-container b,.rtmedia-activity-container b,#buddypress div.rtmedia-activity-container b,.rtmedia-container u,.rtmedia-activity-container u,#buddypress div.rtmedia-activity-container u,.rtmedia-container i,.rtmedia-activity-container i,#buddypress div.rtmedia-activity-container i,.rtmedia-container center,.rtmedia-activity-container center,#buddypress div.rtmedia-activity-container center,.rtmedia-container dl,.rtmedia-activity-container dl,#buddypress div.rtmedia-activity-container dl,.rtmedia-container dt,.rtmedia-activity-container dt,#buddypress div.rtmedia-activity-container dt,.rtmedia-container dd,.rtmedia-activity-container dd,#buddypress div.rtmedia-activity-container dd,.rtmedia-container ol,.rtmedia-activity-container ol,#buddypress div.rtmedia-activity-container ol,.rtmedia-container ul,.rtmedia-activity-container ul,#buddypress div.rtmedia-activity-container ul,.rtmedia-container li,.rtmedia-activity-container li,#buddypress div.rtmedia-activity-container li,.rtmedia-container fieldset,.rtmedia-activity-container fieldset,#buddypress div.rtmedia-activity-container fieldset,.rtmedia-container form,.rtmedia-activity-container form,#buddypress div.rtmedia-activity-container form,.rtmedia-container label,.rtmedia-activity-container label,#buddypress div.rtmedia-activity-container label,.rtmedia-container legend,.rtmedia-activity-container legend,#buddypress div.rtmedia-activity-container legend,.rtmedia-container table,.rtmedia-activity-container table,#buddypress div.rtmedia-activity-container table,.rtmedia-container caption,.rtmedia-activity-container caption,#buddypress div.rtmedia-activity-container caption,.rtmedia-container tbody,.rtmedia-activity-container tbody,#buddypress div.rtmedia-activity-container tbody,.rtmedia-container tfoot,.rtmedia-activity-container tfoot,#buddypress div.rtmedia-activity-container tfoot,.rtmedia-container thead,.rtmedia-activity-container thead,#buddypress div.rtmedia-activity-container thead,.rtmedia-container tr,.rtmedia-activity-container tr,#buddypress div.rtmedia-activity-container tr,.rtmedia-container th,.rtmedia-activity-container th,#buddypress div.rtmedia-activity-container th,.rtmedia-container td,.rtmedia-activity-container td,#buddypress div.rtmedia-activity-container td,.rtmedia-container article,.rtmedia-activity-container article,#buddypress div.rtmedia-activity-container article,.rtmedia-container aside,.rtmedia-activity-container aside,#buddypress div.rtmedia-activity-container aside,.rtmedia-container canvas,.rtmedia-activity-container canvas,#buddypress div.rtmedia-activity-container canvas,.rtmedia-container details,.rtmedia-activity-container details,#buddypress div.rtmedia-activity-container details,.rtmedia-container embed,.rtmedia-activity-container embed,#buddypress div.rtmedia-activity-container embed,.rtmedia-container figure,.rtmedia-activity-container figure,#buddypress div.rtmedia-activity-container figure,.rtmedia-container figcaption,.rtmedia-activity-container figcaption,#buddypress div.rtmedia-activity-container figcaption,.rtmedia-container footer,.rtmedia-activity-container footer,#buddypress div.rtmedia-activity-container footer,.rtmedia-container header,.rtmedia-activity-container header,#buddypress div.rtmedia-activity-container header,.rtmedia-container hgroup,.rtmedia-activity-container hgroup,#buddypress div.rtmedia-activity-container hgroup,.rtmedia-container menu,.rtmedia-activity-container menu,#buddypress div.rtmedia-activity-container menu,.rtmedia-container nav,.rtmedia-activity-container nav,#buddypress div.rtmedia-activity-container nav,.rtmedia-container output,.rtmedia-activity-container output,#buddypress div.rtmedia-activity-container output,.rtmedia-container ruby,.rtmedia-activity-container ruby,#buddypress div.rtmedia-activity-container ruby,.rtmedia-container section,.rtmedia-activity-container section,#buddypress div.rtmedia-activity-container section,.rtmedia-container summary,.rtmedia-activity-container summary,#buddypress div.rtmedia-activity-container summary,.rtmedia-container time,.rtmedia-activity-container time,#buddypress div.rtmedia-activity-container time,.rtmedia-container mark,.rtmedia-activity-container mark,#buddypress div.rtmedia-activity-container mark,.rtmedia-container audio,.rtmedia-activity-container audio,#buddypress div.rtmedia-activity-container audio,.rtmedia-container video,.rtmedia-activity-container video,#buddypress div.rtmedia-activity-container video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}.rtmedia-container html,.rtmedia-activity-container html,#buddypress div.rtmedia-activity-container html{line-height:1}.rtmedia-container ol,.rtmedia-activity-container ol,#buddypress div.rtmedia-activity-container ol,.rtmedia-container ul,.rtmedia-activity-container ul,#buddypress div.rtmedia-activity-container ul{list-style:none}.rtmedia-container table,.rtmedia-activity-container table,#buddypress div.rtmedia-activity-container table{border-collapse:collapse;border-spacing:0}.rtmedia-container caption,.rtmedia-activity-container caption,#buddypress div.rtmedia-activity-container caption,.rtmedia-container th,.rtmedia-activity-container th,#buddypress div.rtmedia-activity-container th,.rtmedia-container td,.rtmedia-activity-container td,#buddypress div.rtmedia-activity-container td{text-align:left;font-weight:normal;vertical-align:middle}.rtmedia-container q,.rtmedia-activity-container q,#buddypress div.rtmedia-activity-container q,.rtmedia-container blockquote,.rtmedia-activity-container blockquote,#buddypress div.rtmedia-activity-container blockquote{quotes:none}.rtmedia-container q:before,.rtmedia-activity-container q:before,#buddypress div.rtmedia-activity-container q:before,.rtmedia-container q:after,.rtmedia-activity-container q:after,#buddypress div.rtmedia-activity-container q:after,.rtmedia-container blockquote:before,.rtmedia-activity-container blockquote:before,#buddypress div.rtmedia-activity-container blockquote:before,.rtmedia-container blockquote:after,.rtmedia-activity-container blockquote:after,#buddypress div.rtmedia-activity-container blockquote:after{content:"";content:none}.rtmedia-container a img,.rtmedia-activity-container a img,#buddypress div.rtmedia-activity-container a img{border:none}.rtmedia-container article,.rtmedia-activity-container article,#buddypress div.rtmedia-activity-container article,.rtmedia-container aside,.rtmedia-activity-container aside,#buddypress div.rtmedia-activity-container aside,.rtmedia-container details,.rtmedia-activity-container details,#buddypress div.rtmedia-activity-container details,.rtmedia-container figcaption,.rtmedia-activity-container figcaption,#buddypress div.rtmedia-activity-container figcaption,.rtmedia-container figure,.rtmedia-activity-container figure,#buddypress div.rtmedia-activity-container figure,.rtmedia-container footer,.rtmedia-activity-container footer,#buddypress div.rtmedia-activity-container footer,.rtmedia-container header,.rtmedia-activity-container header,#buddypress div.rtmedia-activity-container header,.rtmedia-container hgroup,.rtmedia-activity-container hgroup,#buddypress div.rtmedia-activity-container hgroup,.rtmedia-container menu,.rtmedia-activity-container menu,#buddypress div.rtmedia-activity-container menu,.rtmedia-container nav,.rtmedia-activity-container nav,#buddypress div.rtmedia-activity-container nav,.rtmedia-container section,.rtmedia-activity-container section,#buddypress div.rtmedia-activity-container section,.rtmedia-container summary,.rtmedia-activity-container summary,#buddypress div.rtmedia-activity-container summary{display:block}.rtmedia-container *,.rtmedia-activity-container *,#buddypress div.rtmedia-activity-container *,.rtmedia-container *:before,.rtmedia-activity-container *:before,#buddypress div.rtmedia-activity-container *:before,.rtmedia-container *:after,.rtmedia-activity-container *:after,#buddypress div.rtmedia-activity-container *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.rtmedia-container html,.rtmedia-activity-container html,#buddypress div.rtmedia-activity-container html,.rtmedia-container body,.rtmedia-activity-container body,#buddypress div.rtmedia-activity-container body{font-size:100%}.rtmedia-container body,.rtmedia-activity-container body,#buddypress div.rtmedia-activity-container body{background:#fff;color:#222;padding:0;margin:0;font-family:"Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;font-weight:normal;font-style:normal;line-height:1;position:relative;cursor:default}.rtmedia-container a:hover,.rtmedia-activity-container a:hover,#buddypress div.rtmedia-activity-container a:hover{cursor:pointer}.rtmedia-container a:focus,.rtmedia-activity-container a:focus,#buddypress div.rtmedia-activity-container a:focus{outline:none}.rtmedia-container img,.rtmedia-activity-container img,#buddypress div.rtmedia-activity-container img,.rtmedia-container object,.rtmedia-activity-container object,#buddypress div.rtmedia-activity-container object,.rtmedia-container embed,.rtmedia-activity-container embed,#buddypress div.rtmedia-activity-container embed{max-width:100%;height:auto}.rtmedia-container object,.rtmedia-activity-container object,#buddypress div.rtmedia-activity-container object,.rtmedia-container embed,.rtmedia-activity-container embed,#buddypress div.rtmedia-activity-container embed{height:100%}.rtmedia-container img,.rtmedia-activity-container img,#buddypress div.rtmedia-activity-container img{-ms-interpolation-mode:bicubic}.rtmedia-container #map_canvas img,.rtmedia-activity-container #map_canvas img,.rtmedia-container #map_canvas embed,.rtmedia-activity-container #map_canvas embed,.rtmedia-container #map_canvas object,.rtmedia-activity-container #map_canvas object,.rtmedia-container .map_canvas img,.rtmedia-activity-container .map_canvas img,#buddypress div.rtmedia-activity-container .map_canvas img,.rtmedia-container .map_canvas embed,.rtmedia-activity-container .map_canvas embed,#buddypress div.rtmedia-activity-container .map_canvas embed,.rtmedia-container .map_canvas object,.rtmedia-activity-container .map_canvas object,#buddypress div.rtmedia-activity-container .map_canvas object{max-width:none !important}.rtmedia-container .left,.rtmedia-activity-container .left,#buddypress div.rtmedia-activity-container .left{float:left !important}.rtmedia-container .right,.rtmedia-activity-container .right,#buddypress div.rtmedia-activity-container .right{float:right !important}.rtmedia-container .text-left,.rtmedia-activity-container .text-left,#buddypress div.rtmedia-activity-container .text-left{text-align:left !important}.rtmedia-container .text-right,.rtmedia-activity-container .text-right,#buddypress div.rtmedia-activity-container .text-right{text-align:right !important}.rtmedia-container .text-center,.rtmedia-activity-container .text-center,#buddypress div.rtmedia-activity-container .text-center{text-align:center !important}.rtmedia-container .text-justify,.rtmedia-activity-container .text-justify,#buddypress div.rtmedia-activity-container .text-justify{text-align:justify !important}.rtmedia-container .hide,.rtmedia-activity-container .hide,#buddypress div.rtmedia-activity-container .hide{display:none}.rtmedia-container .antialiased,.rtmedia-activity-container .antialiased,#buddypress div.rtmedia-activity-container .antialiased{-webkit-font-smoothing:antialiased}.rtmedia-container img,.rtmedia-activity-container img,#buddypress div.rtmedia-activity-container img{display:inline-block;vertical-align:middle}.rtmedia-container textarea,.rtmedia-activity-container textarea,#buddypress div.rtmedia-activity-container textarea{height:auto;min-height:50px}.rtmedia-container select,.rtmedia-activity-container select,#buddypress div.rtmedia-activity-container select{width:100%}.rtmedia-container .row,.rtmedia-activity-container .row,#buddypress div.rtmedia-activity-container .row{width:100%;margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;max-width:62.5em;*zoom:1}.rtmedia-container .row:before,.rtmedia-activity-container .row:before,#buddypress div.rtmedia-activity-container .row:before,.rtmedia-container .row:after,.rtmedia-activity-container .row:after,#buddypress div.rtmedia-activity-container .row:after{content:" ";display:table}.rtmedia-container .row:after,.rtmedia-activity-container .row:after,#buddypress div.rtmedia-activity-container .row:after{clear:both}.rtmedia-container .row.collapse .column,.rtmedia-activity-container .row.collapse .column,#buddypress div.rtmedia-activity-container .row.collapse .column,.rtmedia-container .row.collapse .columns,.rtmedia-activity-container .row.collapse .columns,#buddypress div.rtmedia-activity-container .row.collapse .columns{position:relative;padding-left:0;padding-right:0;float:left}.rtmedia-container .row .row,.rtmedia-activity-container .row .row,#buddypress div.rtmedia-activity-container .row .row{width:auto;margin-left:-0.9375em;margin-right:-0.9375em;margin-top:0;margin-bottom:0;max-width:none;*zoom:1}.rtmedia-container .row .row:before,.rtmedia-activity-container .row .row:before,#buddypress div.rtmedia-activity-container .row .row:before,.rtmedia-container .row .row:after,.rtmedia-activity-container .row .row:after,#buddypress div.rtmedia-activity-container .row .row:after{content:" ";display:table}.rtmedia-container .row .row:after,.rtmedia-activity-container .row .row:after,#buddypress div.rtmedia-activity-container .row .row:after{clear:both}.rtmedia-container .row .row.collapse,.rtmedia-activity-container .row .row.collapse,#buddypress div.rtmedia-activity-container .row .row.collapse{width:auto;margin:0;max-width:none;*zoom:1}.rtmedia-container .row .row.collapse:before,.rtmedia-activity-container .row .row.collapse:before,#buddypress div.rtmedia-activity-container .row .row.collapse:before,.rtmedia-container .row .row.collapse:after,.rtmedia-activity-container .row .row.collapse:after,#buddypress div.rtmedia-activity-container .row .row.collapse:after{content:" ";display:table}.rtmedia-container .row .row.collapse:after,.rtmedia-activity-container .row .row.collapse:after,#buddypress div.rtmedia-activity-container .row .row.collapse:after{clear:both}.rtmedia-container .column,.rtmedia-activity-container .column,#buddypress div.rtmedia-activity-container .column,.rtmedia-container .columns,.rtmedia-activity-container .columns,#buddypress div.rtmedia-activity-container .columns{position:relative;padding-left:0.9375em;padding-right:0.9375em;width:100%;float:left}@media only screen{.rtmedia-container .column,.rtmedia-activity-container .column,#buddypress div.rtmedia-activity-container .column,.rtmedia-container .columns,.rtmedia-activity-container .columns,#buddypress div.rtmedia-activity-container .columns{position:relative;padding-left:0.9375em;padding-right:0.9375em;float:left}.rtmedia-container .small-1,.rtmedia-activity-container .small-1,#buddypress div.rtmedia-activity-container .small-1{position:relative;width:8.33333%}.rtmedia-container .small-2,.rtmedia-activity-container .small-2,#buddypress div.rtmedia-activity-container .small-2{position:relative;width:16.66667%}.rtmedia-container .small-3,.rtmedia-activity-container .small-3,#buddypress div.rtmedia-activity-container .small-3{position:relative;width:25%}.rtmedia-container .small-4,.rtmedia-activity-container .small-4,#buddypress div.rtmedia-activity-container .small-4{position:relative;width:33.33333%}.rtmedia-container .small-5,.rtmedia-activity-container .small-5,#buddypress div.rtmedia-activity-container .small-5{position:relative;width:41.66667%}.rtmedia-container .small-6,.rtmedia-activity-container .small-6,#buddypress div.rtmedia-activity-container .small-6{position:relative;width:50%}.rtmedia-container .small-7,.rtmedia-activity-container .small-7,#buddypress div.rtmedia-activity-container .small-7{position:relative;width:58.33333%}.rtmedia-container .small-8,.rtmedia-activity-container .small-8,#buddypress div.rtmedia-activity-container .small-8{position:relative;width:66.66667%}.rtmedia-container .small-9,.rtmedia-activity-container .small-9,#buddypress div.rtmedia-activity-container .small-9{position:relative;width:75%}.rtmedia-container .small-10,.rtmedia-activity-container .small-10,#buddypress div.rtmedia-activity-container .small-10{position:relative;width:83.33333%}.rtmedia-container .small-11,.rtmedia-activity-container .small-11,#buddypress div.rtmedia-activity-container .small-11{position:relative;width:91.66667%}.rtmedia-container .small-12,.rtmedia-activity-container .small-12,#buddypress div.rtmedia-activity-container .small-12{position:relative;width:100%}.rtmedia-container .small-offset-0,.rtmedia-activity-container .small-offset-0,#buddypress div.rtmedia-activity-container .small-offset-0{position:relative;margin-left:0%}.rtmedia-container .small-offset-1,.rtmedia-activity-container .small-offset-1,#buddypress div.rtmedia-activity-container .small-offset-1{position:relative;margin-left:8.33333%}.rtmedia-container .small-offset-2,.rtmedia-activity-container .small-offset-2,#buddypress div.rtmedia-activity-container .small-offset-2{position:relative;margin-left:16.66667%}.rtmedia-container .small-offset-3,.rtmedia-activity-container .small-offset-3,#buddypress div.rtmedia-activity-container .small-offset-3{position:relative;margin-left:25%}.rtmedia-container .small-offset-4,.rtmedia-activity-container .small-offset-4,#buddypress div.rtmedia-activity-container .small-offset-4{position:relative;margin-left:33.33333%}.rtmedia-container .small-offset-5,.rtmedia-activity-container .small-offset-5,#buddypress div.rtmedia-activity-container .small-offset-5{position:relative;margin-left:41.66667%}.rtmedia-container .small-offset-6,.rtmedia-activity-container .small-offset-6,#buddypress div.rtmedia-activity-container .small-offset-6{position:relative;margin-left:50%}.rtmedia-container .small-offset-7,.rtmedia-activity-container .small-offset-7,#buddypress div.rtmedia-activity-container .small-offset-7{position:relative;margin-left:58.33333%}.rtmedia-container .small-offset-8,.rtmedia-activity-container .small-offset-8,#buddypress div.rtmedia-activity-container .small-offset-8{position:relative;margin-left:66.66667%}.rtmedia-container .small-offset-9,.rtmedia-activity-container .small-offset-9,#buddypress div.rtmedia-activity-container .small-offset-9{position:relative;margin-left:75%}.rtmedia-container .small-offset-10,.rtmedia-activity-container .small-offset-10,#buddypress div.rtmedia-activity-container .small-offset-10{position:relative;margin-left:83.33333%}.rtmedia-container [class*="column"]+[class*="column"]:last-child,.rtmedia-activity-container [class*="column"]+[class*="column"]:last-child,#buddypress div.rtmedia-activity-container [class*="column"]+[class*="column"]:last-child{float:right}.rtmedia-container [class*="column"]+[class*="column"].end,.rtmedia-activity-container [class*="column"]+[class*="column"].end,#buddypress div.rtmedia-activity-container [class*="column"]+[class*="column"].end{float:left}.rtmedia-container .column.small-centered,.rtmedia-activity-container .column.small-centered,#buddypress div.rtmedia-activity-container .column.small-centered,.rtmedia-container .columns.small-centered,.rtmedia-activity-container .columns.small-centered,#buddypress div.rtmedia-activity-container .columns.small-centered{position:relative;margin-left:auto;margin-right:auto;float:none !important}}@media only screen and (min-width: 768px){.rtmedia-container .large-1,.rtmedia-activity-container .large-1,#buddypress div.rtmedia-activity-container .large-1{position:relative;width:8.33333%}.rtmedia-container .large-2,.rtmedia-activity-container .large-2,#buddypress div.rtmedia-activity-container .large-2{position:relative;width:16.66667%}.rtmedia-container .large-3,.rtmedia-activity-container .large-3,#buddypress div.rtmedia-activity-container .large-3{position:relative;width:25%}.rtmedia-container .large-4,.rtmedia-activity-container .large-4,#buddypress div.rtmedia-activity-container .large-4{position:relative;width:33.33333%}.rtmedia-container .large-5,.rtmedia-activity-container .large-5,#buddypress div.rtmedia-activity-container .large-5{position:relative;width:41.66667%}.rtmedia-container .large-6,.rtmedia-activity-container .large-6,#buddypress div.rtmedia-activity-container .large-6{position:relative;width:50%}.rtmedia-container .large-7,.rtmedia-activity-container .large-7,#buddypress div.rtmedia-activity-container .large-7{position:relative;width:58.33333%}.rtmedia-container .large-8,.rtmedia-activity-container .large-8,#buddypress div.rtmedia-activity-container .large-8{position:relative;width:66.66667%}.rtmedia-container .large-9,.rtmedia-activity-container .large-9,#buddypress div.rtmedia-activity-container .large-9{position:relative;width:75%}.rtmedia-container .large-10,.rtmedia-activity-container .large-10,#buddypress div.rtmedia-activity-container .large-10{position:relative;width:83.33333%}.rtmedia-container .large-11,.rtmedia-activity-container .large-11,#buddypress div.rtmedia-activity-container .large-11{position:relative;width:91.66667%}.rtmedia-container .large-12,.rtmedia-activity-container .large-12,#buddypress div.rtmedia-activity-container .large-12{position:relative;width:100%}.rtmedia-container .row .large-offset-0,.rtmedia-activity-container .row .large-offset-0,#buddypress div.rtmedia-activity-container .row .large-offset-0{position:relative;margin-left:0%}.rtmedia-container .row .large-offset-1,.rtmedia-activity-container .row .large-offset-1,#buddypress div.rtmedia-activity-container .row .large-offset-1{position:relative;margin-left:8.33333%}.rtmedia-container .row .large-offset-2,.rtmedia-activity-container .row .large-offset-2,#buddypress div.rtmedia-activity-container .row .large-offset-2{position:relative;margin-left:16.66667%}.rtmedia-container .row .large-offset-3,.rtmedia-activity-container .row .large-offset-3,#buddypress div.rtmedia-activity-container .row .large-offset-3{position:relative;margin-left:25%}.rtmedia-container .row .large-offset-4,.rtmedia-activity-container .row .large-offset-4,#buddypress div.rtmedia-activity-container .row .large-offset-4{position:relative;margin-left:33.33333%}.rtmedia-container .row .large-offset-5,.rtmedia-activity-container .row .large-offset-5,#buddypress div.rtmedia-activity-container .row .large-offset-5{position:relative;margin-left:41.66667%}.rtmedia-container .row .large-offset-6,.rtmedia-activity-container .row .large-offset-6,#buddypress div.rtmedia-activity-container .row .large-offset-6{position:relative;margin-left:50%}.rtmedia-container .row .large-offset-7,.rtmedia-activity-container .row .large-offset-7,#buddypress div.rtmedia-activity-container .row .large-offset-7{position:relative;margin-left:58.33333%}.rtmedia-container .row .large-offset-8,.rtmedia-activity-container .row .large-offset-8,#buddypress div.rtmedia-activity-container .row .large-offset-8{position:relative;margin-left:66.66667%}.rtmedia-container .row .large-offset-9,.rtmedia-activity-container .row .large-offset-9,#buddypress div.rtmedia-activity-container .row .large-offset-9{position:relative;margin-left:75%}.rtmedia-container .row .large-offset-10,.rtmedia-activity-container .row .large-offset-10,#buddypress div.rtmedia-activity-container .row .large-offset-10{position:relative;margin-left:83.33333%}.rtmedia-container .row .large-offset-11,.rtmedia-activity-container .row .large-offset-11,#buddypress div.rtmedia-activity-container .row .large-offset-11{position:relative;margin-left:91.66667%}.rtmedia-container .push-1,.rtmedia-activity-container .push-1,#buddypress div.rtmedia-activity-container .push-1{position:relative;left:8.33333%;right:auto}.rtmedia-container .pull-1,.rtmedia-activity-container .pull-1,#buddypress div.rtmedia-activity-container .pull-1{position:relative;right:8.33333%;left:auto}.rtmedia-container .push-2,.rtmedia-activity-container .push-2,#buddypress div.rtmedia-activity-container .push-2{position:relative;left:16.66667%;right:auto}.rtmedia-container .pull-2,.rtmedia-activity-container .pull-2,#buddypress div.rtmedia-activity-container .pull-2{position:relative;right:16.66667%;left:auto}.rtmedia-container .push-3,.rtmedia-activity-container .push-3,#buddypress div.rtmedia-activity-container .push-3{position:relative;left:25%;right:auto}.rtmedia-container .pull-3,.rtmedia-activity-container .pull-3,#buddypress div.rtmedia-activity-container .pull-3{position:relative;right:25%;left:auto}.rtmedia-container .push-4,.rtmedia-activity-container .push-4,#buddypress div.rtmedia-activity-container .push-4{position:relative;left:33.33333%;right:auto}.rtmedia-container .pull-4,.rtmedia-activity-container .pull-4,#buddypress div.rtmedia-activity-container .pull-4{position:relative;right:33.33333%;left:auto}.rtmedia-container .push-5,.rtmedia-activity-container .push-5,#buddypress div.rtmedia-activity-container .push-5{position:relative;left:41.66667%;right:auto}.rtmedia-container .pull-5,.rtmedia-activity-container .pull-5,#buddypress div.rtmedia-activity-container .pull-5{position:relative;right:41.66667%;left:auto}.rtmedia-container .push-6,.rtmedia-activity-container .push-6,#buddypress div.rtmedia-activity-container .push-6{position:relative;left:50%;right:auto}.rtmedia-container .pull-6,.rtmedia-activity-container .pull-6,#buddypress div.rtmedia-activity-container .pull-6{position:relative;right:50%;left:auto}.rtmedia-container .push-7,.rtmedia-activity-container .push-7,#buddypress div.rtmedia-activity-container .push-7{position:relative;left:58.33333%;right:auto}.rtmedia-container .pull-7,.rtmedia-activity-container .pull-7,#buddypress div.rtmedia-activity-container .pull-7{position:relative;right:58.33333%;left:auto}.rtmedia-container .push-8,.rtmedia-activity-container .push-8,#buddypress div.rtmedia-activity-container .push-8{position:relative;left:66.66667%;right:auto}.rtmedia-container .pull-8,.rtmedia-activity-container .pull-8,#buddypress div.rtmedia-activity-container .pull-8{position:relative;right:66.66667%;left:auto}.rtmedia-container .push-9,.rtmedia-activity-container .push-9,#buddypress div.rtmedia-activity-container .push-9{position:relative;left:75%;right:auto}.rtmedia-container .pull-9,.rtmedia-activity-container .pull-9,#buddypress div.rtmedia-activity-container .pull-9{position:relative;right:75%;left:auto}.rtmedia-container .push-10,.rtmedia-activity-container .push-10,#buddypress div.rtmedia-activity-container .push-10{position:relative;left:83.33333%;right:auto}.rtmedia-container .pull-10,.rtmedia-activity-container .pull-10,#buddypress div.rtmedia-activity-container .pull-10{position:relative;right:83.33333%;left:auto}.rtmedia-container .push-11,.rtmedia-activity-container .push-11,#buddypress div.rtmedia-activity-container .push-11{position:relative;left:91.66667%;right:auto}.rtmedia-container .pull-11,.rtmedia-activity-container .pull-11,#buddypress div.rtmedia-activity-container .pull-11{position:relative;right:91.66667%;left:auto}.rtmedia-container .column.large-centered,.rtmedia-activity-container .column.large-centered,#buddypress div.rtmedia-activity-container .column.large-centered,.rtmedia-container .columns.large-centered,.rtmedia-activity-container .columns.large-centered,#buddypress div.rtmedia-activity-container .columns.large-centered{position:relative;margin-left:auto;margin-right:auto;float:none !important}.rtmedia-container .column.large-uncentered,.rtmedia-activity-container .column.large-uncentered,#buddypress div.rtmedia-activity-container .column.large-uncentered,.rtmedia-container .columns.large-uncentered,.rtmedia-activity-container .columns.large-uncentered,#buddypress div.rtmedia-activity-container .columns.large-uncentered{margin-left:0;margin-right:0;float:left !important}.rtmedia-container .column.large-uncentered.opposite,.rtmedia-activity-container .column.large-uncentered.opposite,#buddypress div.rtmedia-activity-container .column.large-uncentered.opposite,.rtmedia-container .columns.large-uncentered.opposite,.rtmedia-activity-container .columns.large-uncentered.opposite,#buddypress div.rtmedia-activity-container .columns.large-uncentered.opposite{float:right !important}}.rtmedia-container .show-for-small,.rtmedia-activity-container .show-for-small,#buddypress div.rtmedia-activity-container .show-for-small,.rtmedia-container .show-for-medium-down,.rtmedia-activity-container .show-for-medium-down,#buddypress div.rtmedia-activity-container .show-for-medium-down,.rtmedia-container .show-for-large-down,.rtmedia-activity-container .show-for-large-down,#buddypress div.rtmedia-activity-container .show-for-large-down{display:inherit !important}.rtmedia-container .show-for-medium,.rtmedia-activity-container .show-for-medium,#buddypress div.rtmedia-activity-container .show-for-medium,.rtmedia-container .show-for-medium-up,.rtmedia-activity-container .show-for-medium-up,#buddypress div.rtmedia-activity-container .show-for-medium-up,.rtmedia-container .show-for-large,.rtmedia-activity-container .show-for-large,#buddypress div.rtmedia-activity-container .show-for-large,.rtmedia-container .show-for-large-up,.rtmedia-activity-container .show-for-large-up,#buddypress div.rtmedia-activity-container .show-for-large-up,.rtmedia-container .show-for-xlarge,.rtmedia-activity-container .show-for-xlarge,#buddypress div.rtmedia-activity-container .show-for-xlarge{display:none !important}.rtmedia-container .hide-for-medium,.rtmedia-activity-container .hide-for-medium,#buddypress div.rtmedia-activity-container .hide-for-medium,.rtmedia-container .hide-for-medium-up,.rtmedia-activity-container .hide-for-medium-up,#buddypress div.rtmedia-activity-container .hide-for-medium-up,.rtmedia-container .hide-for-large,.rtmedia-activity-container .hide-for-large,#buddypress div.rtmedia-activity-container .hide-for-large,.rtmedia-container .hide-for-large-up,.rtmedia-activity-container .hide-for-large-up,#buddypress div.rtmedia-activity-container .hide-for-large-up,.rtmedia-container .hide-for-xlarge,.rtmedia-activity-container .hide-for-xlarge,#buddypress div.rtmedia-activity-container .hide-for-xlarge{display:inherit !important}.rtmedia-container .hide-for-small,.rtmedia-activity-container .hide-for-small,#buddypress div.rtmedia-activity-container .hide-for-small,.rtmedia-container .hide-for-medium-down,.rtmedia-activity-container .hide-for-medium-down,#buddypress div.rtmedia-activity-container .hide-for-medium-down,.rtmedia-container .hide-for-large-down,.rtmedia-activity-container .hide-for-large-down,#buddypress div.rtmedia-activity-container .hide-for-large-down{display:none !important}.rtmedia-container table.show-for-small,.rtmedia-activity-container table.show-for-small,#buddypress div.rtmedia-activity-container table.show-for-small,.rtmedia-container table.show-for-medium-down,.rtmedia-activity-container table.show-for-medium-down,#buddypress div.rtmedia-activity-container table.show-for-medium-down,.rtmedia-container table.show-for-large-down,.rtmedia-activity-container table.show-for-large-down,#buddypress div.rtmedia-activity-container table.show-for-large-down,.rtmedia-container table.hide-for-medium,.rtmedia-activity-container table.hide-for-medium,#buddypress div.rtmedia-activity-container table.hide-for-medium,.rtmedia-container table.hide-for-medium-up,.rtmedia-activity-container table.hide-for-medium-up,#buddypress div.rtmedia-activity-container table.hide-for-medium-up,.rtmedia-container table.hide-for-large,.rtmedia-activity-container table.hide-for-large,#buddypress div.rtmedia-activity-container table.hide-for-large,.rtmedia-container table.hide-for-large-up,.rtmedia-activity-container table.hide-for-large-up,#buddypress div.rtmedia-activity-container table.hide-for-large-up,.rtmedia-container table.hide-for-xlarge,.rtmedia-activity-container table.hide-for-xlarge,#buddypress div.rtmedia-activity-container table.hide-for-xlarge{display:table}.rtmedia-container thead.show-for-small,.rtmedia-activity-container thead.show-for-small,#buddypress div.rtmedia-activity-container thead.show-for-small,.rtmedia-container thead.show-for-medium-down,.rtmedia-activity-container thead.show-for-medium-down,#buddypress div.rtmedia-activity-container thead.show-for-medium-down,.rtmedia-container thead.show-for-large-down,.rtmedia-activity-container thead.show-for-large-down,#buddypress div.rtmedia-activity-container thead.show-for-large-down,.rtmedia-container thead.hide-for-medium,.rtmedia-activity-container thead.hide-for-medium,#buddypress div.rtmedia-activity-container thead.hide-for-medium,.rtmedia-container thead.hide-for-medium-up,.rtmedia-activity-container thead.hide-for-medium-up,#buddypress div.rtmedia-activity-container thead.hide-for-medium-up,.rtmedia-container thead.hide-for-large,.rtmedia-activity-container thead.hide-for-large,#buddypress div.rtmedia-activity-container thead.hide-for-large,.rtmedia-container thead.hide-for-large-up,.rtmedia-activity-container thead.hide-for-large-up,#buddypress div.rtmedia-activity-container thead.hide-for-large-up,.rtmedia-container thead.hide-for-xlarge,.rtmedia-activity-container thead.hide-for-xlarge,#buddypress div.rtmedia-activity-container thead.hide-for-xlarge{display:table-header-group !important}.rtmedia-container tbody.show-for-small,.rtmedia-activity-container tbody.show-for-small,#buddypress div.rtmedia-activity-container tbody.show-for-small,.rtmedia-container tbody.show-for-medium-down,.rtmedia-activity-container tbody.show-for-medium-down,#buddypress div.rtmedia-activity-container tbody.show-for-medium-down,.rtmedia-container tbody.show-for-large-down,.rtmedia-activity-container tbody.show-for-large-down,#buddypress div.rtmedia-activity-container tbody.show-for-large-down,.rtmedia-container tbody.hide-for-medium,.rtmedia-activity-container tbody.hide-for-medium,#buddypress div.rtmedia-activity-container tbody.hide-for-medium,.rtmedia-container tbody.hide-for-medium-up,.rtmedia-activity-container tbody.hide-for-medium-up,#buddypress div.rtmedia-activity-container tbody.hide-for-medium-up,.rtmedia-container tbody.hide-for-large,.rtmedia-activity-container tbody.hide-for-large,#buddypress div.rtmedia-activity-container tbody.hide-for-large,.rtmedia-container tbody.hide-for-large-up,.rtmedia-activity-container tbody.hide-for-large-up,#buddypress div.rtmedia-activity-container tbody.hide-for-large-up,.rtmedia-container tbody.hide-for-xlarge,.rtmedia-activity-container tbody.hide-for-xlarge,#buddypress div.rtmedia-activity-container tbody.hide-for-xlarge{display:table-row-group !important}.rtmedia-container tr.show-for-small,.rtmedia-activity-container tr.show-for-small,#buddypress div.rtmedia-activity-container tr.show-for-small,.rtmedia-container tr.show-for-medium-down,.rtmedia-activity-container tr.show-for-medium-down,#buddypress div.rtmedia-activity-container tr.show-for-medium-down,.rtmedia-container tr.show-for-large-down,.rtmedia-activity-container tr.show-for-large-down,#buddypress div.rtmedia-activity-container tr.show-for-large-down,.rtmedia-container tr.hide-for-medium,.rtmedia-activity-container tr.hide-for-medium,#buddypress div.rtmedia-activity-container tr.hide-for-medium,.rtmedia-container tr.hide-for-medium-up,.rtmedia-activity-container tr.hide-for-medium-up,#buddypress div.rtmedia-activity-container tr.hide-for-medium-up,.rtmedia-container tr.hide-for-large,.rtmedia-activity-container tr.hide-for-large,#buddypress div.rtmedia-activity-container tr.hide-for-large,.rtmedia-container tr.hide-for-large-up,.rtmedia-activity-container tr.hide-for-large-up,#buddypress div.rtmedia-activity-container tr.hide-for-large-up,.rtmedia-container tr.hide-for-xlarge,.rtmedia-activity-container tr.hide-for-xlarge,#buddypress div.rtmedia-activity-container tr.hide-for-xlarge{display:table-row !important}.rtmedia-container td.show-for-small,.rtmedia-activity-container td.show-for-small,#buddypress div.rtmedia-activity-container td.show-for-small,.rtmedia-container td.show-for-medium-down,.rtmedia-activity-container td.show-for-medium-down,#buddypress div.rtmedia-activity-container td.show-for-medium-down,.rtmedia-container td.show-for-large-down,.rtmedia-activity-container td.show-for-large-down,#buddypress div.rtmedia-activity-container td.show-for-large-down,.rtmedia-container td.hide-for-medium,.rtmedia-activity-container td.hide-for-medium,#buddypress div.rtmedia-activity-container td.hide-for-medium,.rtmedia-container td.hide-for-medium-up,.rtmedia-activity-container td.hide-for-medium-up,#buddypress div.rtmedia-activity-container td.hide-for-medium-up,.rtmedia-container td.hide-for-large,.rtmedia-activity-container td.hide-for-large,#buddypress div.rtmedia-activity-container td.hide-for-large,.rtmedia-container td.hide-for-large-up,.rtmedia-activity-container td.hide-for-large-up,#buddypress div.rtmedia-activity-container td.hide-for-large-up,.rtmedia-container td.hide-for-xlarge,.rtmedia-activity-container td.hide-for-xlarge,#buddypress div.rtmedia-activity-container td.hide-for-xlarge,.rtmedia-container th.show-for-small,.rtmedia-activity-container th.show-for-small,#buddypress div.rtmedia-activity-container th.show-for-small,.rtmedia-container th.show-for-medium-down,.rtmedia-activity-container th.show-for-medium-down,#buddypress div.rtmedia-activity-container th.show-for-medium-down,.rtmedia-container th.show-for-large-down,.rtmedia-activity-container th.show-for-large-down,#buddypress div.rtmedia-activity-container th.show-for-large-down,.rtmedia-container th.hide-for-medium,.rtmedia-activity-container th.hide-for-medium,#buddypress div.rtmedia-activity-container th.hide-for-medium,.rtmedia-container th.hide-for-medium-up,.rtmedia-activity-container th.hide-for-medium-up,#buddypress div.rtmedia-activity-container th.hide-for-medium-up,.rtmedia-container th.hide-for-large,.rtmedia-activity-container th.hide-for-large,#buddypress div.rtmedia-activity-container th.hide-for-large,.rtmedia-container th.hide-for-large-up,.rtmedia-activity-container th.hide-for-large-up,#buddypress div.rtmedia-activity-container th.hide-for-large-up,.rtmedia-container th.hide-for-xlarge,.rtmedia-activity-container th.hide-for-xlarge,#buddypress div.rtmedia-activity-container th.hide-for-xlarge{display:table-cell !important}@media only screen and (min-width: 768px){.rtmedia-container .show-for-medium,.rtmedia-activity-container .show-for-medium,#buddypress div.rtmedia-activity-container .show-for-medium,.rtmedia-container .show-for-medium-up,.rtmedia-activity-container .show-for-medium-up,#buddypress div.rtmedia-activity-container .show-for-medium-up{display:inherit !important}.rtmedia-container .show-for-small,.rtmedia-activity-container .show-for-small,#buddypress div.rtmedia-activity-container .show-for-small{display:none !important}.rtmedia-container .hide-for-small,.rtmedia-activity-container .hide-for-small,#buddypress div.rtmedia-activity-container .hide-for-small{display:inherit !important}.rtmedia-container .hide-for-medium,.rtmedia-activity-container .hide-for-medium,#buddypress div.rtmedia-activity-container .hide-for-medium,.rtmedia-container .hide-for-medium-up,.rtmedia-activity-container .hide-for-medium-up,#buddypress div.rtmedia-activity-container .hide-for-medium-up{display:none !important}.rtmedia-container table.show-for-medium,.rtmedia-activity-container table.show-for-medium,#buddypress div.rtmedia-activity-container table.show-for-medium,.rtmedia-container table.show-for-medium-up,.rtmedia-activity-container table.show-for-medium-up,#buddypress div.rtmedia-activity-container table.show-for-medium-up,.rtmedia-container table.hide-for-small,.rtmedia-activity-container table.hide-for-small,#buddypress div.rtmedia-activity-container table.hide-for-small{display:table}.rtmedia-container thead.show-for-medium,.rtmedia-activity-container thead.show-for-medium,#buddypress div.rtmedia-activity-container thead.show-for-medium,.rtmedia-container thead.show-for-medium-up,.rtmedia-activity-container thead.show-for-medium-up,#buddypress div.rtmedia-activity-container thead.show-for-medium-up,.rtmedia-container thead.hide-for-small,.rtmedia-activity-container thead.hide-for-small,#buddypress div.rtmedia-activity-container thead.hide-for-small{display:table-header-group !important}.rtmedia-container tbody.show-for-medium,.rtmedia-activity-container tbody.show-for-medium,#buddypress div.rtmedia-activity-container tbody.show-for-medium,.rtmedia-container tbody.show-for-medium-up,.rtmedia-activity-container tbody.show-for-medium-up,#buddypress div.rtmedia-activity-container tbody.show-for-medium-up,.rtmedia-container tbody.hide-for-small,.rtmedia-activity-container tbody.hide-for-small,#buddypress div.rtmedia-activity-container tbody.hide-for-small{display:table-row-group !important}.rtmedia-container tr.show-for-medium,.rtmedia-activity-container tr.show-for-medium,#buddypress div.rtmedia-activity-container tr.show-for-medium,.rtmedia-container tr.show-for-medium-up,.rtmedia-activity-container tr.show-for-medium-up,#buddypress div.rtmedia-activity-container tr.show-for-medium-up,.rtmedia-container tr.hide-for-small,.rtmedia-activity-container tr.hide-for-small,#buddypress div.rtmedia-activity-container tr.hide-for-small{display:table-row !important}.rtmedia-container td.show-for-medium,.rtmedia-activity-container td.show-for-medium,#buddypress div.rtmedia-activity-container td.show-for-medium,.rtmedia-container td.show-for-medium-up,.rtmedia-activity-container td.show-for-medium-up,#buddypress div.rtmedia-activity-container td.show-for-medium-up,.rtmedia-container td.hide-for-small,.rtmedia-activity-container td.hide-for-small,#buddypress div.rtmedia-activity-container td.hide-for-small,.rtmedia-container th.show-for-medium,.rtmedia-activity-container th.show-for-medium,#buddypress div.rtmedia-activity-container th.show-for-medium,.rtmedia-container th.show-for-medium-up,.rtmedia-activity-container th.show-for-medium-up,#buddypress div.rtmedia-activity-container th.show-for-medium-up,.rtmedia-container th.hide-for-small,.rtmedia-activity-container th.hide-for-small,#buddypress div.rtmedia-activity-container th.hide-for-small{display:table-cell !important}}@media only screen and (min-width: 1280px){.rtmedia-container .show-for-large,.rtmedia-activity-container .show-for-large,#buddypress div.rtmedia-activity-container .show-for-large,.rtmedia-container .show-for-large-up,.rtmedia-activity-container .show-for-large-up,#buddypress div.rtmedia-activity-container .show-for-large-up{display:inherit !important}.rtmedia-container .show-for-medium,.rtmedia-activity-container .show-for-medium,#buddypress div.rtmedia-activity-container .show-for-medium,.rtmedia-container .show-for-medium-down,.rtmedia-activity-container .show-for-medium-down,#buddypress div.rtmedia-activity-container .show-for-medium-down{display:none !important}.rtmedia-container .hide-for-medium,.rtmedia-activity-container .hide-for-medium,#buddypress div.rtmedia-activity-container .hide-for-medium,.rtmedia-container .hide-for-medium-down,.rtmedia-activity-container .hide-for-medium-down,#buddypress div.rtmedia-activity-container .hide-for-medium-down{display:inherit !important}.rtmedia-container .hide-for-large,.rtmedia-activity-container .hide-for-large,#buddypress div.rtmedia-activity-container .hide-for-large,.rtmedia-container .hide-for-large-up,.rtmedia-activity-container .hide-for-large-up,#buddypress div.rtmedia-activity-container .hide-for-large-up{display:none !important}.rtmedia-container table.show-for-large,.rtmedia-activity-container table.show-for-large,#buddypress div.rtmedia-activity-container table.show-for-large,.rtmedia-container table.show-for-large-up,.rtmedia-activity-container table.show-for-large-up,#buddypress div.rtmedia-activity-container table.show-for-large-up,.rtmedia-container table.hide-for-medium,.rtmedia-activity-container table.hide-for-medium,#buddypress div.rtmedia-activity-container table.hide-for-medium,.rtmedia-container table.hide-for-medium-down,.rtmedia-activity-container table.hide-for-medium-down,#buddypress div.rtmedia-activity-container table.hide-for-medium-down{display:table}.rtmedia-container thead.show-for-large,.rtmedia-activity-container thead.show-for-large,#buddypress div.rtmedia-activity-container thead.show-for-large,.rtmedia-container thead.show-for-large-up,.rtmedia-activity-container thead.show-for-large-up,#buddypress div.rtmedia-activity-container thead.show-for-large-up,.rtmedia-container thead.hide-for-medium,.rtmedia-activity-container thead.hide-for-medium,#buddypress div.rtmedia-activity-container thead.hide-for-medium,.rtmedia-container thead.hide-for-medium-down,.rtmedia-activity-container thead.hide-for-medium-down,#buddypress div.rtmedia-activity-container thead.hide-for-medium-down{display:table-header-group !important}.rtmedia-container tbody.show-for-large,.rtmedia-activity-container tbody.show-for-large,#buddypress div.rtmedia-activity-container tbody.show-for-large,.rtmedia-container tbody.show-for-large-up,.rtmedia-activity-container tbody.show-for-large-up,#buddypress div.rtmedia-activity-container tbody.show-for-large-up,.rtmedia-container tbody.hide-for-medium,.rtmedia-activity-container tbody.hide-for-medium,#buddypress div.rtmedia-activity-container tbody.hide-for-medium,.rtmedia-container tbody.hide-for-medium-down,.rtmedia-activity-container tbody.hide-for-medium-down,#buddypress div.rtmedia-activity-container tbody.hide-for-medium-down{display:table-row-group !important}.rtmedia-container tr.show-for-large,.rtmedia-activity-container tr.show-for-large,#buddypress div.rtmedia-activity-container tr.show-for-large,.rtmedia-container tr.show-for-large-up,.rtmedia-activity-container tr.show-for-large-up,#buddypress div.rtmedia-activity-container tr.show-for-large-up,.rtmedia-container tr.hide-for-medium,.rtmedia-activity-container tr.hide-for-medium,#buddypress div.rtmedia-activity-container tr.hide-for-medium,.rtmedia-container tr.hide-for-medium-down,.rtmedia-activity-container tr.hide-for-medium-down,#buddypress div.rtmedia-activity-container tr.hide-for-medium-down{display:table-row !important}.rtmedia-container td.show-for-large,.rtmedia-activity-container td.show-for-large,#buddypress div.rtmedia-activity-container td.show-for-large,.rtmedia-container td.show-for-large-up,.rtmedia-activity-container td.show-for-large-up,#buddypress div.rtmedia-activity-container td.show-for-large-up,.rtmedia-container td.hide-for-medium,.rtmedia-activity-container td.hide-for-medium,#buddypress div.rtmedia-activity-container td.hide-for-medium,.rtmedia-container td.hide-for-medium-down,.rtmedia-activity-container td.hide-for-medium-down,#buddypress div.rtmedia-activity-container td.hide-for-medium-down,.rtmedia-container th.show-for-large,.rtmedia-activity-container th.show-for-large,#buddypress div.rtmedia-activity-container th.show-for-large,.rtmedia-container th.show-for-large-up,.rtmedia-activity-container th.show-for-large-up,#buddypress div.rtmedia-activity-container th.show-for-large-up,.rtmedia-container th.hide-for-medium,.rtmedia-activity-container th.hide-for-medium,#buddypress div.rtmedia-activity-container th.hide-for-medium,.rtmedia-container th.hide-for-medium-down,.rtmedia-activity-container th.hide-for-medium-down,#buddypress div.rtmedia-activity-container th.hide-for-medium-down{display:table-cell !important}}@media only screen and (min-width: 1440px){.rtmedia-container .show-for-xlarge,.rtmedia-activity-container .show-for-xlarge,#buddypress div.rtmedia-activity-container .show-for-xlarge{display:inherit !important}.rtmedia-container .show-for-large,.rtmedia-activity-container .show-for-large,#buddypress div.rtmedia-activity-container .show-for-large,.rtmedia-container .show-for-large-down,.rtmedia-activity-container .show-for-large-down,#buddypress div.rtmedia-activity-container .show-for-large-down{display:none !important}.rtmedia-container .hide-for-large,.rtmedia-activity-container .hide-for-large,#buddypress div.rtmedia-activity-container .hide-for-large,.rtmedia-container .hide-for-large-down,.rtmedia-activity-container .hide-for-large-down,#buddypress div.rtmedia-activity-container .hide-for-large-down{display:inherit !important}.rtmedia-container .hide-for-xlarge,.rtmedia-activity-container .hide-for-xlarge,#buddypress div.rtmedia-activity-container .hide-for-xlarge{display:none !important}.rtmedia-container table.show-for-xlarge,.rtmedia-activity-container table.show-for-xlarge,#buddypress div.rtmedia-activity-container table.show-for-xlarge,.rtmedia-container table.hide-for-large,.rtmedia-activity-container table.hide-for-large,#buddypress div.rtmedia-activity-container table.hide-for-large,.rtmedia-container table.hide-for-large-down,.rtmedia-activity-container table.hide-for-large-down,#buddypress div.rtmedia-activity-container table.hide-for-large-down{display:table}.rtmedia-container thead.show-for-xlarge,.rtmedia-activity-container thead.show-for-xlarge,#buddypress div.rtmedia-activity-container thead.show-for-xlarge,.rtmedia-container thead.hide-for-large,.rtmedia-activity-container thead.hide-for-large,#buddypress div.rtmedia-activity-container thead.hide-for-large,.rtmedia-container thead.hide-for-large-down,.rtmedia-activity-container thead.hide-for-large-down,#buddypress div.rtmedia-activity-container thead.hide-for-large-down{display:table-header-group !important}.rtmedia-container tbody.show-for-xlarge,.rtmedia-activity-container tbody.show-for-xlarge,#buddypress div.rtmedia-activity-container tbody.show-for-xlarge,.rtmedia-container tbody.hide-for-large,.rtmedia-activity-container tbody.hide-for-large,#buddypress div.rtmedia-activity-container tbody.hide-for-large,.rtmedia-container tbody.hide-for-large-down,.rtmedia-activity-container tbody.hide-for-large-down,#buddypress div.rtmedia-activity-container tbody.hide-for-large-down{display:table-row-group !important}.rtmedia-container tr.show-for-xlarge,.rtmedia-activity-container tr.show-for-xlarge,#buddypress div.rtmedia-activity-container tr.show-for-xlarge,.rtmedia-container tr.hide-for-large,.rtmedia-activity-container tr.hide-for-large,#buddypress div.rtmedia-activity-container tr.hide-for-large,.rtmedia-container tr.hide-for-large-down,.rtmedia-activity-container tr.hide-for-large-down,#buddypress div.rtmedia-activity-container tr.hide-for-large-down{display:table-row !important}.rtmedia-container td.show-for-xlarge,.rtmedia-activity-container td.show-for-xlarge,#buddypress div.rtmedia-activity-container td.show-for-xlarge,.rtmedia-container td.hide-for-large,.rtmedia-activity-container td.hide-for-large,#buddypress div.rtmedia-activity-container td.hide-for-large,.rtmedia-container td.hide-for-large-down,.rtmedia-activity-container td.hide-for-large-down,#buddypress div.rtmedia-activity-container td.hide-for-large-down,.rtmedia-container th.show-for-xlarge,.rtmedia-activity-container th.show-for-xlarge,#buddypress div.rtmedia-activity-container th.show-for-xlarge,.rtmedia-container th.hide-for-large,.rtmedia-activity-container th.hide-for-large,#buddypress div.rtmedia-activity-container th.hide-for-large,.rtmedia-container th.hide-for-large-down,.rtmedia-activity-container th.hide-for-large-down,#buddypress div.rtmedia-activity-container th.hide-for-large-down{display:table-cell !important}}.rtmedia-container .show-for-landscape,.rtmedia-activity-container .show-for-landscape,#buddypress div.rtmedia-activity-container .show-for-landscape,.rtmedia-container .hide-for-portrait,.rtmedia-activity-container .hide-for-portrait,#buddypress div.rtmedia-activity-container .hide-for-portrait{display:inherit !important}.rtmedia-container .hide-for-landscape,.rtmedia-activity-container .hide-for-landscape,#buddypress div.rtmedia-activity-container .hide-for-landscape,.rtmedia-container .show-for-portrait,.rtmedia-activity-container .show-for-portrait,#buddypress div.rtmedia-activity-container .show-for-portrait{display:none !important}.rtmedia-container table.hide-for-landscape,.rtmedia-activity-container table.hide-for-landscape,#buddypress div.rtmedia-activity-container table.hide-for-landscape,.rtmedia-container table.show-for-portrait,.rtmedia-activity-container table.show-for-portrait,#buddypress div.rtmedia-activity-container table.show-for-portrait{display:table}.rtmedia-container thead.hide-for-landscape,.rtmedia-activity-container thead.hide-for-landscape,#buddypress div.rtmedia-activity-container thead.hide-for-landscape,.rtmedia-container thead.show-for-portrait,.rtmedia-activity-container thead.show-for-portrait,#buddypress div.rtmedia-activity-container thead.show-for-portrait{display:table-header-group !important}.rtmedia-container tbody.hide-for-landscape,.rtmedia-activity-container tbody.hide-for-landscape,#buddypress div.rtmedia-activity-container tbody.hide-for-landscape,.rtmedia-container tbody.show-for-portrait,.rtmedia-activity-container tbody.show-for-portrait,#buddypress div.rtmedia-activity-container tbody.show-for-portrait{display:table-row-group !important}.rtmedia-container tr.hide-for-landscape,.rtmedia-activity-container tr.hide-for-landscape,#buddypress div.rtmedia-activity-container tr.hide-for-landscape,.rtmedia-container tr.show-for-portrait,.rtmedia-activity-container tr.show-for-portrait,#buddypress div.rtmedia-activity-container tr.show-for-portrait{display:table-row !important}.rtmedia-container td.hide-for-landscape,.rtmedia-activity-container td.hide-for-landscape,#buddypress div.rtmedia-activity-container td.hide-for-landscape,.rtmedia-container td.show-for-portrait,.rtmedia-activity-container td.show-for-portrait,#buddypress div.rtmedia-activity-container td.show-for-portrait,.rtmedia-container th.hide-for-landscape,.rtmedia-activity-container th.hide-for-landscape,#buddypress div.rtmedia-activity-container th.hide-for-landscape,.rtmedia-container th.show-for-portrait,.rtmedia-activity-container th.show-for-portrait,#buddypress div.rtmedia-activity-container th.show-for-portrait{display:table-cell !important}@media only screen and (orientation: landscape){.rtmedia-container .show-for-landscape,.rtmedia-activity-container .show-for-landscape,#buddypress div.rtmedia-activity-container .show-for-landscape,.rtmedia-container .hide-for-portrait,.rtmedia-activity-container .hide-for-portrait,#buddypress div.rtmedia-activity-container .hide-for-portrait{display:inherit !important}.rtmedia-container .hide-for-landscape,.rtmedia-activity-container .hide-for-landscape,#buddypress div.rtmedia-activity-container .hide-for-landscape,.rtmedia-container .show-for-portrait,.rtmedia-activity-container .show-for-portrait,#buddypress div.rtmedia-activity-container .show-for-portrait{display:none !important}.rtmedia-container table.show-for-landscape,.rtmedia-activity-container table.show-for-landscape,#buddypress div.rtmedia-activity-container table.show-for-landscape,.rtmedia-container table.hide-for-portrait,.rtmedia-activity-container table.hide-for-portrait,#buddypress div.rtmedia-activity-container table.hide-for-portrait{display:table}.rtmedia-container thead.show-for-landscape,.rtmedia-activity-container thead.show-for-landscape,#buddypress div.rtmedia-activity-container thead.show-for-landscape,.rtmedia-container thead.hide-for-portrait,.rtmedia-activity-container thead.hide-for-portrait,#buddypress div.rtmedia-activity-container thead.hide-for-portrait{display:table-header-group !important}.rtmedia-container tbody.show-for-landscape,.rtmedia-activity-container tbody.show-for-landscape,#buddypress div.rtmedia-activity-container tbody.show-for-landscape,.rtmedia-container tbody.hide-for-portrait,.rtmedia-activity-container tbody.hide-for-portrait,#buddypress div.rtmedia-activity-container tbody.hide-for-portrait{display:table-row-group !important}.rtmedia-container tr.show-for-landscape,.rtmedia-activity-container tr.show-for-landscape,#buddypress div.rtmedia-activity-container tr.show-for-landscape,.rtmedia-container tr.hide-for-portrait,.rtmedia-activity-container tr.hide-for-portrait,#buddypress div.rtmedia-activity-container tr.hide-for-portrait{display:table-row !important}.rtmedia-container td.show-for-landscape,.rtmedia-activity-container td.show-for-landscape,#buddypress div.rtmedia-activity-container td.show-for-landscape,.rtmedia-container td.hide-for-portrait,.rtmedia-activity-container td.hide-for-portrait,#buddypress div.rtmedia-activity-container td.hide-for-portrait,.rtmedia-container th.show-for-landscape,.rtmedia-activity-container th.show-for-landscape,#buddypress div.rtmedia-activity-container th.show-for-landscape,.rtmedia-container th.hide-for-portrait,.rtmedia-activity-container th.hide-for-portrait,#buddypress div.rtmedia-activity-container th.hide-for-portrait{display:table-cell !important}}@media only screen and (orientation: portrait){.rtmedia-container .show-for-portrait,.rtmedia-activity-container .show-for-portrait,#buddypress div.rtmedia-activity-container .show-for-portrait,.rtmedia-container .hide-for-landscape,.rtmedia-activity-container .hide-for-landscape,#buddypress div.rtmedia-activity-container .hide-for-landscape{display:inherit !important}.rtmedia-container .hide-for-portrait,.rtmedia-activity-container .hide-for-portrait,#buddypress div.rtmedia-activity-container .hide-for-portrait,.rtmedia-container .show-for-landscape,.rtmedia-activity-container .show-for-landscape,#buddypress div.rtmedia-activity-container .show-for-landscape{display:none !important}.rtmedia-container table.show-for-portrait,.rtmedia-activity-container table.show-for-portrait,#buddypress div.rtmedia-activity-container table.show-for-portrait,.rtmedia-container table.hide-for-landscape,.rtmedia-activity-container table.hide-for-landscape,#buddypress div.rtmedia-activity-container table.hide-for-landscape{display:table}.rtmedia-container thead.show-for-portrait,.rtmedia-activity-container thead.show-for-portrait,#buddypress div.rtmedia-activity-container thead.show-for-portrait,.rtmedia-container thead.hide-for-landscape,.rtmedia-activity-container thead.hide-for-landscape,#buddypress div.rtmedia-activity-container thead.hide-for-landscape{display:table-header-group !important}.rtmedia-container tbody.show-for-portrait,.rtmedia-activity-container tbody.show-for-portrait,#buddypress div.rtmedia-activity-container tbody.show-for-portrait,.rtmedia-container tbody.hide-for-landscape,.rtmedia-activity-container tbody.hide-for-landscape,#buddypress div.rtmedia-activity-container tbody.hide-for-landscape{display:table-row-group !important}.rtmedia-container tr.show-for-portrait,.rtmedia-activity-container tr.show-for-portrait,#buddypress div.rtmedia-activity-container tr.show-for-portrait,.rtmedia-container tr.hide-for-landscape,.rtmedia-activity-container tr.hide-for-landscape,#buddypress div.rtmedia-activity-container tr.hide-for-landscape{display:table-row !important}.rtmedia-container td.show-for-portrait,.rtmedia-activity-container td.show-for-portrait,#buddypress div.rtmedia-activity-container td.show-for-portrait,.rtmedia-container td.hide-for-landscape,.rtmedia-activity-container td.hide-for-landscape,#buddypress div.rtmedia-activity-container td.hide-for-landscape,.rtmedia-container th.show-for-portrait,.rtmedia-activity-container th.show-for-portrait,#buddypress div.rtmedia-activity-container th.show-for-portrait,.rtmedia-container th.hide-for-landscape,.rtmedia-activity-container th.hide-for-landscape,#buddypress div.rtmedia-activity-container th.hide-for-landscape{display:table-cell !important}}.rtmedia-container .show-for-touch,.rtmedia-activity-container .show-for-touch,#buddypress div.rtmedia-activity-container .show-for-touch{display:none !important}.rtmedia-container .hide-for-touch,.rtmedia-activity-container .hide-for-touch,#buddypress div.rtmedia-activity-container .hide-for-touch{display:inherit !important}.rtmedia-container .touch .show-for-touch,.rtmedia-activity-container .touch .show-for-touch,#buddypress div.rtmedia-activity-container .touch .show-for-touch{display:inherit !important}.rtmedia-container .touch .hide-for-touch,.rtmedia-activity-container .touch .hide-for-touch,#buddypress div.rtmedia-activity-container .touch .hide-for-touch{display:none !important}.rtmedia-container table.hide-for-touch,.rtmedia-activity-container table.hide-for-touch,#buddypress div.rtmedia-activity-container table.hide-for-touch{display:table}.rtmedia-container .touch table.show-for-touch,.rtmedia-activity-container .touch table.show-for-touch,#buddypress div.rtmedia-activity-container .touch table.show-for-touch{display:table}.rtmedia-container thead.hide-for-touch,.rtmedia-activity-container thead.hide-for-touch,#buddypress div.rtmedia-activity-container thead.hide-for-touch{display:table-header-group !important}.rtmedia-container .touch thead.show-for-touch,.rtmedia-activity-container .touch thead.show-for-touch,#buddypress div.rtmedia-activity-container .touch thead.show-for-touch{display:table-header-group !important}.rtmedia-container tbody.hide-for-touch,.rtmedia-activity-container tbody.hide-for-touch,#buddypress div.rtmedia-activity-container tbody.hide-for-touch{display:table-row-group !important}.rtmedia-container .touch tbody.show-for-touch,.rtmedia-activity-container .touch tbody.show-for-touch,#buddypress div.rtmedia-activity-container .touch tbody.show-for-touch{display:table-row-group !important}.rtmedia-container tr.hide-for-touch,.rtmedia-activity-container tr.hide-for-touch,#buddypress div.rtmedia-activity-container tr.hide-for-touch{display:table-row !important}.rtmedia-container .touch tr.show-for-touch,.rtmedia-activity-container .touch tr.show-for-touch,#buddypress div.rtmedia-activity-container .touch tr.show-for-touch{display:table-row !important}.rtmedia-container td.hide-for-touch,.rtmedia-activity-container td.hide-for-touch,#buddypress div.rtmedia-activity-container td.hide-for-touch{display:table-cell !important}.rtmedia-container .touch td.show-for-touch,.rtmedia-activity-container .touch td.show-for-touch,#buddypress div.rtmedia-activity-container .touch td.show-for-touch{display:table-cell !important}.rtmedia-container th.hide-for-touch,.rtmedia-activity-container th.hide-for-touch,#buddypress div.rtmedia-activity-container th.hide-for-touch{display:table-cell !important}.rtmedia-container .touch th.show-for-touch,.rtmedia-activity-container .touch th.show-for-touch,#buddypress div.rtmedia-activity-container .touch th.show-for-touch{display:table-cell !important}.rtmedia-container .flex-video,.rtmedia-activity-container .flex-video,#buddypress div.rtmedia-activity-container .flex-video{position:relative;padding-top:1.5625em;padding-bottom:67.5%;height:0;margin-bottom:1em;overflow:hidden}.rtmedia-container .flex-video.widescreen,.rtmedia-activity-container .flex-video.widescreen,#buddypress div.rtmedia-activity-container .flex-video.widescreen{padding-bottom:57.25%}.rtmedia-container .flex-video.vimeo,.rtmedia-activity-container .flex-video.vimeo,#buddypress div.rtmedia-activity-container .flex-video.vimeo{padding-top:0}.rtmedia-container .flex-video iframe,.rtmedia-activity-container .flex-video iframe,#buddypress div.rtmedia-activity-container .flex-video iframe,.rtmedia-container .flex-video object,.rtmedia-activity-container .flex-video object,#buddypress div.rtmedia-activity-container .flex-video object,.rtmedia-container .flex-video embed,.rtmedia-activity-container .flex-video embed,#buddypress div.rtmedia-activity-container .flex-video embed,.rtmedia-container .flex-video video,.rtmedia-activity-container .flex-video video,#buddypress div.rtmedia-activity-container .flex-video video{position:absolute;top:0;left:0;width:100%;height:100%}.rtmedia-container .row,.rtmedia-activity-container .row,#buddypress div.rtmedia-activity-container .row{max-width:95%}.rtmedia-container .rtmedia-item-title,.rtmedia-activity-container .rtmedia-item-title,#buddypress div.rtmedia-activity-container .rtmedia-item-title{text-align:center}.rtmedia-container .rtmedia-item-title h4,.rtmedia-activity-container .rtmedia-item-title h4,#buddypress div.rtmedia-activity-container .rtmedia-item-title h4{text-overflow:ellipsis;white-space:nowrap;width:100%;overflow:hidden;font-size:1.1em;text-align:center}.rtmedia-container .rtmedia-success,.rtmedia-activity-container .rtmedia-success,#buddypress div.rtmedia-activity-container .rtmedia-success{display:block;padding:10px;border:1px solid #008000;background-color:#90EE90;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.rtmedia-container h2,.rtmedia-activity-container h2,#buddypress div.rtmedia-activity-container h2{font-size:1.4em;font-weight:bold;line-height:2.4em}.rtmedia-container .drag-drop,.rtmedia-activity-container .drag-drop,#buddypress div.rtmedia-activity-container .drag-drop{border:4px dashed #DDD;text-align:center;background:#fafafa;overflow:hidden;padding:15px 0}.rtmedia-container .drag-drop.dragover,.rtmedia-activity-container .drag-drop.dragover,#buddypress div.rtmedia-activity-container .drag-drop.dragover{border-color:#83b4d8}.rtmedia-container .rtmedia-action-update,.rtmedia-activity-container .rtmedia-action-update,#buddypress div.rtmedia-activity-container .rtmedia-action-update{float:left;margin-top:12px;margin-right:10px}.rtmedia-container .rtmedia-list,.rtmedia-activity-container .rtmedia-list,#buddypress div.rtmedia-activity-container .rtmedia-list{list-style:none}.rtmedia-container .rtmedia-list .rtmedia-list-item,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item{word-wrap:break-word;margin:10px;float:left}.rtmedia-container .rtmedia-list .rtmedia-list-item a,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item a,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item a{text-decoration:none}.rtmedia-container .rtmedia-list .rtmedia-list-item a h4,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item a h4,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item a h4{line-height:1.4em;font-size:1.2em;padding-top:10px}.rtmedia-container .rtmedia-media img,.rtmedia-activity-container .rtmedia-media img,#buddypress div.rtmedia-activity-container .rtmedia-media img{max-width:100%}.rtmedia-container .rtmedia-item-thumbnail,.rtmedia-activity-container .rtmedia-item-thumbnail,#buddypress div.rtmedia-activity-container .rtmedia-item-thumbnail{text-align:center}.rtmedia-container .rtmedia-item-thumbnail img,.rtmedia-activity-container .rtmedia-item-thumbnail img,#buddypress div.rtmedia-activity-container .rtmedia-item-thumbnail img{vertical-align:middle}.rtmedia-container .rtmedia_next_prev,.rtmedia-activity-container .rtmedia_next_prev,#buddypress div.rtmedia-activity-container .rtmedia_next_prev{clear:both}.rtmedia-container .rtmedia_next_prev a,.rtmedia-activity-container .rtmedia_next_prev a,#buddypress div.rtmedia-activity-container .rtmedia_next_prev a{display:block;clear:both;background-color:#E9E9E9;padding:10px;text-align:center;text-decoration:none;color:#000;margin:15px}.rtmedia-container .rtmedia-item-comments-container,.rtmedia-activity-container .rtmedia-item-comments-container,#buddypress div.rtmedia-activity-container .rtmedia-item-comments-container{margin:3% 3%}.rtmedia-container .rtmedia-comment,.rtmedia-activity-container .rtmedia-comment,#buddypress div.rtmedia-activity-container .rtmedia-comment{list-style:none;background:#f6f6f6;border:1px solid #ddd;-moz-border-radius:3px;border-radius:3px;margin:5px 0;padding:1px 5px 25px;width:391px;max-width:100%}.rtmedia-container .rtmedia-comment .rtmedia-comment-author,.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-author,#buddypress div.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-author{display:block}.rtmedia-container .rtmedia-comment .rtmedia-comment-content,.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-content,#buddypress div.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-content{display:block}.rtmedia-container .rtmedia-comment .rtmedia-comment-date,.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-date,#buddypress div.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-date{display:block;float:right}.rtmedia-container .rtmedia-bp-header,.rtmedia-activity-container .rtmedia-bp-header,#buddypress div.rtmedia-activity-container .rtmedia-bp-header{width:460px;margin:auto}.rtmedia-container #div-attache-rtmedia,.rtmedia-activity-container #div-attache-rtmedia,#buddypress div.rtmedia-activity-container #div-attache-rtmedia{display:none}.rtmedia-container #rtMedia-update-queue-list p span,.rtmedia-activity-container #rtMedia-update-queue-list p span{margin-right:20px}.rtmedia-container .rtmedia-move-container,.rtmedia-activity-container .rtmedia-move-container,#buddypress div.rtmedia-activity-container .rtmedia-move-container{display:none}.rtmedia-container #rtmedia-add-media-button-post-update,.rtmedia-activity-container #rtmedia-add-media-button-post-update,#buddypress div.rtmedia-activity-container #rtmedia-add-media-button-post-update{float:left;margin-top:10px;margin-right:20px}.rtmedia-container #whats-new-post-in-box,.rtmedia-activity-container #whats-new-post-in-box,#buddypress div.rtmedia-activity-container #whats-new-post-in-box{float:left}.rtmedia-container .rtmedia-activity-text,.rtmedia-activity-container .rtmedia-activity-text,#buddypress div.rtmedia-activity-container .rtmedia-activity-text{display:block;padding-bottom:10px}.rtmedia-container .rtmedia-merge-container,.rtmedia-activity-container .rtmedia-merge-container,#buddypress div.rtmedia-activity-container .rtmedia-merge-container{display:none}.rtmedia-container .rtmedia-create-new-album-container,.rtmedia-activity-container .rtmedia-create-new-album-container,#buddypress div.rtmedia-activity-container .rtmedia-create-new-album-container{display:none}.rtmedia-container select,.rtmedia-activity-container select,#buddypress div.rtmedia-activity-container select{width:auto}.rtmedia-container.rtmedia-single-container .row,.rtmedia-single-container.rtmedia-activity-container .row,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row{background-color:#FFF}.rtmedia-container.rtmedia-single-container .row #rtmedia-single-media-container,.rtmedia-single-container.rtmedia-activity-container .row #rtmedia-single-media-container{padding-top:10px;padding-bottom:10px}.rtmedia-container.rtmedia-single-container .row #rtmedia-single-media-container .rtmedia-media div.mejs-layers div.mejs-poster,.rtmedia-single-container.rtmedia-activity-container .row #rtmedia-single-media-container .rtmedia-media div.mejs-layers div.mejs-poster{overflow:hidden}.rtmedia-container.rtmedia-single-container .row #rtmedia-single-media-container .rtmedia-media .mejs-layers .mejs-overlay-button,.rtmedia-single-container.rtmedia-activity-container .row #rtmedia-single-media-container .rtmedia-media .mejs-layers .mejs-overlay-button{margin:-50px 0 0 -50px}.rtmedia-container.rtmedia-single-container .row #rtmedia-single-media-container .rtmedia-media .mejs-controls .mejs-button button,.rtmedia-single-container.rtmedia-activity-container .row #rtmedia-single-media-container .rtmedia-media .mejs-controls .mejs-button button{cursor:pointer;display:block;font-size:0;line-height:0;text-decoration:none;margin:7px 5px;padding:0;position:absolute;height:16px;width:16px;border:0;background:rgba(0,0,0,0) url("../../../lib/media-element/controls.png") no-repeat}.rtmedia-container.rtmedia-single-container .row #rtmedia-single-media-container .rtmedia-media .mejs-controls .mejs-mute button,.rtmedia-single-container.rtmedia-activity-container .row #rtmedia-single-media-container .rtmedia-media .mejs-controls .mejs-mute button{background-position:-16px -16px}.rtmedia-container.rtmedia-single-container .row #rtmedia-single-media-container .rtmedia-media .mejs-controls .mejs-fullscreen-button button,.rtmedia-single-container.rtmedia-activity-container .row #rtmedia-single-media-container .rtmedia-media .mejs-controls .mejs-fullscreen-button button{background-position:-32px 0}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta{padding:10px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta div.userprofile,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta div.userprofile,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta div.userprofile{float:left;padding:10px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta div.username,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta div.username,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta div.username{padding:10px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta button,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta button,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta button{color:#5E5E5E;background-color:#EBEBEB;background-repeat:repeat-x;background-image:-moz-linear-gradient(top, #f9f9f9, #ebebeb);background-image:-ms-linear-gradient(top, #f9f9f9, #ebebeb);background-image:-webkit-linear-gradient(top, #f9f9f9, #ebebeb);background-image:-o-linear-gradient(top, #f9f9f9, #ebebeb);background-image:linear-gradient(to bottom, #f9f9f9,#ebebeb)}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta>a,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta>a,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta>a{float:left;margin:10px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta .rtmedia-item-actions>a,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions>a,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions>a{display:inline-block;float:left}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta .rtmedia-item-actions>form,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions>form,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions>form{float:left;margin-right:5px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta .rtmedia-item-actions .rtmedia-action-buttons span,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions .rtmedia-action-buttons span,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions .rtmedia-action-buttons span{background:#EEE;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;border:1px solid #CCC;color:#999;display:inline;font-size:70%;margin-left:2px;margin-right:2px;padding:3px 6px;text-align:center;vertical-align:middle}.rtmedia-container.rtmedia-single-container .row .rtmedia-item-comments,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-item-comments,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-item-comments{background-color:transparent}.rtmedia-container.rtmedia-single-container .row .rtmedia-item-comments div,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-item-comments div,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-item-comments div{background-color:transparent}.rtmedia-container #wp-description-editor-tools a.wp-switch-editor,.rtmedia-activity-container #wp-description-editor-tools a.wp-switch-editor{margin:5px 5px 0 0;padding:4px 5px 2px;float:right;cursor:pointer;border:1px solid;border-color:#DFDFDF #DFDFDF #CCC;font:13px/18px Arial,Helvetica,sans-serif normal;height:auto}.rtmedia-container #description_toolbargroup .mceToolbar td,.rtmedia-activity-container #description_toolbargroup .mceToolbar td{padding:0px}.rtmedia-container #wp-description-editor-container,.rtmedia-activity-container #wp-description-editor-container,#buddypress div.rtmedia-activity-container #wp-description-editor-container{border-width:1px;border-style:solid;-webkit-border-top-right-radius:3px;-webkit-border-top-left-radius:3px;border-top-right-radius:3px;border-top-left-radius:3px;border-color:#CCC #CCC #DFDFDF}#buddypress div.rtmedia-activity-container ul.rtmedia-list li{float:left;padding:10px}#buddypress div.rtmedia-activity-container ul.rtmedia-list li .rtmedia-item-thumbnail{overflow:hidden}#buddypress div.rtmedia-activity-container ul.rtmedia-list li.media-type-video{float:none}#buddypress div.rtmedia-activity-container ul.rtmedia-list li.media-type-video .rtmedia-item-thumbnail{margin:0 auto;overflow:hidden}#buddypress div.rtmedia-activity-container ul.rtmedia-list li.media-type-video .rtmedia-item-thumbnail .mejs-overlay-button{margin:-50px 0 0 -50px}#buddypress div.rtmedia-activity-container ul.rtmedia-list li.media-type-video .rtmedia-item-thumbnail .mejs-controls .mejs-button button{cursor:pointer;display:block;font-size:0;line-height:0;text-decoration:none;margin:7px 5px;padding:0;position:absolute;height:16px;width:16px;border:0;background:rgba(0,0,0,0) url("../../../lib/media-element/controls.png") no-repeat}#buddypress div.rtmedia-activity-container ul.rtmedia-list li.media-type-video .rtmedia-item-thumbnail .mejs-controls .mejs-mute button{background-position:-16px -16px}#buddypress div.rtmedia-activity-container ul.rtmedia-list li.media-type-video .rtmedia-item-thumbnail .mejs-controls .mejs-fullscreen-button button{background-position:-32px 0}.mfp-content #rtmedia-single-media-container .rtmedia-media{text-align:center;background-color:#333}.mfp-content #rtmedia-single-media-container .rtmedia-media img{max-height:95%}#rtmedia-action-update{float:left;padding-right:10px}#header{z-index:1 !important}.bp_media_content video{background-color:black}.rtmedia-success{display:block;padding:10px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background-color:#2ECC71;color:white}.rtmedia-error{color:white;display:block;padding:10px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background-color:#E74C3C}
1
+ .rtmedia-container,.rtmedia-activity-container,#buddypress div.rtmedia-activity-container{padding:5px;margin:0;clear:left}.rtmedia-container html,.rtmedia-activity-container html,#buddypress div.rtmedia-activity-container html,.rtmedia-container body,.rtmedia-activity-container body,#buddypress div.rtmedia-activity-container body,.rtmedia-container div,.rtmedia-activity-container div,#buddypress div.rtmedia-activity-container div,.rtmedia-container span,.rtmedia-activity-container span,#buddypress div.rtmedia-activity-container span,.rtmedia-container applet,.rtmedia-activity-container applet,#buddypress div.rtmedia-activity-container applet,.rtmedia-container object,.rtmedia-activity-container object,#buddypress div.rtmedia-activity-container object,.rtmedia-container iframe,.rtmedia-activity-container iframe,#buddypress div.rtmedia-activity-container iframe,.rtmedia-container h1,.rtmedia-activity-container h1,#buddypress div.rtmedia-activity-container h1,.rtmedia-container h2,.rtmedia-activity-container h2,#buddypress div.rtmedia-activity-container h2,.rtmedia-container h3,.rtmedia-activity-container h3,#buddypress div.rtmedia-activity-container h3,.rtmedia-container h4,.rtmedia-activity-container h4,#buddypress div.rtmedia-activity-container h4,.rtmedia-container h5,.rtmedia-activity-container h5,#buddypress div.rtmedia-activity-container h5,.rtmedia-container h6,.rtmedia-activity-container h6,#buddypress div.rtmedia-activity-container h6,.rtmedia-container p,.rtmedia-activity-container p,#buddypress div.rtmedia-activity-container p,.rtmedia-container blockquote,.rtmedia-activity-container blockquote,#buddypress div.rtmedia-activity-container blockquote,.rtmedia-container pre,.rtmedia-activity-container pre,#buddypress div.rtmedia-activity-container pre,.rtmedia-container a,.rtmedia-activity-container a,#buddypress div.rtmedia-activity-container a,.rtmedia-container abbr,.rtmedia-activity-container abbr,#buddypress div.rtmedia-activity-container abbr,.rtmedia-container acronym,.rtmedia-activity-container acronym,#buddypress div.rtmedia-activity-container acronym,.rtmedia-container address,.rtmedia-activity-container address,#buddypress div.rtmedia-activity-container address,.rtmedia-container big,.rtmedia-activity-container big,#buddypress div.rtmedia-activity-container big,.rtmedia-container cite,.rtmedia-activity-container cite,#buddypress div.rtmedia-activity-container cite,.rtmedia-container code,.rtmedia-activity-container code,#buddypress div.rtmedia-activity-container code,.rtmedia-container del,.rtmedia-activity-container del,#buddypress div.rtmedia-activity-container del,.rtmedia-container dfn,.rtmedia-activity-container dfn,#buddypress div.rtmedia-activity-container dfn,.rtmedia-container em,.rtmedia-activity-container em,#buddypress div.rtmedia-activity-container em,.rtmedia-container img,.rtmedia-activity-container img,#buddypress div.rtmedia-activity-container img,.rtmedia-container ins,.rtmedia-activity-container ins,#buddypress div.rtmedia-activity-container ins,.rtmedia-container kbd,.rtmedia-activity-container kbd,#buddypress div.rtmedia-activity-container kbd,.rtmedia-container q,.rtmedia-activity-container q,#buddypress div.rtmedia-activity-container q,.rtmedia-container s,.rtmedia-activity-container s,#buddypress div.rtmedia-activity-container s,.rtmedia-container samp,.rtmedia-activity-container samp,#buddypress div.rtmedia-activity-container samp,.rtmedia-container small,.rtmedia-activity-container small,#buddypress div.rtmedia-activity-container small,.rtmedia-container strike,.rtmedia-activity-container strike,#buddypress div.rtmedia-activity-container strike,.rtmedia-container strong,.rtmedia-activity-container strong,#buddypress div.rtmedia-activity-container strong,.rtmedia-container sub,.rtmedia-activity-container sub,#buddypress div.rtmedia-activity-container sub,.rtmedia-container sup,.rtmedia-activity-container sup,#buddypress div.rtmedia-activity-container sup,.rtmedia-container tt,.rtmedia-activity-container tt,#buddypress div.rtmedia-activity-container tt,.rtmedia-container var,.rtmedia-activity-container var,#buddypress div.rtmedia-activity-container var,.rtmedia-container b,.rtmedia-activity-container b,#buddypress div.rtmedia-activity-container b,.rtmedia-container u,.rtmedia-activity-container u,#buddypress div.rtmedia-activity-container u,.rtmedia-container i,.rtmedia-activity-container i,#buddypress div.rtmedia-activity-container i,.rtmedia-container center,.rtmedia-activity-container center,#buddypress div.rtmedia-activity-container center,.rtmedia-container dl,.rtmedia-activity-container dl,#buddypress div.rtmedia-activity-container dl,.rtmedia-container dt,.rtmedia-activity-container dt,#buddypress div.rtmedia-activity-container dt,.rtmedia-container dd,.rtmedia-activity-container dd,#buddypress div.rtmedia-activity-container dd,.rtmedia-container ol,.rtmedia-activity-container ol,#buddypress div.rtmedia-activity-container ol,.rtmedia-container ul,.rtmedia-activity-container ul,#buddypress div.rtmedia-activity-container ul,.rtmedia-container li,.rtmedia-activity-container li,#buddypress div.rtmedia-activity-container li,.rtmedia-container fieldset,.rtmedia-activity-container fieldset,#buddypress div.rtmedia-activity-container fieldset,.rtmedia-container form,.rtmedia-activity-container form,#buddypress div.rtmedia-activity-container form,.rtmedia-container label,.rtmedia-activity-container label,#buddypress div.rtmedia-activity-container label,.rtmedia-container legend,.rtmedia-activity-container legend,#buddypress div.rtmedia-activity-container legend,.rtmedia-container table,.rtmedia-activity-container table,#buddypress div.rtmedia-activity-container table,.rtmedia-container caption,.rtmedia-activity-container caption,#buddypress div.rtmedia-activity-container caption,.rtmedia-container tbody,.rtmedia-activity-container tbody,#buddypress div.rtmedia-activity-container tbody,.rtmedia-container tfoot,.rtmedia-activity-container tfoot,#buddypress div.rtmedia-activity-container tfoot,.rtmedia-container thead,.rtmedia-activity-container thead,#buddypress div.rtmedia-activity-container thead,.rtmedia-container tr,.rtmedia-activity-container tr,#buddypress div.rtmedia-activity-container tr,.rtmedia-container th,.rtmedia-activity-container th,#buddypress div.rtmedia-activity-container th,.rtmedia-container td,.rtmedia-activity-container td,#buddypress div.rtmedia-activity-container td,.rtmedia-container article,.rtmedia-activity-container article,#buddypress div.rtmedia-activity-container article,.rtmedia-container aside,.rtmedia-activity-container aside,#buddypress div.rtmedia-activity-container aside,.rtmedia-container canvas,.rtmedia-activity-container canvas,#buddypress div.rtmedia-activity-container canvas,.rtmedia-container details,.rtmedia-activity-container details,#buddypress div.rtmedia-activity-container details,.rtmedia-container embed,.rtmedia-activity-container embed,#buddypress div.rtmedia-activity-container embed,.rtmedia-container figure,.rtmedia-activity-container figure,#buddypress div.rtmedia-activity-container figure,.rtmedia-container figcaption,.rtmedia-activity-container figcaption,#buddypress div.rtmedia-activity-container figcaption,.rtmedia-container footer,.rtmedia-activity-container footer,#buddypress div.rtmedia-activity-container footer,.rtmedia-container header,.rtmedia-activity-container header,#buddypress div.rtmedia-activity-container header,.rtmedia-container hgroup,.rtmedia-activity-container hgroup,#buddypress div.rtmedia-activity-container hgroup,.rtmedia-container menu,.rtmedia-activity-container menu,#buddypress div.rtmedia-activity-container menu,.rtmedia-container nav,.rtmedia-activity-container nav,#buddypress div.rtmedia-activity-container nav,.rtmedia-container output,.rtmedia-activity-container output,#buddypress div.rtmedia-activity-container output,.rtmedia-container ruby,.rtmedia-activity-container ruby,#buddypress div.rtmedia-activity-container ruby,.rtmedia-container section,.rtmedia-activity-container section,#buddypress div.rtmedia-activity-container section,.rtmedia-container summary,.rtmedia-activity-container summary,#buddypress div.rtmedia-activity-container summary,.rtmedia-container time,.rtmedia-activity-container time,#buddypress div.rtmedia-activity-container time,.rtmedia-container mark,.rtmedia-activity-container mark,#buddypress div.rtmedia-activity-container mark,.rtmedia-container audio,.rtmedia-activity-container audio,#buddypress div.rtmedia-activity-container audio,.rtmedia-container video,.rtmedia-activity-container video,#buddypress div.rtmedia-activity-container video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}.rtmedia-container html,.rtmedia-activity-container html,#buddypress div.rtmedia-activity-container html{line-height:1}.rtmedia-container ol,.rtmedia-activity-container ol,#buddypress div.rtmedia-activity-container ol,.rtmedia-container ul,.rtmedia-activity-container ul,#buddypress div.rtmedia-activity-container ul{list-style:none}.rtmedia-container table,.rtmedia-activity-container table,#buddypress div.rtmedia-activity-container table{border-collapse:collapse;border-spacing:0}.rtmedia-container caption,.rtmedia-activity-container caption,#buddypress div.rtmedia-activity-container caption,.rtmedia-container th,.rtmedia-activity-container th,#buddypress div.rtmedia-activity-container th,.rtmedia-container td,.rtmedia-activity-container td,#buddypress div.rtmedia-activity-container td{text-align:left;font-weight:normal;vertical-align:middle}.rtmedia-container q,.rtmedia-activity-container q,#buddypress div.rtmedia-activity-container q,.rtmedia-container blockquote,.rtmedia-activity-container blockquote,#buddypress div.rtmedia-activity-container blockquote{quotes:none}.rtmedia-container q:before,.rtmedia-activity-container q:before,#buddypress div.rtmedia-activity-container q:before,.rtmedia-container q:after,.rtmedia-activity-container q:after,#buddypress div.rtmedia-activity-container q:after,.rtmedia-container blockquote:before,.rtmedia-activity-container blockquote:before,#buddypress div.rtmedia-activity-container blockquote:before,.rtmedia-container blockquote:after,.rtmedia-activity-container blockquote:after,#buddypress div.rtmedia-activity-container blockquote:after{content:"";content:none}.rtmedia-container a img,.rtmedia-activity-container a img,#buddypress div.rtmedia-activity-container a img{border:none}.rtmedia-container article,.rtmedia-activity-container article,#buddypress div.rtmedia-activity-container article,.rtmedia-container aside,.rtmedia-activity-container aside,#buddypress div.rtmedia-activity-container aside,.rtmedia-container details,.rtmedia-activity-container details,#buddypress div.rtmedia-activity-container details,.rtmedia-container figcaption,.rtmedia-activity-container figcaption,#buddypress div.rtmedia-activity-container figcaption,.rtmedia-container figure,.rtmedia-activity-container figure,#buddypress div.rtmedia-activity-container figure,.rtmedia-container footer,.rtmedia-activity-container footer,#buddypress div.rtmedia-activity-container footer,.rtmedia-container header,.rtmedia-activity-container header,#buddypress div.rtmedia-activity-container header,.rtmedia-container hgroup,.rtmedia-activity-container hgroup,#buddypress div.rtmedia-activity-container hgroup,.rtmedia-container menu,.rtmedia-activity-container menu,#buddypress div.rtmedia-activity-container menu,.rtmedia-container nav,.rtmedia-activity-container nav,#buddypress div.rtmedia-activity-container nav,.rtmedia-container section,.rtmedia-activity-container section,#buddypress div.rtmedia-activity-container section,.rtmedia-container summary,.rtmedia-activity-container summary,#buddypress div.rtmedia-activity-container summary{display:block}.rtmedia-container *,.rtmedia-activity-container *,#buddypress div.rtmedia-activity-container *,.rtmedia-container *:before,.rtmedia-activity-container *:before,#buddypress div.rtmedia-activity-container *:before,.rtmedia-container *:after,.rtmedia-activity-container *:after,#buddypress div.rtmedia-activity-container *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.rtmedia-container html,.rtmedia-activity-container html,#buddypress div.rtmedia-activity-container html,.rtmedia-container body,.rtmedia-activity-container body,#buddypress div.rtmedia-activity-container body{font-size:100%}.rtmedia-container body,.rtmedia-activity-container body,#buddypress div.rtmedia-activity-container body{background:#fff;color:#222;padding:0;margin:0;font-family:"Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;font-weight:normal;font-style:normal;line-height:1;position:relative;cursor:default}.rtmedia-container a:hover,.rtmedia-activity-container a:hover,#buddypress div.rtmedia-activity-container a:hover{cursor:pointer}.rtmedia-container a:focus,.rtmedia-activity-container a:focus,#buddypress div.rtmedia-activity-container a:focus{outline:none}.rtmedia-container img,.rtmedia-activity-container img,#buddypress div.rtmedia-activity-container img,.rtmedia-container object,.rtmedia-activity-container object,#buddypress div.rtmedia-activity-container object,.rtmedia-container embed,.rtmedia-activity-container embed,#buddypress div.rtmedia-activity-container embed{max-width:100%;height:auto}.rtmedia-container object,.rtmedia-activity-container object,#buddypress div.rtmedia-activity-container object,.rtmedia-container embed,.rtmedia-activity-container embed,#buddypress div.rtmedia-activity-container embed{height:100%}.rtmedia-container img,.rtmedia-activity-container img,#buddypress div.rtmedia-activity-container img{-ms-interpolation-mode:bicubic}.rtmedia-container #map_canvas img,.rtmedia-activity-container #map_canvas img,.rtmedia-container #map_canvas embed,.rtmedia-activity-container #map_canvas embed,.rtmedia-container #map_canvas object,.rtmedia-activity-container #map_canvas object,.rtmedia-container .map_canvas img,.rtmedia-activity-container .map_canvas img,#buddypress div.rtmedia-activity-container .map_canvas img,.rtmedia-container .map_canvas embed,.rtmedia-activity-container .map_canvas embed,#buddypress div.rtmedia-activity-container .map_canvas embed,.rtmedia-container .map_canvas object,.rtmedia-activity-container .map_canvas object,#buddypress div.rtmedia-activity-container .map_canvas object{max-width:none !important}.rtmedia-container .left,.rtmedia-activity-container .left,#buddypress div.rtmedia-activity-container .left{float:left !important}.rtmedia-container .right,.rtmedia-activity-container .right,#buddypress div.rtmedia-activity-container .right{float:right !important}.rtmedia-container .text-left,.rtmedia-activity-container .text-left,#buddypress div.rtmedia-activity-container .text-left{text-align:left !important}.rtmedia-container .text-right,.rtmedia-activity-container .text-right,#buddypress div.rtmedia-activity-container .text-right{text-align:right !important}.rtmedia-container .text-center,.rtmedia-activity-container .text-center,#buddypress div.rtmedia-activity-container .text-center{text-align:center !important}.rtmedia-container .text-justify,.rtmedia-activity-container .text-justify,#buddypress div.rtmedia-activity-container .text-justify{text-align:justify !important}.rtmedia-container .hide,.rtmedia-activity-container .hide,#buddypress div.rtmedia-activity-container .hide{display:none}.rtmedia-container .antialiased,.rtmedia-activity-container .antialiased,#buddypress div.rtmedia-activity-container .antialiased{-webkit-font-smoothing:antialiased}.rtmedia-container img,.rtmedia-activity-container img,#buddypress div.rtmedia-activity-container img{display:inline-block;vertical-align:middle}.rtmedia-container textarea,.rtmedia-activity-container textarea,#buddypress div.rtmedia-activity-container textarea{height:auto;min-height:50px}.rtmedia-container select,.rtmedia-activity-container select,#buddypress div.rtmedia-activity-container select{width:100%}.rtmedia-container .row,.rtmedia-activity-container .row,#buddypress div.rtmedia-activity-container .row{width:100%;margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;max-width:62.5em;*zoom:1}.rtmedia-container .row:before,.rtmedia-activity-container .row:before,#buddypress div.rtmedia-activity-container .row:before,.rtmedia-container .row:after,.rtmedia-activity-container .row:after,#buddypress div.rtmedia-activity-container .row:after{content:" ";display:table}.rtmedia-container .row:after,.rtmedia-activity-container .row:after,#buddypress div.rtmedia-activity-container .row:after{clear:both}.rtmedia-container .row.collapse .column,.rtmedia-activity-container .row.collapse .column,#buddypress div.rtmedia-activity-container .row.collapse .column,.rtmedia-container .row.collapse .columns,.rtmedia-activity-container .row.collapse .columns,#buddypress div.rtmedia-activity-container .row.collapse .columns{position:relative;padding-left:0;padding-right:0;float:left}.rtmedia-container .row .row,.rtmedia-activity-container .row .row,#buddypress div.rtmedia-activity-container .row .row{width:auto;margin-left:-0.9375em;margin-right:-0.9375em;margin-top:0;margin-bottom:0;max-width:none;*zoom:1}.rtmedia-container .row .row:before,.rtmedia-activity-container .row .row:before,#buddypress div.rtmedia-activity-container .row .row:before,.rtmedia-container .row .row:after,.rtmedia-activity-container .row .row:after,#buddypress div.rtmedia-activity-container .row .row:after{content:" ";display:table}.rtmedia-container .row .row:after,.rtmedia-activity-container .row .row:after,#buddypress div.rtmedia-activity-container .row .row:after{clear:both}.rtmedia-container .row .row.collapse,.rtmedia-activity-container .row .row.collapse,#buddypress div.rtmedia-activity-container .row .row.collapse{width:auto;margin:0;max-width:none;*zoom:1}.rtmedia-container .row .row.collapse:before,.rtmedia-activity-container .row .row.collapse:before,#buddypress div.rtmedia-activity-container .row .row.collapse:before,.rtmedia-container .row .row.collapse:after,.rtmedia-activity-container .row .row.collapse:after,#buddypress div.rtmedia-activity-container .row .row.collapse:after{content:" ";display:table}.rtmedia-container .row .row.collapse:after,.rtmedia-activity-container .row .row.collapse:after,#buddypress div.rtmedia-activity-container .row .row.collapse:after{clear:both}.rtmedia-container .column,.rtmedia-activity-container .column,#buddypress div.rtmedia-activity-container .column,.rtmedia-container .columns,.rtmedia-activity-container .columns,#buddypress div.rtmedia-activity-container .columns{position:relative;padding-left:0.9375em;padding-right:0.9375em;width:100%;float:left}@media only screen{.rtmedia-container .column,.rtmedia-activity-container .column,#buddypress div.rtmedia-activity-container .column,.rtmedia-container .columns,.rtmedia-activity-container .columns,#buddypress div.rtmedia-activity-container .columns{position:relative;padding-left:0.9375em;padding-right:0.9375em;float:left}.rtmedia-container .small-1,.rtmedia-activity-container .small-1,#buddypress div.rtmedia-activity-container .small-1{position:relative;width:8.33333%}.rtmedia-container .small-2,.rtmedia-activity-container .small-2,#buddypress div.rtmedia-activity-container .small-2{position:relative;width:16.66667%}.rtmedia-container .small-3,.rtmedia-activity-container .small-3,#buddypress div.rtmedia-activity-container .small-3{position:relative;width:25%}.rtmedia-container .small-4,.rtmedia-activity-container .small-4,#buddypress div.rtmedia-activity-container .small-4{position:relative;width:33.33333%}.rtmedia-container .small-5,.rtmedia-activity-container .small-5,#buddypress div.rtmedia-activity-container .small-5{position:relative;width:41.66667%}.rtmedia-container .small-6,.rtmedia-activity-container .small-6,#buddypress div.rtmedia-activity-container .small-6{position:relative;width:50%}.rtmedia-container .small-7,.rtmedia-activity-container .small-7,#buddypress div.rtmedia-activity-container .small-7{position:relative;width:58.33333%}.rtmedia-container .small-8,.rtmedia-activity-container .small-8,#buddypress div.rtmedia-activity-container .small-8{position:relative;width:66.66667%}.rtmedia-container .small-9,.rtmedia-activity-container .small-9,#buddypress div.rtmedia-activity-container .small-9{position:relative;width:75%}.rtmedia-container .small-10,.rtmedia-activity-container .small-10,#buddypress div.rtmedia-activity-container .small-10{position:relative;width:83.33333%}.rtmedia-container .small-11,.rtmedia-activity-container .small-11,#buddypress div.rtmedia-activity-container .small-11{position:relative;width:91.66667%}.rtmedia-container .small-12,.rtmedia-activity-container .small-12,#buddypress div.rtmedia-activity-container .small-12{position:relative;width:100%}.rtmedia-container .small-offset-0,.rtmedia-activity-container .small-offset-0,#buddypress div.rtmedia-activity-container .small-offset-0{position:relative;margin-left:0%}.rtmedia-container .small-offset-1,.rtmedia-activity-container .small-offset-1,#buddypress div.rtmedia-activity-container .small-offset-1{position:relative;margin-left:8.33333%}.rtmedia-container .small-offset-2,.rtmedia-activity-container .small-offset-2,#buddypress div.rtmedia-activity-container .small-offset-2{position:relative;margin-left:16.66667%}.rtmedia-container .small-offset-3,.rtmedia-activity-container .small-offset-3,#buddypress div.rtmedia-activity-container .small-offset-3{position:relative;margin-left:25%}.rtmedia-container .small-offset-4,.rtmedia-activity-container .small-offset-4,#buddypress div.rtmedia-activity-container .small-offset-4{position:relative;margin-left:33.33333%}.rtmedia-container .small-offset-5,.rtmedia-activity-container .small-offset-5,#buddypress div.rtmedia-activity-container .small-offset-5{position:relative;margin-left:41.66667%}.rtmedia-container .small-offset-6,.rtmedia-activity-container .small-offset-6,#buddypress div.rtmedia-activity-container .small-offset-6{position:relative;margin-left:50%}.rtmedia-container .small-offset-7,.rtmedia-activity-container .small-offset-7,#buddypress div.rtmedia-activity-container .small-offset-7{position:relative;margin-left:58.33333%}.rtmedia-container .small-offset-8,.rtmedia-activity-container .small-offset-8,#buddypress div.rtmedia-activity-container .small-offset-8{position:relative;margin-left:66.66667%}.rtmedia-container .small-offset-9,.rtmedia-activity-container .small-offset-9,#buddypress div.rtmedia-activity-container .small-offset-9{position:relative;margin-left:75%}.rtmedia-container .small-offset-10,.rtmedia-activity-container .small-offset-10,#buddypress div.rtmedia-activity-container .small-offset-10{position:relative;margin-left:83.33333%}.rtmedia-container [class*="column"]+[class*="column"]:last-child,.rtmedia-activity-container [class*="column"]+[class*="column"]:last-child,#buddypress div.rtmedia-activity-container [class*="column"]+[class*="column"]:last-child{float:right}.rtmedia-container [class*="column"]+[class*="column"].end,.rtmedia-activity-container [class*="column"]+[class*="column"].end,#buddypress div.rtmedia-activity-container [class*="column"]+[class*="column"].end{float:left}.rtmedia-container .column.small-centered,.rtmedia-activity-container .column.small-centered,#buddypress div.rtmedia-activity-container .column.small-centered,.rtmedia-container .columns.small-centered,.rtmedia-activity-container .columns.small-centered,#buddypress div.rtmedia-activity-container .columns.small-centered{position:relative;margin-left:auto;margin-right:auto;float:none !important}}@media only screen and (min-width: 768px){.rtmedia-container .large-1,.rtmedia-activity-container .large-1,#buddypress div.rtmedia-activity-container .large-1{position:relative;width:8.33333%}.rtmedia-container .large-2,.rtmedia-activity-container .large-2,#buddypress div.rtmedia-activity-container .large-2{position:relative;width:16.66667%}.rtmedia-container .large-3,.rtmedia-activity-container .large-3,#buddypress div.rtmedia-activity-container .large-3{position:relative;width:25%}.rtmedia-container .large-4,.rtmedia-activity-container .large-4,#buddypress div.rtmedia-activity-container .large-4{position:relative;width:33.33333%}.rtmedia-container .large-5,.rtmedia-activity-container .large-5,#buddypress div.rtmedia-activity-container .large-5{position:relative;width:41.66667%}.rtmedia-container .large-6,.rtmedia-activity-container .large-6,#buddypress div.rtmedia-activity-container .large-6{position:relative;width:50%}.rtmedia-container .large-7,.rtmedia-activity-container .large-7,#buddypress div.rtmedia-activity-container .large-7{position:relative;width:58.33333%}.rtmedia-container .large-8,.rtmedia-activity-container .large-8,#buddypress div.rtmedia-activity-container .large-8{position:relative;width:66.66667%}.rtmedia-container .large-9,.rtmedia-activity-container .large-9,#buddypress div.rtmedia-activity-container .large-9{position:relative;width:75%}.rtmedia-container .large-10,.rtmedia-activity-container .large-10,#buddypress div.rtmedia-activity-container .large-10{position:relative;width:83.33333%}.rtmedia-container .large-11,.rtmedia-activity-container .large-11,#buddypress div.rtmedia-activity-container .large-11{position:relative;width:91.66667%}.rtmedia-container .large-12,.rtmedia-activity-container .large-12,#buddypress div.rtmedia-activity-container .large-12{position:relative;width:100%}.rtmedia-container .row .large-offset-0,.rtmedia-activity-container .row .large-offset-0,#buddypress div.rtmedia-activity-container .row .large-offset-0{position:relative;margin-left:0%}.rtmedia-container .row .large-offset-1,.rtmedia-activity-container .row .large-offset-1,#buddypress div.rtmedia-activity-container .row .large-offset-1{position:relative;margin-left:8.33333%}.rtmedia-container .row .large-offset-2,.rtmedia-activity-container .row .large-offset-2,#buddypress div.rtmedia-activity-container .row .large-offset-2{position:relative;margin-left:16.66667%}.rtmedia-container .row .large-offset-3,.rtmedia-activity-container .row .large-offset-3,#buddypress div.rtmedia-activity-container .row .large-offset-3{position:relative;margin-left:25%}.rtmedia-container .row .large-offset-4,.rtmedia-activity-container .row .large-offset-4,#buddypress div.rtmedia-activity-container .row .large-offset-4{position:relative;margin-left:33.33333%}.rtmedia-container .row .large-offset-5,.rtmedia-activity-container .row .large-offset-5,#buddypress div.rtmedia-activity-container .row .large-offset-5{position:relative;margin-left:41.66667%}.rtmedia-container .row .large-offset-6,.rtmedia-activity-container .row .large-offset-6,#buddypress div.rtmedia-activity-container .row .large-offset-6{position:relative;margin-left:50%}.rtmedia-container .row .large-offset-7,.rtmedia-activity-container .row .large-offset-7,#buddypress div.rtmedia-activity-container .row .large-offset-7{position:relative;margin-left:58.33333%}.rtmedia-container .row .large-offset-8,.rtmedia-activity-container .row .large-offset-8,#buddypress div.rtmedia-activity-container .row .large-offset-8{position:relative;margin-left:66.66667%}.rtmedia-container .row .large-offset-9,.rtmedia-activity-container .row .large-offset-9,#buddypress div.rtmedia-activity-container .row .large-offset-9{position:relative;margin-left:75%}.rtmedia-container .row .large-offset-10,.rtmedia-activity-container .row .large-offset-10,#buddypress div.rtmedia-activity-container .row .large-offset-10{position:relative;margin-left:83.33333%}.rtmedia-container .row .large-offset-11,.rtmedia-activity-container .row .large-offset-11,#buddypress div.rtmedia-activity-container .row .large-offset-11{position:relative;margin-left:91.66667%}.rtmedia-container .push-1,.rtmedia-activity-container .push-1,#buddypress div.rtmedia-activity-container .push-1{position:relative;left:8.33333%;right:auto}.rtmedia-container .pull-1,.rtmedia-activity-container .pull-1,#buddypress div.rtmedia-activity-container .pull-1{position:relative;right:8.33333%;left:auto}.rtmedia-container .push-2,.rtmedia-activity-container .push-2,#buddypress div.rtmedia-activity-container .push-2{position:relative;left:16.66667%;right:auto}.rtmedia-container .pull-2,.rtmedia-activity-container .pull-2,#buddypress div.rtmedia-activity-container .pull-2{position:relative;right:16.66667%;left:auto}.rtmedia-container .push-3,.rtmedia-activity-container .push-3,#buddypress div.rtmedia-activity-container .push-3{position:relative;left:25%;right:auto}.rtmedia-container .pull-3,.rtmedia-activity-container .pull-3,#buddypress div.rtmedia-activity-container .pull-3{position:relative;right:25%;left:auto}.rtmedia-container .push-4,.rtmedia-activity-container .push-4,#buddypress div.rtmedia-activity-container .push-4{position:relative;left:33.33333%;right:auto}.rtmedia-container .pull-4,.rtmedia-activity-container .pull-4,#buddypress div.rtmedia-activity-container .pull-4{position:relative;right:33.33333%;left:auto}.rtmedia-container .push-5,.rtmedia-activity-container .push-5,#buddypress div.rtmedia-activity-container .push-5{position:relative;left:41.66667%;right:auto}.rtmedia-container .pull-5,.rtmedia-activity-container .pull-5,#buddypress div.rtmedia-activity-container .pull-5{position:relative;right:41.66667%;left:auto}.rtmedia-container .push-6,.rtmedia-activity-container .push-6,#buddypress div.rtmedia-activity-container .push-6{position:relative;left:50%;right:auto}.rtmedia-container .pull-6,.rtmedia-activity-container .pull-6,#buddypress div.rtmedia-activity-container .pull-6{position:relative;right:50%;left:auto}.rtmedia-container .push-7,.rtmedia-activity-container .push-7,#buddypress div.rtmedia-activity-container .push-7{position:relative;left:58.33333%;right:auto}.rtmedia-container .pull-7,.rtmedia-activity-container .pull-7,#buddypress div.rtmedia-activity-container .pull-7{position:relative;right:58.33333%;left:auto}.rtmedia-container .push-8,.rtmedia-activity-container .push-8,#buddypress div.rtmedia-activity-container .push-8{position:relative;left:66.66667%;right:auto}.rtmedia-container .pull-8,.rtmedia-activity-container .pull-8,#buddypress div.rtmedia-activity-container .pull-8{position:relative;right:66.66667%;left:auto}.rtmedia-container .push-9,.rtmedia-activity-container .push-9,#buddypress div.rtmedia-activity-container .push-9{position:relative;left:75%;right:auto}.rtmedia-container .pull-9,.rtmedia-activity-container .pull-9,#buddypress div.rtmedia-activity-container .pull-9{position:relative;right:75%;left:auto}.rtmedia-container .push-10,.rtmedia-activity-container .push-10,#buddypress div.rtmedia-activity-container .push-10{position:relative;left:83.33333%;right:auto}.rtmedia-container .pull-10,.rtmedia-activity-container .pull-10,#buddypress div.rtmedia-activity-container .pull-10{position:relative;right:83.33333%;left:auto}.rtmedia-container .push-11,.rtmedia-activity-container .push-11,#buddypress div.rtmedia-activity-container .push-11{position:relative;left:91.66667%;right:auto}.rtmedia-container .pull-11,.rtmedia-activity-container .pull-11,#buddypress div.rtmedia-activity-container .pull-11{position:relative;right:91.66667%;left:auto}.rtmedia-container .column.large-centered,.rtmedia-activity-container .column.large-centered,#buddypress div.rtmedia-activity-container .column.large-centered,.rtmedia-container .columns.large-centered,.rtmedia-activity-container .columns.large-centered,#buddypress div.rtmedia-activity-container .columns.large-centered{position:relative;margin-left:auto;margin-right:auto;float:none !important}.rtmedia-container .column.large-uncentered,.rtmedia-activity-container .column.large-uncentered,#buddypress div.rtmedia-activity-container .column.large-uncentered,.rtmedia-container .columns.large-uncentered,.rtmedia-activity-container .columns.large-uncentered,#buddypress div.rtmedia-activity-container .columns.large-uncentered{margin-left:0;margin-right:0;float:left !important}.rtmedia-container .column.large-uncentered.opposite,.rtmedia-activity-container .column.large-uncentered.opposite,#buddypress div.rtmedia-activity-container .column.large-uncentered.opposite,.rtmedia-container .columns.large-uncentered.opposite,.rtmedia-activity-container .columns.large-uncentered.opposite,#buddypress div.rtmedia-activity-container .columns.large-uncentered.opposite{float:right !important}}.rtmedia-container .show-for-small,.rtmedia-activity-container .show-for-small,#buddypress div.rtmedia-activity-container .show-for-small,.rtmedia-container .show-for-medium-down,.rtmedia-activity-container .show-for-medium-down,#buddypress div.rtmedia-activity-container .show-for-medium-down,.rtmedia-container .show-for-large-down,.rtmedia-activity-container .show-for-large-down,#buddypress div.rtmedia-activity-container .show-for-large-down{display:inherit !important}.rtmedia-container .show-for-medium,.rtmedia-activity-container .show-for-medium,#buddypress div.rtmedia-activity-container .show-for-medium,.rtmedia-container .show-for-medium-up,.rtmedia-activity-container .show-for-medium-up,#buddypress div.rtmedia-activity-container .show-for-medium-up,.rtmedia-container .show-for-large,.rtmedia-activity-container .show-for-large,#buddypress div.rtmedia-activity-container .show-for-large,.rtmedia-container .show-for-large-up,.rtmedia-activity-container .show-for-large-up,#buddypress div.rtmedia-activity-container .show-for-large-up,.rtmedia-container .show-for-xlarge,.rtmedia-activity-container .show-for-xlarge,#buddypress div.rtmedia-activity-container .show-for-xlarge{display:none !important}.rtmedia-container .hide-for-medium,.rtmedia-activity-container .hide-for-medium,#buddypress div.rtmedia-activity-container .hide-for-medium,.rtmedia-container .hide-for-medium-up,.rtmedia-activity-container .hide-for-medium-up,#buddypress div.rtmedia-activity-container .hide-for-medium-up,.rtmedia-container .hide-for-large,.rtmedia-activity-container .hide-for-large,#buddypress div.rtmedia-activity-container .hide-for-large,.rtmedia-container .hide-for-large-up,.rtmedia-activity-container .hide-for-large-up,#buddypress div.rtmedia-activity-container .hide-for-large-up,.rtmedia-container .hide-for-xlarge,.rtmedia-activity-container .hide-for-xlarge,#buddypress div.rtmedia-activity-container .hide-for-xlarge{display:inherit !important}.rtmedia-container .hide-for-small,.rtmedia-activity-container .hide-for-small,#buddypress div.rtmedia-activity-container .hide-for-small,.rtmedia-container .hide-for-medium-down,.rtmedia-activity-container .hide-for-medium-down,#buddypress div.rtmedia-activity-container .hide-for-medium-down,.rtmedia-container .hide-for-large-down,.rtmedia-activity-container .hide-for-large-down,#buddypress div.rtmedia-activity-container .hide-for-large-down{display:none !important}.rtmedia-container table.show-for-small,.rtmedia-activity-container table.show-for-small,#buddypress div.rtmedia-activity-container table.show-for-small,.rtmedia-container table.show-for-medium-down,.rtmedia-activity-container table.show-for-medium-down,#buddypress div.rtmedia-activity-container table.show-for-medium-down,.rtmedia-container table.show-for-large-down,.rtmedia-activity-container table.show-for-large-down,#buddypress div.rtmedia-activity-container table.show-for-large-down,.rtmedia-container table.hide-for-medium,.rtmedia-activity-container table.hide-for-medium,#buddypress div.rtmedia-activity-container table.hide-for-medium,.rtmedia-container table.hide-for-medium-up,.rtmedia-activity-container table.hide-for-medium-up,#buddypress div.rtmedia-activity-container table.hide-for-medium-up,.rtmedia-container table.hide-for-large,.rtmedia-activity-container table.hide-for-large,#buddypress div.rtmedia-activity-container table.hide-for-large,.rtmedia-container table.hide-for-large-up,.rtmedia-activity-container table.hide-for-large-up,#buddypress div.rtmedia-activity-container table.hide-for-large-up,.rtmedia-container table.hide-for-xlarge,.rtmedia-activity-container table.hide-for-xlarge,#buddypress div.rtmedia-activity-container table.hide-for-xlarge{display:table}.rtmedia-container thead.show-for-small,.rtmedia-activity-container thead.show-for-small,#buddypress div.rtmedia-activity-container thead.show-for-small,.rtmedia-container thead.show-for-medium-down,.rtmedia-activity-container thead.show-for-medium-down,#buddypress div.rtmedia-activity-container thead.show-for-medium-down,.rtmedia-container thead.show-for-large-down,.rtmedia-activity-container thead.show-for-large-down,#buddypress div.rtmedia-activity-container thead.show-for-large-down,.rtmedia-container thead.hide-for-medium,.rtmedia-activity-container thead.hide-for-medium,#buddypress div.rtmedia-activity-container thead.hide-for-medium,.rtmedia-container thead.hide-for-medium-up,.rtmedia-activity-container thead.hide-for-medium-up,#buddypress div.rtmedia-activity-container thead.hide-for-medium-up,.rtmedia-container thead.hide-for-large,.rtmedia-activity-container thead.hide-for-large,#buddypress div.rtmedia-activity-container thead.hide-for-large,.rtmedia-container thead.hide-for-large-up,.rtmedia-activity-container thead.hide-for-large-up,#buddypress div.rtmedia-activity-container thead.hide-for-large-up,.rtmedia-container thead.hide-for-xlarge,.rtmedia-activity-container thead.hide-for-xlarge,#buddypress div.rtmedia-activity-container thead.hide-for-xlarge{display:table-header-group !important}.rtmedia-container tbody.show-for-small,.rtmedia-activity-container tbody.show-for-small,#buddypress div.rtmedia-activity-container tbody.show-for-small,.rtmedia-container tbody.show-for-medium-down,.rtmedia-activity-container tbody.show-for-medium-down,#buddypress div.rtmedia-activity-container tbody.show-for-medium-down,.rtmedia-container tbody.show-for-large-down,.rtmedia-activity-container tbody.show-for-large-down,#buddypress div.rtmedia-activity-container tbody.show-for-large-down,.rtmedia-container tbody.hide-for-medium,.rtmedia-activity-container tbody.hide-for-medium,#buddypress div.rtmedia-activity-container tbody.hide-for-medium,.rtmedia-container tbody.hide-for-medium-up,.rtmedia-activity-container tbody.hide-for-medium-up,#buddypress div.rtmedia-activity-container tbody.hide-for-medium-up,.rtmedia-container tbody.hide-for-large,.rtmedia-activity-container tbody.hide-for-large,#buddypress div.rtmedia-activity-container tbody.hide-for-large,.rtmedia-container tbody.hide-for-large-up,.rtmedia-activity-container tbody.hide-for-large-up,#buddypress div.rtmedia-activity-container tbody.hide-for-large-up,.rtmedia-container tbody.hide-for-xlarge,.rtmedia-activity-container tbody.hide-for-xlarge,#buddypress div.rtmedia-activity-container tbody.hide-for-xlarge{display:table-row-group !important}.rtmedia-container tr.show-for-small,.rtmedia-activity-container tr.show-for-small,#buddypress div.rtmedia-activity-container tr.show-for-small,.rtmedia-container tr.show-for-medium-down,.rtmedia-activity-container tr.show-for-medium-down,#buddypress div.rtmedia-activity-container tr.show-for-medium-down,.rtmedia-container tr.show-for-large-down,.rtmedia-activity-container tr.show-for-large-down,#buddypress div.rtmedia-activity-container tr.show-for-large-down,.rtmedia-container tr.hide-for-medium,.rtmedia-activity-container tr.hide-for-medium,#buddypress div.rtmedia-activity-container tr.hide-for-medium,.rtmedia-container tr.hide-for-medium-up,.rtmedia-activity-container tr.hide-for-medium-up,#buddypress div.rtmedia-activity-container tr.hide-for-medium-up,.rtmedia-container tr.hide-for-large,.rtmedia-activity-container tr.hide-for-large,#buddypress div.rtmedia-activity-container tr.hide-for-large,.rtmedia-container tr.hide-for-large-up,.rtmedia-activity-container tr.hide-for-large-up,#buddypress div.rtmedia-activity-container tr.hide-for-large-up,.rtmedia-container tr.hide-for-xlarge,.rtmedia-activity-container tr.hide-for-xlarge,#buddypress div.rtmedia-activity-container tr.hide-for-xlarge{display:table-row !important}.rtmedia-container td.show-for-small,.rtmedia-activity-container td.show-for-small,#buddypress div.rtmedia-activity-container td.show-for-small,.rtmedia-container td.show-for-medium-down,.rtmedia-activity-container td.show-for-medium-down,#buddypress div.rtmedia-activity-container td.show-for-medium-down,.rtmedia-container td.show-for-large-down,.rtmedia-activity-container td.show-for-large-down,#buddypress div.rtmedia-activity-container td.show-for-large-down,.rtmedia-container td.hide-for-medium,.rtmedia-activity-container td.hide-for-medium,#buddypress div.rtmedia-activity-container td.hide-for-medium,.rtmedia-container td.hide-for-medium-up,.rtmedia-activity-container td.hide-for-medium-up,#buddypress div.rtmedia-activity-container td.hide-for-medium-up,.rtmedia-container td.hide-for-large,.rtmedia-activity-container td.hide-for-large,#buddypress div.rtmedia-activity-container td.hide-for-large,.rtmedia-container td.hide-for-large-up,.rtmedia-activity-container td.hide-for-large-up,#buddypress div.rtmedia-activity-container td.hide-for-large-up,.rtmedia-container td.hide-for-xlarge,.rtmedia-activity-container td.hide-for-xlarge,#buddypress div.rtmedia-activity-container td.hide-for-xlarge,.rtmedia-container th.show-for-small,.rtmedia-activity-container th.show-for-small,#buddypress div.rtmedia-activity-container th.show-for-small,.rtmedia-container th.show-for-medium-down,.rtmedia-activity-container th.show-for-medium-down,#buddypress div.rtmedia-activity-container th.show-for-medium-down,.rtmedia-container th.show-for-large-down,.rtmedia-activity-container th.show-for-large-down,#buddypress div.rtmedia-activity-container th.show-for-large-down,.rtmedia-container th.hide-for-medium,.rtmedia-activity-container th.hide-for-medium,#buddypress div.rtmedia-activity-container th.hide-for-medium,.rtmedia-container th.hide-for-medium-up,.rtmedia-activity-container th.hide-for-medium-up,#buddypress div.rtmedia-activity-container th.hide-for-medium-up,.rtmedia-container th.hide-for-large,.rtmedia-activity-container th.hide-for-large,#buddypress div.rtmedia-activity-container th.hide-for-large,.rtmedia-container th.hide-for-large-up,.rtmedia-activity-container th.hide-for-large-up,#buddypress div.rtmedia-activity-container th.hide-for-large-up,.rtmedia-container th.hide-for-xlarge,.rtmedia-activity-container th.hide-for-xlarge,#buddypress div.rtmedia-activity-container th.hide-for-xlarge{display:table-cell !important}@media only screen and (min-width: 768px){.rtmedia-container .show-for-medium,.rtmedia-activity-container .show-for-medium,#buddypress div.rtmedia-activity-container .show-for-medium,.rtmedia-container .show-for-medium-up,.rtmedia-activity-container .show-for-medium-up,#buddypress div.rtmedia-activity-container .show-for-medium-up{display:inherit !important}.rtmedia-container .show-for-small,.rtmedia-activity-container .show-for-small,#buddypress div.rtmedia-activity-container .show-for-small{display:none !important}.rtmedia-container .hide-for-small,.rtmedia-activity-container .hide-for-small,#buddypress div.rtmedia-activity-container .hide-for-small{display:inherit !important}.rtmedia-container .hide-for-medium,.rtmedia-activity-container .hide-for-medium,#buddypress div.rtmedia-activity-container .hide-for-medium,.rtmedia-container .hide-for-medium-up,.rtmedia-activity-container .hide-for-medium-up,#buddypress div.rtmedia-activity-container .hide-for-medium-up{display:none !important}.rtmedia-container table.show-for-medium,.rtmedia-activity-container table.show-for-medium,#buddypress div.rtmedia-activity-container table.show-for-medium,.rtmedia-container table.show-for-medium-up,.rtmedia-activity-container table.show-for-medium-up,#buddypress div.rtmedia-activity-container table.show-for-medium-up,.rtmedia-container table.hide-for-small,.rtmedia-activity-container table.hide-for-small,#buddypress div.rtmedia-activity-container table.hide-for-small{display:table}.rtmedia-container thead.show-for-medium,.rtmedia-activity-container thead.show-for-medium,#buddypress div.rtmedia-activity-container thead.show-for-medium,.rtmedia-container thead.show-for-medium-up,.rtmedia-activity-container thead.show-for-medium-up,#buddypress div.rtmedia-activity-container thead.show-for-medium-up,.rtmedia-container thead.hide-for-small,.rtmedia-activity-container thead.hide-for-small,#buddypress div.rtmedia-activity-container thead.hide-for-small{display:table-header-group !important}.rtmedia-container tbody.show-for-medium,.rtmedia-activity-container tbody.show-for-medium,#buddypress div.rtmedia-activity-container tbody.show-for-medium,.rtmedia-container tbody.show-for-medium-up,.rtmedia-activity-container tbody.show-for-medium-up,#buddypress div.rtmedia-activity-container tbody.show-for-medium-up,.rtmedia-container tbody.hide-for-small,.rtmedia-activity-container tbody.hide-for-small,#buddypress div.rtmedia-activity-container tbody.hide-for-small{display:table-row-group !important}.rtmedia-container tr.show-for-medium,.rtmedia-activity-container tr.show-for-medium,#buddypress div.rtmedia-activity-container tr.show-for-medium,.rtmedia-container tr.show-for-medium-up,.rtmedia-activity-container tr.show-for-medium-up,#buddypress div.rtmedia-activity-container tr.show-for-medium-up,.rtmedia-container tr.hide-for-small,.rtmedia-activity-container tr.hide-for-small,#buddypress div.rtmedia-activity-container tr.hide-for-small{display:table-row !important}.rtmedia-container td.show-for-medium,.rtmedia-activity-container td.show-for-medium,#buddypress div.rtmedia-activity-container td.show-for-medium,.rtmedia-container td.show-for-medium-up,.rtmedia-activity-container td.show-for-medium-up,#buddypress div.rtmedia-activity-container td.show-for-medium-up,.rtmedia-container td.hide-for-small,.rtmedia-activity-container td.hide-for-small,#buddypress div.rtmedia-activity-container td.hide-for-small,.rtmedia-container th.show-for-medium,.rtmedia-activity-container th.show-for-medium,#buddypress div.rtmedia-activity-container th.show-for-medium,.rtmedia-container th.show-for-medium-up,.rtmedia-activity-container th.show-for-medium-up,#buddypress div.rtmedia-activity-container th.show-for-medium-up,.rtmedia-container th.hide-for-small,.rtmedia-activity-container th.hide-for-small,#buddypress div.rtmedia-activity-container th.hide-for-small{display:table-cell !important}}@media only screen and (min-width: 1280px){.rtmedia-container .show-for-large,.rtmedia-activity-container .show-for-large,#buddypress div.rtmedia-activity-container .show-for-large,.rtmedia-container .show-for-large-up,.rtmedia-activity-container .show-for-large-up,#buddypress div.rtmedia-activity-container .show-for-large-up{display:inherit !important}.rtmedia-container .show-for-medium,.rtmedia-activity-container .show-for-medium,#buddypress div.rtmedia-activity-container .show-for-medium,.rtmedia-container .show-for-medium-down,.rtmedia-activity-container .show-for-medium-down,#buddypress div.rtmedia-activity-container .show-for-medium-down{display:none !important}.rtmedia-container .hide-for-medium,.rtmedia-activity-container .hide-for-medium,#buddypress div.rtmedia-activity-container .hide-for-medium,.rtmedia-container .hide-for-medium-down,.rtmedia-activity-container .hide-for-medium-down,#buddypress div.rtmedia-activity-container .hide-for-medium-down{display:inherit !important}.rtmedia-container .hide-for-large,.rtmedia-activity-container .hide-for-large,#buddypress div.rtmedia-activity-container .hide-for-large,.rtmedia-container .hide-for-large-up,.rtmedia-activity-container .hide-for-large-up,#buddypress div.rtmedia-activity-container .hide-for-large-up{display:none !important}.rtmedia-container table.show-for-large,.rtmedia-activity-container table.show-for-large,#buddypress div.rtmedia-activity-container table.show-for-large,.rtmedia-container table.show-for-large-up,.rtmedia-activity-container table.show-for-large-up,#buddypress div.rtmedia-activity-container table.show-for-large-up,.rtmedia-container table.hide-for-medium,.rtmedia-activity-container table.hide-for-medium,#buddypress div.rtmedia-activity-container table.hide-for-medium,.rtmedia-container table.hide-for-medium-down,.rtmedia-activity-container table.hide-for-medium-down,#buddypress div.rtmedia-activity-container table.hide-for-medium-down{display:table}.rtmedia-container thead.show-for-large,.rtmedia-activity-container thead.show-for-large,#buddypress div.rtmedia-activity-container thead.show-for-large,.rtmedia-container thead.show-for-large-up,.rtmedia-activity-container thead.show-for-large-up,#buddypress div.rtmedia-activity-container thead.show-for-large-up,.rtmedia-container thead.hide-for-medium,.rtmedia-activity-container thead.hide-for-medium,#buddypress div.rtmedia-activity-container thead.hide-for-medium,.rtmedia-container thead.hide-for-medium-down,.rtmedia-activity-container thead.hide-for-medium-down,#buddypress div.rtmedia-activity-container thead.hide-for-medium-down{display:table-header-group !important}.rtmedia-container tbody.show-for-large,.rtmedia-activity-container tbody.show-for-large,#buddypress div.rtmedia-activity-container tbody.show-for-large,.rtmedia-container tbody.show-for-large-up,.rtmedia-activity-container tbody.show-for-large-up,#buddypress div.rtmedia-activity-container tbody.show-for-large-up,.rtmedia-container tbody.hide-for-medium,.rtmedia-activity-container tbody.hide-for-medium,#buddypress div.rtmedia-activity-container tbody.hide-for-medium,.rtmedia-container tbody.hide-for-medium-down,.rtmedia-activity-container tbody.hide-for-medium-down,#buddypress div.rtmedia-activity-container tbody.hide-for-medium-down{display:table-row-group !important}.rtmedia-container tr.show-for-large,.rtmedia-activity-container tr.show-for-large,#buddypress div.rtmedia-activity-container tr.show-for-large,.rtmedia-container tr.show-for-large-up,.rtmedia-activity-container tr.show-for-large-up,#buddypress div.rtmedia-activity-container tr.show-for-large-up,.rtmedia-container tr.hide-for-medium,.rtmedia-activity-container tr.hide-for-medium,#buddypress div.rtmedia-activity-container tr.hide-for-medium,.rtmedia-container tr.hide-for-medium-down,.rtmedia-activity-container tr.hide-for-medium-down,#buddypress div.rtmedia-activity-container tr.hide-for-medium-down{display:table-row !important}.rtmedia-container td.show-for-large,.rtmedia-activity-container td.show-for-large,#buddypress div.rtmedia-activity-container td.show-for-large,.rtmedia-container td.show-for-large-up,.rtmedia-activity-container td.show-for-large-up,#buddypress div.rtmedia-activity-container td.show-for-large-up,.rtmedia-container td.hide-for-medium,.rtmedia-activity-container td.hide-for-medium,#buddypress div.rtmedia-activity-container td.hide-for-medium,.rtmedia-container td.hide-for-medium-down,.rtmedia-activity-container td.hide-for-medium-down,#buddypress div.rtmedia-activity-container td.hide-for-medium-down,.rtmedia-container th.show-for-large,.rtmedia-activity-container th.show-for-large,#buddypress div.rtmedia-activity-container th.show-for-large,.rtmedia-container th.show-for-large-up,.rtmedia-activity-container th.show-for-large-up,#buddypress div.rtmedia-activity-container th.show-for-large-up,.rtmedia-container th.hide-for-medium,.rtmedia-activity-container th.hide-for-medium,#buddypress div.rtmedia-activity-container th.hide-for-medium,.rtmedia-container th.hide-for-medium-down,.rtmedia-activity-container th.hide-for-medium-down,#buddypress div.rtmedia-activity-container th.hide-for-medium-down{display:table-cell !important}}@media only screen and (min-width: 1440px){.rtmedia-container .show-for-xlarge,.rtmedia-activity-container .show-for-xlarge,#buddypress div.rtmedia-activity-container .show-for-xlarge{display:inherit !important}.rtmedia-container .show-for-large,.rtmedia-activity-container .show-for-large,#buddypress div.rtmedia-activity-container .show-for-large,.rtmedia-container .show-for-large-down,.rtmedia-activity-container .show-for-large-down,#buddypress div.rtmedia-activity-container .show-for-large-down{display:none !important}.rtmedia-container .hide-for-large,.rtmedia-activity-container .hide-for-large,#buddypress div.rtmedia-activity-container .hide-for-large,.rtmedia-container .hide-for-large-down,.rtmedia-activity-container .hide-for-large-down,#buddypress div.rtmedia-activity-container .hide-for-large-down{display:inherit !important}.rtmedia-container .hide-for-xlarge,.rtmedia-activity-container .hide-for-xlarge,#buddypress div.rtmedia-activity-container .hide-for-xlarge{display:none !important}.rtmedia-container table.show-for-xlarge,.rtmedia-activity-container table.show-for-xlarge,#buddypress div.rtmedia-activity-container table.show-for-xlarge,.rtmedia-container table.hide-for-large,.rtmedia-activity-container table.hide-for-large,#buddypress div.rtmedia-activity-container table.hide-for-large,.rtmedia-container table.hide-for-large-down,.rtmedia-activity-container table.hide-for-large-down,#buddypress div.rtmedia-activity-container table.hide-for-large-down{display:table}.rtmedia-container thead.show-for-xlarge,.rtmedia-activity-container thead.show-for-xlarge,#buddypress div.rtmedia-activity-container thead.show-for-xlarge,.rtmedia-container thead.hide-for-large,.rtmedia-activity-container thead.hide-for-large,#buddypress div.rtmedia-activity-container thead.hide-for-large,.rtmedia-container thead.hide-for-large-down,.rtmedia-activity-container thead.hide-for-large-down,#buddypress div.rtmedia-activity-container thead.hide-for-large-down{display:table-header-group !important}.rtmedia-container tbody.show-for-xlarge,.rtmedia-activity-container tbody.show-for-xlarge,#buddypress div.rtmedia-activity-container tbody.show-for-xlarge,.rtmedia-container tbody.hide-for-large,.rtmedia-activity-container tbody.hide-for-large,#buddypress div.rtmedia-activity-container tbody.hide-for-large,.rtmedia-container tbody.hide-for-large-down,.rtmedia-activity-container tbody.hide-for-large-down,#buddypress div.rtmedia-activity-container tbody.hide-for-large-down{display:table-row-group !important}.rtmedia-container tr.show-for-xlarge,.rtmedia-activity-container tr.show-for-xlarge,#buddypress div.rtmedia-activity-container tr.show-for-xlarge,.rtmedia-container tr.hide-for-large,.rtmedia-activity-container tr.hide-for-large,#buddypress div.rtmedia-activity-container tr.hide-for-large,.rtmedia-container tr.hide-for-large-down,.rtmedia-activity-container tr.hide-for-large-down,#buddypress div.rtmedia-activity-container tr.hide-for-large-down{display:table-row !important}.rtmedia-container td.show-for-xlarge,.rtmedia-activity-container td.show-for-xlarge,#buddypress div.rtmedia-activity-container td.show-for-xlarge,.rtmedia-container td.hide-for-large,.rtmedia-activity-container td.hide-for-large,#buddypress div.rtmedia-activity-container td.hide-for-large,.rtmedia-container td.hide-for-large-down,.rtmedia-activity-container td.hide-for-large-down,#buddypress div.rtmedia-activity-container td.hide-for-large-down,.rtmedia-container th.show-for-xlarge,.rtmedia-activity-container th.show-for-xlarge,#buddypress div.rtmedia-activity-container th.show-for-xlarge,.rtmedia-container th.hide-for-large,.rtmedia-activity-container th.hide-for-large,#buddypress div.rtmedia-activity-container th.hide-for-large,.rtmedia-container th.hide-for-large-down,.rtmedia-activity-container th.hide-for-large-down,#buddypress div.rtmedia-activity-container th.hide-for-large-down{display:table-cell !important}}.rtmedia-container .show-for-landscape,.rtmedia-activity-container .show-for-landscape,#buddypress div.rtmedia-activity-container .show-for-landscape,.rtmedia-container .hide-for-portrait,.rtmedia-activity-container .hide-for-portrait,#buddypress div.rtmedia-activity-container .hide-for-portrait{display:inherit !important}.rtmedia-container .hide-for-landscape,.rtmedia-activity-container .hide-for-landscape,#buddypress div.rtmedia-activity-container .hide-for-landscape,.rtmedia-container .show-for-portrait,.rtmedia-activity-container .show-for-portrait,#buddypress div.rtmedia-activity-container .show-for-portrait{display:none !important}.rtmedia-container table.hide-for-landscape,.rtmedia-activity-container table.hide-for-landscape,#buddypress div.rtmedia-activity-container table.hide-for-landscape,.rtmedia-container table.show-for-portrait,.rtmedia-activity-container table.show-for-portrait,#buddypress div.rtmedia-activity-container table.show-for-portrait{display:table}.rtmedia-container thead.hide-for-landscape,.rtmedia-activity-container thead.hide-for-landscape,#buddypress div.rtmedia-activity-container thead.hide-for-landscape,.rtmedia-container thead.show-for-portrait,.rtmedia-activity-container thead.show-for-portrait,#buddypress div.rtmedia-activity-container thead.show-for-portrait{display:table-header-group !important}.rtmedia-container tbody.hide-for-landscape,.rtmedia-activity-container tbody.hide-for-landscape,#buddypress div.rtmedia-activity-container tbody.hide-for-landscape,.rtmedia-container tbody.show-for-portrait,.rtmedia-activity-container tbody.show-for-portrait,#buddypress div.rtmedia-activity-container tbody.show-for-portrait{display:table-row-group !important}.rtmedia-container tr.hide-for-landscape,.rtmedia-activity-container tr.hide-for-landscape,#buddypress div.rtmedia-activity-container tr.hide-for-landscape,.rtmedia-container tr.show-for-portrait,.rtmedia-activity-container tr.show-for-portrait,#buddypress div.rtmedia-activity-container tr.show-for-portrait{display:table-row !important}.rtmedia-container td.hide-for-landscape,.rtmedia-activity-container td.hide-for-landscape,#buddypress div.rtmedia-activity-container td.hide-for-landscape,.rtmedia-container td.show-for-portrait,.rtmedia-activity-container td.show-for-portrait,#buddypress div.rtmedia-activity-container td.show-for-portrait,.rtmedia-container th.hide-for-landscape,.rtmedia-activity-container th.hide-for-landscape,#buddypress div.rtmedia-activity-container th.hide-for-landscape,.rtmedia-container th.show-for-portrait,.rtmedia-activity-container th.show-for-portrait,#buddypress div.rtmedia-activity-container th.show-for-portrait{display:table-cell !important}@media only screen and (orientation: landscape){.rtmedia-container .show-for-landscape,.rtmedia-activity-container .show-for-landscape,#buddypress div.rtmedia-activity-container .show-for-landscape,.rtmedia-container .hide-for-portrait,.rtmedia-activity-container .hide-for-portrait,#buddypress div.rtmedia-activity-container .hide-for-portrait{display:inherit !important}.rtmedia-container .hide-for-landscape,.rtmedia-activity-container .hide-for-landscape,#buddypress div.rtmedia-activity-container .hide-for-landscape,.rtmedia-container .show-for-portrait,.rtmedia-activity-container .show-for-portrait,#buddypress div.rtmedia-activity-container .show-for-portrait{display:none !important}.rtmedia-container table.show-for-landscape,.rtmedia-activity-container table.show-for-landscape,#buddypress div.rtmedia-activity-container table.show-for-landscape,.rtmedia-container table.hide-for-portrait,.rtmedia-activity-container table.hide-for-portrait,#buddypress div.rtmedia-activity-container table.hide-for-portrait{display:table}.rtmedia-container thead.show-for-landscape,.rtmedia-activity-container thead.show-for-landscape,#buddypress div.rtmedia-activity-container thead.show-for-landscape,.rtmedia-container thead.hide-for-portrait,.rtmedia-activity-container thead.hide-for-portrait,#buddypress div.rtmedia-activity-container thead.hide-for-portrait{display:table-header-group !important}.rtmedia-container tbody.show-for-landscape,.rtmedia-activity-container tbody.show-for-landscape,#buddypress div.rtmedia-activity-container tbody.show-for-landscape,.rtmedia-container tbody.hide-for-portrait,.rtmedia-activity-container tbody.hide-for-portrait,#buddypress div.rtmedia-activity-container tbody.hide-for-portrait{display:table-row-group !important}.rtmedia-container tr.show-for-landscape,.rtmedia-activity-container tr.show-for-landscape,#buddypress div.rtmedia-activity-container tr.show-for-landscape,.rtmedia-container tr.hide-for-portrait,.rtmedia-activity-container tr.hide-for-portrait,#buddypress div.rtmedia-activity-container tr.hide-for-portrait{display:table-row !important}.rtmedia-container td.show-for-landscape,.rtmedia-activity-container td.show-for-landscape,#buddypress div.rtmedia-activity-container td.show-for-landscape,.rtmedia-container td.hide-for-portrait,.rtmedia-activity-container td.hide-for-portrait,#buddypress div.rtmedia-activity-container td.hide-for-portrait,.rtmedia-container th.show-for-landscape,.rtmedia-activity-container th.show-for-landscape,#buddypress div.rtmedia-activity-container th.show-for-landscape,.rtmedia-container th.hide-for-portrait,.rtmedia-activity-container th.hide-for-portrait,#buddypress div.rtmedia-activity-container th.hide-for-portrait{display:table-cell !important}}@media only screen and (orientation: portrait){.rtmedia-container .show-for-portrait,.rtmedia-activity-container .show-for-portrait,#buddypress div.rtmedia-activity-container .show-for-portrait,.rtmedia-container .hide-for-landscape,.rtmedia-activity-container .hide-for-landscape,#buddypress div.rtmedia-activity-container .hide-for-landscape{display:inherit !important}.rtmedia-container .hide-for-portrait,.rtmedia-activity-container .hide-for-portrait,#buddypress div.rtmedia-activity-container .hide-for-portrait,.rtmedia-container .show-for-landscape,.rtmedia-activity-container .show-for-landscape,#buddypress div.rtmedia-activity-container .show-for-landscape{display:none !important}.rtmedia-container table.show-for-portrait,.rtmedia-activity-container table.show-for-portrait,#buddypress div.rtmedia-activity-container table.show-for-portrait,.rtmedia-container table.hide-for-landscape,.rtmedia-activity-container table.hide-for-landscape,#buddypress div.rtmedia-activity-container table.hide-for-landscape{display:table}.rtmedia-container thead.show-for-portrait,.rtmedia-activity-container thead.show-for-portrait,#buddypress div.rtmedia-activity-container thead.show-for-portrait,.rtmedia-container thead.hide-for-landscape,.rtmedia-activity-container thead.hide-for-landscape,#buddypress div.rtmedia-activity-container thead.hide-for-landscape{display:table-header-group !important}.rtmedia-container tbody.show-for-portrait,.rtmedia-activity-container tbody.show-for-portrait,#buddypress div.rtmedia-activity-container tbody.show-for-portrait,.rtmedia-container tbody.hide-for-landscape,.rtmedia-activity-container tbody.hide-for-landscape,#buddypress div.rtmedia-activity-container tbody.hide-for-landscape{display:table-row-group !important}.rtmedia-container tr.show-for-portrait,.rtmedia-activity-container tr.show-for-portrait,#buddypress div.rtmedia-activity-container tr.show-for-portrait,.rtmedia-container tr.hide-for-landscape,.rtmedia-activity-container tr.hide-for-landscape,#buddypress div.rtmedia-activity-container tr.hide-for-landscape{display:table-row !important}.rtmedia-container td.show-for-portrait,.rtmedia-activity-container td.show-for-portrait,#buddypress div.rtmedia-activity-container td.show-for-portrait,.rtmedia-container td.hide-for-landscape,.rtmedia-activity-container td.hide-for-landscape,#buddypress div.rtmedia-activity-container td.hide-for-landscape,.rtmedia-container th.show-for-portrait,.rtmedia-activity-container th.show-for-portrait,#buddypress div.rtmedia-activity-container th.show-for-portrait,.rtmedia-container th.hide-for-landscape,.rtmedia-activity-container th.hide-for-landscape,#buddypress div.rtmedia-activity-container th.hide-for-landscape{display:table-cell !important}}.rtmedia-container .show-for-touch,.rtmedia-activity-container .show-for-touch,#buddypress div.rtmedia-activity-container .show-for-touch{display:none !important}.rtmedia-container .hide-for-touch,.rtmedia-activity-container .hide-for-touch,#buddypress div.rtmedia-activity-container .hide-for-touch{display:inherit !important}.rtmedia-container .touch .show-for-touch,.rtmedia-activity-container .touch .show-for-touch,#buddypress div.rtmedia-activity-container .touch .show-for-touch{display:inherit !important}.rtmedia-container .touch .hide-for-touch,.rtmedia-activity-container .touch .hide-for-touch,#buddypress div.rtmedia-activity-container .touch .hide-for-touch{display:none !important}.rtmedia-container table.hide-for-touch,.rtmedia-activity-container table.hide-for-touch,#buddypress div.rtmedia-activity-container table.hide-for-touch{display:table}.rtmedia-container .touch table.show-for-touch,.rtmedia-activity-container .touch table.show-for-touch,#buddypress div.rtmedia-activity-container .touch table.show-for-touch{display:table}.rtmedia-container thead.hide-for-touch,.rtmedia-activity-container thead.hide-for-touch,#buddypress div.rtmedia-activity-container thead.hide-for-touch{display:table-header-group !important}.rtmedia-container .touch thead.show-for-touch,.rtmedia-activity-container .touch thead.show-for-touch,#buddypress div.rtmedia-activity-container .touch thead.show-for-touch{display:table-header-group !important}.rtmedia-container tbody.hide-for-touch,.rtmedia-activity-container tbody.hide-for-touch,#buddypress div.rtmedia-activity-container tbody.hide-for-touch{display:table-row-group !important}.rtmedia-container .touch tbody.show-for-touch,.rtmedia-activity-container .touch tbody.show-for-touch,#buddypress div.rtmedia-activity-container .touch tbody.show-for-touch{display:table-row-group !important}.rtmedia-container tr.hide-for-touch,.rtmedia-activity-container tr.hide-for-touch,#buddypress div.rtmedia-activity-container tr.hide-for-touch{display:table-row !important}.rtmedia-container .touch tr.show-for-touch,.rtmedia-activity-container .touch tr.show-for-touch,#buddypress div.rtmedia-activity-container .touch tr.show-for-touch{display:table-row !important}.rtmedia-container td.hide-for-touch,.rtmedia-activity-container td.hide-for-touch,#buddypress div.rtmedia-activity-container td.hide-for-touch{display:table-cell !important}.rtmedia-container .touch td.show-for-touch,.rtmedia-activity-container .touch td.show-for-touch,#buddypress div.rtmedia-activity-container .touch td.show-for-touch{display:table-cell !important}.rtmedia-container th.hide-for-touch,.rtmedia-activity-container th.hide-for-touch,#buddypress div.rtmedia-activity-container th.hide-for-touch{display:table-cell !important}.rtmedia-container .touch th.show-for-touch,.rtmedia-activity-container .touch th.show-for-touch,#buddypress div.rtmedia-activity-container .touch th.show-for-touch{display:table-cell !important}.rtmedia-container .flex-video,.rtmedia-activity-container .flex-video,#buddypress div.rtmedia-activity-container .flex-video{position:relative;padding-top:1.5625em;padding-bottom:67.5%;height:0;margin-bottom:1em;overflow:hidden}.rtmedia-container .flex-video.widescreen,.rtmedia-activity-container .flex-video.widescreen,#buddypress div.rtmedia-activity-container .flex-video.widescreen{padding-bottom:57.25%}.rtmedia-container .flex-video.vimeo,.rtmedia-activity-container .flex-video.vimeo,#buddypress div.rtmedia-activity-container .flex-video.vimeo{padding-top:0}.rtmedia-container .flex-video iframe,.rtmedia-activity-container .flex-video iframe,#buddypress div.rtmedia-activity-container .flex-video iframe,.rtmedia-container .flex-video object,.rtmedia-activity-container .flex-video object,#buddypress div.rtmedia-activity-container .flex-video object,.rtmedia-container .flex-video embed,.rtmedia-activity-container .flex-video embed,#buddypress div.rtmedia-activity-container .flex-video embed,.rtmedia-container .flex-video video,.rtmedia-activity-container .flex-video video,#buddypress div.rtmedia-activity-container .flex-video video{position:absolute;top:0;left:0;width:100%;height:100%}.rtmedia-container .row,.rtmedia-activity-container .row,#buddypress div.rtmedia-activity-container .row{max-width:95%}.rtmedia-container .rtmedia-item-title,.rtmedia-activity-container .rtmedia-item-title,#buddypress div.rtmedia-activity-container .rtmedia-item-title{text-align:center}.rtmedia-container .rtmedia-item-title h4,.rtmedia-activity-container .rtmedia-item-title h4,#buddypress div.rtmedia-activity-container .rtmedia-item-title h4{text-overflow:ellipsis;white-space:nowrap;width:100%;overflow:hidden;font-size:1.1em;text-align:center}.rtmedia-container .rtmedia-success,.rtmedia-activity-container .rtmedia-success,#buddypress div.rtmedia-activity-container .rtmedia-success{display:block;padding:10px;border:1px solid #008000;background-color:#90EE90;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px}.rtmedia-container h2,.rtmedia-activity-container h2,#buddypress div.rtmedia-activity-container h2{font-size:1.4em;font-weight:bold;line-height:2.4em}.rtmedia-container .drag-drop,.rtmedia-activity-container .drag-drop,#buddypress div.rtmedia-activity-container .drag-drop{border:4px dashed #DDD;text-align:center;background:#fafafa;overflow:hidden;padding:15px 0}.rtmedia-container .drag-drop.dragover,.rtmedia-activity-container .drag-drop.dragover,#buddypress div.rtmedia-activity-container .drag-drop.dragover{border-color:#83b4d8}.rtmedia-container .rtmedia-action-update,.rtmedia-activity-container .rtmedia-action-update,#buddypress div.rtmedia-activity-container .rtmedia-action-update{float:left;margin-top:12px;margin-right:10px}.rtmedia-container .rtmedia-list,.rtmedia-activity-container .rtmedia-list,#buddypress div.rtmedia-activity-container .rtmedia-list{list-style:none}.rtmedia-container .rtmedia-list .rtmedia-list-item,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item{word-wrap:break-word;margin:10px;float:left}.rtmedia-container .rtmedia-list .rtmedia-list-item a,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item a,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item a{text-decoration:none}.rtmedia-container .rtmedia-list .rtmedia-list-item a h4,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item a h4,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item a h4{line-height:1.4em;font-size:1.2em;padding-top:10px}.rtmedia-container .rtmedia-list .rtmedia-list-item.media-type-music,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-music,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-music,.rtmedia-container .rtmedia-list .rtmedia-list-item.media-type-video,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-video,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-video{width:100%}.rtmedia-container .rtmedia-list .rtmedia-list-item.media-type-music .mejs-controls .mejs-time-rail,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-music .mejs-controls .mejs-time-rail,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-music .mejs-controls .mejs-time-rail,.rtmedia-container .rtmedia-list .rtmedia-list-item.media-type-video .mejs-controls .mejs-time-rail,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-video .mejs-controls .mejs-time-rail,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-video .mejs-controls .mejs-time-rail{margin:8px 2px 2px 0}.rtmedia-container .rtmedia-media img,.rtmedia-activity-container .rtmedia-media img,#buddypress div.rtmedia-activity-container .rtmedia-media img{max-width:100%}.rtmedia-container .rtmedia-item-thumbnail,.rtmedia-activity-container .rtmedia-item-thumbnail,#buddypress div.rtmedia-activity-container .rtmedia-item-thumbnail{text-align:center}.rtmedia-container .rtmedia-item-thumbnail img,.rtmedia-activity-container .rtmedia-item-thumbnail img,#buddypress div.rtmedia-activity-container .rtmedia-item-thumbnail img{vertical-align:middle}.rtmedia-container .rtmedia_next_prev,.rtmedia-activity-container .rtmedia_next_prev,#buddypress div.rtmedia-activity-container .rtmedia_next_prev{clear:both}.rtmedia-container .rtmedia_next_prev a,.rtmedia-activity-container .rtmedia_next_prev a,#buddypress div.rtmedia-activity-container .rtmedia_next_prev a{display:block;clear:both;background-color:#E9E9E9;padding:10px;text-align:center;text-decoration:none;color:#000;margin:15px}.rtmedia-container .rtmedia-item-comments-container,.rtmedia-activity-container .rtmedia-item-comments-container,#buddypress div.rtmedia-activity-container .rtmedia-item-comments-container{margin:3% 3%}.rtmedia-container .rtmedia-comment,.rtmedia-activity-container .rtmedia-comment,#buddypress div.rtmedia-activity-container .rtmedia-comment{list-style:none;background:#f6f6f6;border:1px solid #ddd;-moz-border-radius:3px;border-radius:3px;margin:5px 0;padding:1px 5px 25px;width:391px;max-width:100%}.rtmedia-container .rtmedia-comment .rtmedia-comment-author,.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-author,#buddypress div.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-author{display:block}.rtmedia-container .rtmedia-comment .rtmedia-comment-content,.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-content,#buddypress div.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-content{display:block}.rtmedia-container .rtmedia-comment .rtmedia-comment-date,.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-date,#buddypress div.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-date{display:block;float:right}.rtmedia-container .rtmedia-bp-header,.rtmedia-activity-container .rtmedia-bp-header,#buddypress div.rtmedia-activity-container .rtmedia-bp-header{width:460px;margin:auto}.rtmedia-container #div-attache-rtmedia,.rtmedia-activity-container #div-attache-rtmedia,#buddypress div.rtmedia-activity-container #div-attache-rtmedia{display:none}.rtmedia-container #rtMedia-update-queue-list p span,.rtmedia-activity-container #rtMedia-update-queue-list p span{margin-right:20px}.rtmedia-container .rtmedia-move-container,.rtmedia-activity-container .rtmedia-move-container,#buddypress div.rtmedia-activity-container .rtmedia-move-container{display:none}.rtmedia-container #rtmedia-add-media-button-post-update,.rtmedia-activity-container #rtmedia-add-media-button-post-update,#buddypress div.rtmedia-activity-container #rtmedia-add-media-button-post-update{float:left;margin-top:10px;margin-right:20px}.rtmedia-container #whats-new-post-in-box,.rtmedia-activity-container #whats-new-post-in-box,#buddypress div.rtmedia-activity-container #whats-new-post-in-box{float:left}.rtmedia-container .rtmedia-activity-text,.rtmedia-activity-container .rtmedia-activity-text,#buddypress div.rtmedia-activity-container .rtmedia-activity-text{display:block;padding-bottom:10px}.rtmedia-container .rtmedia-merge-container,.rtmedia-activity-container .rtmedia-merge-container,#buddypress div.rtmedia-activity-container .rtmedia-merge-container{display:none}.rtmedia-container .rtmedia-create-new-album-container,.rtmedia-activity-container .rtmedia-create-new-album-container,#buddypress div.rtmedia-activity-container .rtmedia-create-new-album-container{display:none}.rtmedia-container select,.rtmedia-activity-container select,#buddypress div.rtmedia-activity-container select{width:auto}.rtmedia-container.rtmedia-single-container .row,.rtmedia-single-container.rtmedia-activity-container .row,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row{background-color:#FFF}.rtmedia-container.rtmedia-single-container .row #rtmedia-single-media-container,.rtmedia-single-container.rtmedia-activity-container .row #rtmedia-single-media-container{padding-top:10px;padding-bottom:10px}.rtmedia-container.rtmedia-single-container .row #rtmedia-single-media-container .rtmedia-media div.mejs-layers div.mejs-poster,.rtmedia-single-container.rtmedia-activity-container .row #rtmedia-single-media-container .rtmedia-media div.mejs-layers div.mejs-poster{overflow:hidden}.rtmedia-container.rtmedia-single-container .row #rtmedia-single-media-container .rtmedia-media .mejs-layers .mejs-overlay-button,.rtmedia-single-container.rtmedia-activity-container .row #rtmedia-single-media-container .rtmedia-media .mejs-layers .mejs-overlay-button{margin:-50px 0 0 -50px}.rtmedia-container.rtmedia-single-container .row #rtmedia-single-media-container .rtmedia-media .mejs-layers .mejs-poster,.rtmedia-single-container.rtmedia-activity-container .row #rtmedia-single-media-container .rtmedia-media .mejs-layers .mejs-poster{overflow:hidden}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta{padding:10px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta div.userprofile,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta div.userprofile,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta div.userprofile{float:left;padding:10px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta div.username,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta div.username,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta div.username{padding:10px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta button,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta button,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta button{color:#5E5E5E;background-color:#EBEBEB;background-repeat:repeat-x;background-image:-moz-linear-gradient(top, #f9f9f9, #ebebeb);background-image:-ms-linear-gradient(top, #f9f9f9, #ebebeb);background-image:-webkit-linear-gradient(top, #f9f9f9, #ebebeb);background-image:-o-linear-gradient(top, #f9f9f9, #ebebeb);background-image:linear-gradient(top, #f9f9f9,#ebebeb)}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta>a,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta>a,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta>a{float:left;margin:10px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta .rtmedia-item-actions>a,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions>a,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions>a{display:inline-block;float:left}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta .rtmedia-item-actions>form,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions>form,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions>form{float:left;margin-right:5px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta .rtmedia-item-actions .rtmedia-action-buttons span,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions .rtmedia-action-buttons span,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions .rtmedia-action-buttons span{background:#EEE;-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;-o-border-radius:50%;border-radius:50%;border:1px solid #CCC;color:#999;display:inline;font-size:70%;margin-left:2px;margin-right:2px;padding:3px 6px;text-align:center;vertical-align:middle}.rtmedia-container.rtmedia-single-container .row .rtmedia-item-comments,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-item-comments,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-item-comments{background-color:transparent}.rtmedia-container.rtmedia-single-container .row .rtmedia-item-comments div,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-item-comments div,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-item-comments div{background-color:transparent}.rtmedia-container #wp-description-editor-tools a.wp-switch-editor,.rtmedia-activity-container #wp-description-editor-tools a.wp-switch-editor{margin:5px 5px 0 0;padding:4px 5px 2px;float:right;cursor:pointer;border:1px solid;border-color:#DFDFDF #DFDFDF #CCC;font:13px/18px Arial,Helvetica,sans-serif normal;height:auto}.rtmedia-container #description_toolbargroup .mceToolbar td,.rtmedia-activity-container #description_toolbargroup .mceToolbar td{padding:0px}.rtmedia-container #wp-description-editor-container,.rtmedia-activity-container #wp-description-editor-container,#buddypress div.rtmedia-activity-container #wp-description-editor-container{border-width:1px;border-style:solid;-webkit-border-top-right-radius:3px;-webkit-border-top-left-radius:3px;border-top-right-radius:3px;border-top-left-radius:3px;border-color:#CCC #CCC #DFDFDF}#buddypress div.rtmedia-activity-container ul.rtmedia-list li{float:left;padding:10px}#buddypress div.rtmedia-activity-container ul.rtmedia-list li .rtmedia-item-thumbnail{overflow:hidden}#buddypress div.rtmedia-activity-container ul.rtmedia-list li.media-type-video{float:none}#buddypress div.rtmedia-activity-container ul.rtmedia-list li.media-type-video .rtmedia-item-thumbnail{margin:0 auto;overflow:hidden}#buddypress div.rtmedia-activity-container ul.rtmedia-list li.media-type-video .rtmedia-item-thumbnail .mejs-overlay-button{margin:-50px 0 0 -50px}#buddypress .mejs-controls button,.rtmedia-container .mejs-controls button,.rtmedia-activity-container .mejs-controls button,#buddypress div.rtmedia-activity-container .mejs-controls button{padding:4px 8px;border:none;background:rgba(0,0,0,0) url("../../../lib/media-element/controls.png") no-repeat}#buddypress .mejs-controls .mejs-play button,.rtmedia-container .mejs-controls .mejs-play button,.rtmedia-activity-container .mejs-controls .mejs-play button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-play button{background-position:0 0}#buddypress .mejs-controls .mejs-pause button,.rtmedia-container .mejs-controls .mejs-pause button,.rtmedia-activity-container .mejs-controls .mejs-pause button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-pause button{background-position:0 -16px}#buddypress .mejs-controls .mejs-unmute button,.rtmedia-container .mejs-controls .mejs-unmute button,.rtmedia-activity-container .mejs-controls .mejs-unmute button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-unmute button{background-position:-16px 0}#buddypress .mejs-controls .mejs-mute button,.rtmedia-container .mejs-controls .mejs-mute button,.rtmedia-activity-container .mejs-controls .mejs-mute button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-mute button{background-position:-16px -16px}#buddypress .mejs-controls .mejs-fullscreen-button button,.rtmedia-container .mejs-controls .mejs-fullscreen-button button,.rtmedia-activity-container .mejs-controls .mejs-fullscreen-button button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-fullscreen-button button{background-position:-32px 0}#buddypress .mejs-controls .mejs-unfullscreen button,.rtmedia-container .mejs-controls .mejs-unfullscreen button,.rtmedia-activity-container .mejs-controls .mejs-unfullscreen button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-unfullscreen button{background-position:-32px -16px}.mfp-content #rtmedia-single-media-container .rtmedia-media{text-align:center;background-color:#333}.mfp-content #rtmedia-single-media-container .rtmedia-media img{max-height:95%}#rtmedia-action-update{float:left;padding-right:10px}#header{z-index:1 !important}.bp_media_content video{background-color:black}.rtmedia-success{display:block;padding:10px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;background-color:#2ECC71;color:white}.rtmedia-error{color:white;display:block;padding:10px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;background-color:#E74C3C}
app/assets/js/admin.js CHANGED
@@ -1,29 +1,29 @@
1
- jQuery(document).ready(function($){
2
3
/* Linkback */
4
- jQuery('#spread-the-word').on('click','#bp-media-add-linkback',function(){
5
var data = {
6
action: 'rtmedia_linkback',
7
linkback: jQuery('#bp-media-add-linkback:checked').length
8
};
9
- jQuery.post(rtmedia_admin_ajax,data,function(response){
10
- });
11
})
12
13
/* Fetch Feed */
14
var rtmedia_news_section = jQuery('#latest-news');
15
- if(rtmedia_news_section.length>0){
16
var data = {
17
action: 'rtmedia_fetch_feed'
18
};
19
- jQuery.post(rtmedia_admin_ajax,data,function(response){
20
rtmedia_news_section.find('.inside').html(response);
21
});
22
}
23
24
/* Select Request */
25
- jQuery('#bp-media-settings-boxes').on('change', '#select-request', function(){
26
- if(jQuery(this).val()){
27
jQuery('#bp_media_settings_form .bp-media-metabox-holder').html()
28
jQuery('#bp_media_settings_form .bp-media-metabox-holder').html('<div class="support_form_loader"></div>');
29
var data = {
@@ -40,8 +40,8 @@ jQuery(document).ready(function($){
40
});
41
42
/* Cancel Request */
43
- jQuery('#bp-media-settings-boxes').on('click', '#cancel-request', function(){
44
- if(jQuery(this).val()){
45
jQuery('#bp_media_settings_form .bp-media-metabox-holder').html()
46
jQuery('#bp_media_settings_form .bp-media-metabox-holder').html('<div class="support_form_loader"></div>');
47
var data = {
@@ -57,7 +57,7 @@ jQuery(document).ready(function($){
57
});
58
59
/* Submit Request */
60
- jQuery('.bp-media-support').on('submit', '#bp_media_settings_form', function(e){
61
e.preventDefault();
62
var data = {
63
action: 'rtmedia_submit_request',
@@ -71,33 +71,33 @@ jQuery(document).ready(function($){
71
});
72
});
73
74
- jQuery(document).on('click',"#bpm-services .encoding-try-now",function(e){
75
e.preventDefault();
76
- if(confirm(rtmedia_admin_strings.are_you_sure)){
77
- jQuery(this).after('<img style="margin: 0 0 0 10px" src="'+rtmedia_admin_url+'images/wpspin_light.gif" />')
78
var data = {
79
action: 'rtmedia_free_encoding_subscribe'
80
};
81
82
// since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
83
jQuery.getJSON(ajaxurl, data, function(response) {
84
- if(response.error===undefined && response.apikey){
85
var tempUrl = window.location.href;
86
var hash = window.location.hash;
87
tempUrl = tempUrl.replace(hash, '');
88
- document.location.href = tempUrl+'&apikey='+response.apikey+hash;
89
- }else{
90
jQuery('.encoding-try-now').next().remove();
91
jQuery('#settings-error-encoding-error').remove();
92
- jQuery('h2:first').after('<div class="error" id="settings-error-encoding-error"><p>'+response.error+'</p></div>');
93
}
94
});
95
}
96
});
97
98
- jQuery(document).on('click','#api-key-submit',function(e){
99
e.preventDefault();
100
- jQuery(this).after('<img style="margin: 0 0 0 10px" src="'+rtmedia_admin_url+'images/wpspin_light.gif" />')
101
var data = {
102
action: 'rtmedia_enter_api_key',
103
apikey: jQuery('#new-api-key').val()
@@ -105,58 +105,58 @@ jQuery(document).ready(function($){
105
106
// since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
107
jQuery.getJSON(ajaxurl, data, function(response) {
108
- if(response.error===undefined && response.apikey){
109
var tempUrl = window.location.href;
110
var hash = window.location.hash;
111
tempUrl = tempUrl.replace(hash, '');
112
- if(tempUrl.toString().indexOf('&apikey='+response.apikey) == -1)
113
- tempUrl += '&apikey='+response.apikey;
114
- if(tempUrl.toString().indexOf('&update=true') == -1)
115
tempUrl += '&update=true';
116
- document.location.href = tempUrl+hash;
117
118
- }else{
119
jQuery('#settings-error-api-key-error').remove();
120
- jQuery('h2:first').after('<div class="error" id="settings-error-api-key-error"><p>'+response.error+'</p></div>');
121
}
122
});
123
});
124
125
- jQuery(document).on('click','#disable-encoding',function(e){
126
e.preventDefault();
127
- if ( confirm(rtmedia_admin_strings.disable_encoding )) {
128
- jQuery(this).after('<img style="margin: 0 0 0 10px" src="'+rtmedia_admin_url+'images/wpspin_light.gif" />')
129
var data = {
130
action: 'rtmedia_disable_encoding'
131
};
132
133
// since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
134
jQuery.post(ajaxurl, data, function(response) {
135
- if(response){
136
jQuery('settings-error-encoding-disabled').remove();
137
- jQuery('h2:first').after('<div class="updated" id="settings-encoding-successfully-disabled"><p>'+response+'</p></div>');
138
jQuery('#bp-media-encoding-usage').remove();
139
jQuery('#disable-encoding').next().remove();
140
jQuery('#disable-encoding').remove();
141
jQuery('#new-api-key').val('');
142
- }else{
143
jQuery('#settings-error-encoding-disabled').remove();
144
- jQuery('h2:first').after('<div class="error" id="settings-error-encoding-disabled"><p>'+rtmedia_admin_strings.something_went_wrong+'</p></div>');
145
}
146
});
147
}
148
});
149
150
- jQuery('.bp-media-encoding-table').on('click','.bpm-unsubscribe',function(e){
151
e.preventDefault();
152
// var note=prompt(bp_media_admin_strings.reason_for_unsubscribe);
153
- jQuery( "#bpm-unsubscribe-dialog" ).dialog({
154
dialogClass: "wp-dialog",
155
modal: true,
156
buttons: {
157
- Unsubscribe : function() {
158
- jQuery( this ).dialog( "close" );
159
- jQuery('.bpm-unsubscribe').after('<img style="margin: 0 0 0 10px" src="'+rtmedia_admin_url+'images/wpspin_light.gif" />')
160
var data = {
161
action: 'rtmedia_unsubscribe_encoding_service',
162
note: jQuery('#bpm-unsubscribe-note').val(),
@@ -166,19 +166,19 @@ jQuery(document).ready(function($){
166
167
// since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
168
jQuery.getJSON(ajaxurl, data, function(response) {
169
- if(response.error===undefined && response.updated){
170
jQuery('.bpm-unsubscribe').next().remove();
171
jQuery('.bpm-unsubscribe').after(response.form);
172
jQuery('.bpm-unsubscribe').remove();
173
jQuery('#settings-unsubscribed-successfully').remove();
174
jQuery('#settings-unsubscribe-error').remove();
175
- jQuery('h2:first').after('<div class="updated" id="settings-unsubscribed-successfully"><p>'+response.updated+'</p></div>');
176
window.location.hash = '#settings-unsubscribed-successfully';
177
- }else{
178
jQuery('.bpm-unsubscribe').next().remove();
179
jQuery('#settings-unsubscribed-successfully').remove();
180
jQuery('#settings-unsubscribe-error').remove();
181
- jQuery('h2:first').after('<div class="error" id="settings-unsubscribe-error"><p>'+response.error+'</p></div>');
182
window.location.hash = '#settings-unsubscribe-error';
183
}
184
});
@@ -189,68 +189,70 @@ jQuery(document).ready(function($){
189
});
190
191
function fireRequest(data) {
192
- return jQuery.post(ajaxurl, data, function(response){
193
- if(response != 0){
194
var redirect = false;
195
- var progw = Math.ceil((((parseInt(response)*20)+parseInt(data.values['finished']))/parseInt(data.values['total'])) *100);
196
- if(progw>100){
197
- progw=100;
198
- redirect=true
199
- };
200
- jQuery('#rtprogressbar>div').css('width',progw+'%');
201
finished = jQuery('#rtprivacyinstaller span.finished').html();
202
- jQuery('#rtprivacyinstaller span.finished').html(parseInt(finished)+data.count);
203
- if ( redirect ) {
204
jQuery.post(ajaxurl, {
205
action: 'rtmedia_privacy_redirect'
206
- }, function(response){
207
window.location = settings_url;
208
});
209
}
210
} else {
211
- jQuery('#map_progress_msgs').html('<div class="map_mapping_failure">Row '+response+' failed.</div>');
212
}
213
});
214
}
215
216
- jQuery('#bpmedia-bpalbumimporter').on('change','#bp-album-import-accept',function(){
217
jQuery('.bp-album-import-accept').toggleClass('i-accept');
218
jQuery('.bp-album-importer-wizard').slideToggle();
219
});
220
221
- jQuery('#rtprivacyinstall').click(function(e){
222
e.preventDefault();
223
$progress_parent = jQuery('#rtprivacyinstaller');
224
- $progress_parent.find('.rtprivacytype').each(function(){
225
- $type=jQuery(this).attr('id');
226
- if($type=='total'){
227
- $values=[];
228
- jQuery(this).find('input').each(function(){
229
230
- $values [jQuery(this).attr('name')]=[jQuery(this).val()];
231
232
});
233
$data = {};
234
- for(var i=1;i<=$values['steps'][0];i++ ){
235
- $count=20;
236
- if(i==$values['steps'][0]){
237
- $count=parseInt($values['laststep'][0]);
238
- if($count==0){
239
- $count=20
240
- };
241
}
242
newvals = {
243
- 'page':i,
244
- 'action':'rtmedia_privacy_install',
245
- 'count':$count,
246
- 'values':$values
247
}
248
$data[i] = newvals;
249
}
250
var $startingpoint = jQuery.Deferred();
251
$startingpoint.resolve();
252
- jQuery.each($data, function(i, v){
253
- $startingpoint = $startingpoint.pipe( function() {
254
return fireRequest(v);
255
});
256
});
@@ -261,63 +263,64 @@ jQuery(document).ready(function($){
261
});
262
263
function fireimportRequest(data) {
264
- return jQuery.getJSON(ajaxurl, data, function(response){
265
favorites = false;
266
- if(response){
267
var redirect = false;
268
- var media_progw = Math.ceil((((parseInt(response.page)*5)+parseInt(data.values['finished']))/parseInt(data.values['total'])) *100);
269
comments_total = jQuery('#bpmedia-bpalbumimporter .bp-album-comments span.total').html();
270
users_total = jQuery('#bpmedia-bpalbumimporter .bp-album-users span.total').html();
271
media_total = jQuery('#bpmedia-bpalbumimporter .bp-album-media span.total').html();
272
comments_finished = jQuery('#bpmedia-bpalbumimporter .bp-album-comments span.finished').html();
273
users_finished = jQuery('#bpmedia-bpalbumimporter .bp-album-users span.finished').html();
274
- var comments_progw = Math.ceil((((parseInt(response.comments))+parseInt(comments_finished))/parseInt(comments_total)) *100);
275
- var users_progw = Math.ceil((parseInt(response.users)/parseInt(users_total)) *100);
276
- if(media_progw>100 || media_progw==100 ){
277
- media_progw=100;
278
- favorites=true
279
- };
280
- jQuery('.bp-album-media #rtprogressbar>div').css('width',media_progw+'%');
281
- jQuery('.bp-album-comments #rtprogressbar>div').css('width',comments_progw+'%');
282
- jQuery('.bp-album-users #rtprogressbar>div').css('width',users_progw+'%');
283
media_finished = jQuery('#bpmedia-bpalbumimporter .bp-album-media span.finished').html();
284
- if (parseInt(media_finished)<parseInt(media_total))
285
- jQuery('#bpmedia-bpalbumimporter .bp-album-media span.finished').html(parseInt(media_finished)+data.count);
286
- jQuery('#bpmedia-bpalbumimporter .bp-album-comments span.finished').html(parseInt(response.comments)+parseInt(comments_finished));
287
jQuery('#bpmedia-bpalbumimporter .bp-album-users span.finished').html(parseInt(response.users));
288
- if ( favorites ) {
289
favorite_data = {
290
- 'action':'rtmedia_rt_album_import_favorites'
291
}
292
- jQuery.post(ajaxurl,favorite_data,function(response){
293
- if(response.favorites!==0||response.favorites!=='0'){
294
- if(!jQuery('.bp-album-favorites').length)
295
- jQuery('.bp-album-comments').after('<br /><div class="bp-album-favorites"><strong>User\'s Favorites: <span class="finished">0</span> / <span class="total">'+response.users+'</span></strong><div id="rtprogressbar"><div style="width:0%"></div></div></div>');
296
$favorites = {};
297
if (response.offset != 0 || response.offset != '0')
298
- start = response.offset*1+1;
299
else
300
start = 1
301
- for(var i=start;i<=response.users;i++ ){
302
- $count=1;
303
- if(i==response.users){
304
- $count=parseInt(response.users % $count);
305
- if($count==0){
306
- $count=1;
307
}
308
}
309
310
newvals = {
311
- 'action':'rtmedia_rt_album_import_step_favorites',
312
- 'offset':(i-1)*1,
313
- 'redirect':i==response.users
314
}
315
$favorites[i] = newvals;
316
}
317
var $startingpoint = jQuery.Deferred();
318
$startingpoint.resolve();
319
- jQuery.each($favorites, function(i, v){
320
- $startingpoint = $startingpoint.pipe( function() {
321
return fireimportfavoriteRequest(v);
322
});
323
});
@@ -325,104 +328,106 @@ jQuery(document).ready(function($){
325
} else {
326
window.setTimeout(reload_url, 2000);
327
}
328
- },'json');
329
}
330
} else {
331
- jQuery('#map_progress_msgs').html('<div class="map_mapping_failure">Row '+response.page+' failed.</div>');
332
}
333
});
334
}
335
336
function fireimportfavoriteRequest(data) {
337
- return jQuery.post(ajaxurl, data, function(response){
338
- redirect=false;
339
favorites_total = jQuery('#bpmedia-bpalbumimporter .bp-album-favorites span.total').html();
340
favorites_finished = jQuery('#bpmedia-bpalbumimporter .bp-album-favorites span.finished').html();
341
- jQuery('#bpmedia-bpalbumimporter .bp-album-favorites span.finished').html(parseInt(favorites_finished)+1);
342
- var favorites_progw = Math.ceil((parseInt(favorites_finished+1)/parseInt(favorites_total)) *100);
343
- if(favorites_progw>100 || favorites_progw==100 ){
344
- favorites_progw=100;
345
- redirect=true;
346
}
347
- jQuery('.bp-album-favorites #rtprogressbar>div').css('width',favorites_progw+'%');
348
- if(redirect){
349
window.setTimeout(reload_url, 2000);
350
}
351
});
352
}
353
354
- function reload_url(){
355
window.location = document.URL;
356
}
357
358
- jQuery('#bpmedia-bpalbumimport-cleanup').click(function(e){
359
e.preventDefault();
360
jQuery.post(ajaxurl, {
361
action: 'rtmedia_rt_album_cleanup'
362
- }, function(response){
363
window.location = settings_rt_album_import_url;
364
});
365
366
});
367
368
- jQuery('#bpmedia-bpalbumimporter').on('click','#bpmedia-bpalbumimport',function(e){
369
e.preventDefault();
370
- if(!jQuery('#bp-album-import-accept').prop('checked')){
371
jQuery('html, body').animate({
372
- scrollTop: jQuery( '#bp-album-import-accept' ).offset().top
373
}, 500);
374
var $el = jQuery('.bp-album-import-accept'),
375
- x = 500,
376
- originalColor = '#FFEBE8',
377
- i = 3; //counter
378
379
(function loop() { //recurisve IIFE
380
$el.css("background-color", "#EE0000");
381
- setTimeout(function () {
382
$el.css("background-color", originalColor);
383
- if (--i) setTimeout(loop, x); //restart loop
384
}, x);
385
}());
386
return;
387
} else {
388
jQuery(this).prop('disabled', true);
389
}
390
- wp_admin_url = ajaxurl.replace('admin-ajax.php','');
391
if (!jQuery('.bpm-ajax-loader').length)
392
- jQuery(this).after(' <img class="bpm-ajax-loader" src="'+wp_admin_url+'images/wpspin_light.gif" /> <strong>'+rtmedia_admin_strings.no_refresh+'</strong>');
393
394
395
$progress_parent = jQuery('#bpmedia-bpalbumimport');
396
- $values=[];
397
- jQuery(this).parent().find('input').each(function(){
398
- $values [jQuery(this).attr('name')]=[jQuery(this).val()];
399
400
});
401
402
- if ( $values['steps'][0] == 0 )
403
- $values['steps'][0]=1;
404
405
$data = {};
406
- for(var i=1;i<=$values['steps'][0];i++ ){
407
- $count=5;
408
- if(i==$values['steps'][0]){
409
- $count=parseInt($values['laststep'][0]);
410
- if($count==0){
411
- $count=5
412
- };
413
}
414
newvals = {
415
- 'page':i,
416
- 'action':'rtmedia_rt_album_import',
417
- 'count':$count,
418
- 'values':$values
419
}
420
$data[i] = newvals;
421
}
422
var $startingpoint = jQuery.Deferred();
423
$startingpoint.resolve();
424
- jQuery.each($data, function(i, v){
425
- $startingpoint = $startingpoint.pipe( function() {
426
return fireimportRequest(v);
427
});
428
});
@@ -430,16 +435,16 @@ jQuery(document).ready(function($){
430
431
});
432
433
- jQuery('#bp-media-settings-boxes').on('click','.interested',function(){
434
jQuery('.interested-container').removeClass('hidden');
435
- jQuery('.choice-free').attr('required','required');
436
});
437
- jQuery('#bp-media-settings-boxes').on('click','.not-interested',function(){
438
jQuery('.interested-container').addClass('hidden');
439
jQuery('.choice-free').removeAttr('required');
440
});
441
442
- jQuery('#video-transcoding-main-container').on('click','.video-transcoding-survey',function(e){
443
e.preventDefault();
444
var data = {
445
action: 'rtmedia_convert_videos_form',
@@ -448,33 +453,33 @@ jQuery(document).ready(function($){
448
choice: jQuery('input[name="choice"]:checked').val(),
449
interested: jQuery('input[name="interested"]:checked').val()
450
}
451
- jQuery.post(ajaxurl, data, function(response){
452
- jQuery('#video-transcoding-main-container').html('<p><strong>'+response+'</strong></p>');
453
});
454
return false;
455
});
456
457
- jQuery('#bpmedia-bpalbumimporter').on('click','.deactivate-bp-album',function(e){
458
e.preventDefault();
459
$bpalbum = jQuery(this);
460
var data = {
461
action: 'rtmedia_rt_album_deactivate'
462
}
463
jQuery.get(ajaxurl, data, function(response) {
464
- if(response)
465
location.reload();
466
else
467
- $bpalbum.parent().after('<p>'+rtmedia_admin_strings.something_went_wrong+'</p>');
468
});
469
});
470
471
- jQuery('.updated').on('click','.bpm-hide-encoding-notice',function(){
472
- jQuery(this).after('<img style="margin: 0 0 0 10px" src="'+rtmedia_admin_url+'images/wpspin_light.gif" />');
473
- var data ={
474
action: 'rtmedia_hide_encoding_notice'
475
}
476
- jQuery.post(ajaxurl,data,function(response){
477
- if ( response ) {
478
jQuery('.bpm-hide-encoding-notice').closest('.updated').remove();
479
}
480
});
@@ -487,53 +492,53 @@ jQuery(document).ready(function($){
487
defaultTab: manageHash()
488
});
489
490
- if(jQuery('#rtmedia-privacy-enable').is(":checked")) {
491
- jQuery(".privacy-driven-disable label input").prop("disabled",false);
492
- jQuery(".privacy-driven-disable label .rt-switch").bootstrapSwitch("setActive",true);
493
- } else {
494
- jQuery(".privacy-driven-disable label input").prop("disabled",true);
495
- jQuery(".privacy-driven-disable label .rt-switch").bootstrapSwitch("setActive",false);
496
- }
497
- jQuery('#rtmedia-privacy-enable').on("click", function(e) {
498
- if(jQuery(this).is(":checked")) {
499
- jQuery(".privacy-driven-disable label input").prop("disabled",false);
500
- jQuery(".privacy-driven-disable label .rt-switch").bootstrapSwitch("setActive",true);
501
- } else {
502
- jQuery(".privacy-driven-disable label input").prop("disabled",true);
503
- jQuery(".privacy-driven-disable label .rt-switch").bootstrapSwitch("setActive",false);
504
- }
505
- });
506
-
507
- var onData = '';
508
- var offData = '';
509
- if(rtmedia_on_label!==undefined)
510
- onData = 'data-on-label="'+rtmedia_on_label+'"';
511
- if(rtmedia_off_label!==undefined)
512
- offData = 'data-off-label="'+rtmedia_off_label+'"';
513
- jQuery("[data-toggle='switch']").wrap('<div class="rt-switch" '+onData+' '+offData+' />').parent().bootstrapSwitch();
514
515
try {
516
- jQuery('.rtm-show-tooltip').powerTip({
517
- followMouse: true
518
- });
519
- } catch(e) {
520
// no tooltip is defined
521
- }
522
- $(".rtmedia-tab-title").click(function(){
523
- hash = $(this).attr('href');
524
- window.location.hash = hash.substring(1,hash.length);
525
- });
526
- function manageHash() {
527
-
528
- hash = window.location.hash;
529
- $('#tab-'+hash.substr(1,hash.length)).click();
530
- if($('#tab-'+hash.substr(1,hash.length)).length < 1)
531
- return 1;
532
- return $('#tab-'+hash.substr(1,hash.length)).parent().index()+1;
533
- }
534
-
535
- $(window).hashchange(function(e,data) {
536
- e.preventDefault();
537
- manageHash();
538
- });
539
});
1
+ jQuery(document).ready(function($) {
2
3
/* Linkback */
4
+ jQuery('#spread-the-word').on('click', '#bp-media-add-linkback', function() {
5
var data = {
6
action: 'rtmedia_linkback',
7
linkback: jQuery('#bp-media-add-linkback:checked').length
8
};
9
+ jQuery.post(rtmedia_admin_ajax, data, function(response) {
10
+ });
11
})
12
13
/* Fetch Feed */
14
var rtmedia_news_section = jQuery('#latest-news');
15
+ if (rtmedia_news_section.length > 0) {
16
var data = {
17
action: 'rtmedia_fetch_feed'
18
};
19
+ jQuery.post(rtmedia_admin_ajax, data, function(response) {
20
rtmedia_news_section.find('.inside').html(response);
21
});
22
}
23
24
/* Select Request */
25
+ jQuery('#bp-media-settings-boxes').on('change', '#select-request', function() {
26
+ if (jQuery(this).val()) {
27
jQuery('#bp_media_settings_form .bp-media-metabox-holder').html()
28
jQuery('#bp_media_settings_form .bp-media-metabox-holder').html('<div class="support_form_loader"></div>');
29
var data = {
40
});
41
42
/* Cancel Request */
43
+ jQuery('#bp-media-settings-boxes').on('click', '#cancel-request', function() {
44
+ if (jQuery(this).val()) {
45
jQuery('#bp_media_settings_form .bp-media-metabox-holder').html()
46
jQuery('#bp_media_settings_form .bp-media-metabox-holder').html('<div class="support_form_loader"></div>');
47
var data = {
57
});
58
59
/* Submit Request */
60
+ jQuery('.bp-media-support').on('submit', '#bp_media_settings_form', function(e) {
61
e.preventDefault();
62
var data = {
63
action: 'rtmedia_submit_request',
71
});
72
});
73
74
+ jQuery(document).on('click', "#bpm-services .encoding-try-now,#rtm-services .encoding-try-now", function(e) {
75
e.preventDefault();
76
+ if (confirm(rtmedia_admin_strings.are_you_sure)) {
77
+ jQuery(this).after('<img style="margin: 0 0 0 10px" src="' + rtmedia_admin_url + 'images/wpspin_light.gif" />')
78
var data = {
79
action: 'rtmedia_free_encoding_subscribe'
80
};
81
82
// since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
83
jQuery.getJSON(ajaxurl, data, function(response) {
84
+ if (response.error === undefined && response.apikey) {
85
var tempUrl = window.location.href;
86
var hash = window.location.hash;
87
tempUrl = tempUrl.replace(hash, '');
88
+ document.location.href = tempUrl + '&apikey=' + response.apikey + hash;
89
+ } else {
90
jQuery('.encoding-try-now').next().remove();
91
jQuery('#settings-error-encoding-error').remove();
92
+ jQuery('h2:first').after('<div class="error" id="settings-error-encoding-error"><p>' + response.error + '</p></div>');
93
}
94
});
95
}
96
});
97
98
+ jQuery(document).on('click', '#api-key-submit', function(e) {
99
e.preventDefault();
100
+ jQuery(this).after('<img style="margin: 0 0 0 10px" src="' + rtmedia_admin_url + 'images/wpspin_light.gif" />')
101
var data = {
102
action: 'rtmedia_enter_api_key',
103
apikey: jQuery('#new-api-key').val()
105
106
// since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
107
jQuery.getJSON(ajaxurl, data, function(response) {
108
+ if (response.error === undefined && response.apikey) {
109
var tempUrl = window.location.href;
110
var hash = window.location.hash;
111
tempUrl = tempUrl.replace(hash, '');
112
+ if (tempUrl.toString().indexOf('&apikey=' + response.apikey) == -1)
113
+ tempUrl += '&apikey=' + response.apikey;
114
+ if (tempUrl.toString().indexOf('&update=true') == -1)
115
tempUrl += '&update=true';
116
+ document.location.href = tempUrl + hash;
117
118
+ } else {
119
jQuery('#settings-error-api-key-error').remove();
120
+ jQuery('h2:first').after('<div class="error" id="settings-error-api-key-error"><p>' + response.error + '</p></div>');
121
}
122
});
123
});
124
125
+ jQuery(document).on('click', '#disable-encoding', function(e) {
126
e.preventDefault();
127
+ if (confirm(rtmedia_admin_strings.disable_encoding)) {
128
+ jQuery(this).after('<img style="margin: 0 0 0 10px" src="' + rtmedia_admin_url + 'images/wpspin_light.gif" />')
129
var data = {
130
action: 'rtmedia_disable_encoding'
131
};
132
133
// since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
134
jQuery.post(ajaxurl, data, function(response) {
135
+ if (response) {
136
jQuery('settings-error-encoding-disabled').remove();
137
+ jQuery('h2:first').after('<div class="updated" id="settings-encoding-successfully-disabled"><p>' + response + '</p></div>');
138
jQuery('#bp-media-encoding-usage').remove();
139
jQuery('#disable-encoding').next().remove();
140
jQuery('#disable-encoding').remove();
141
jQuery('#new-api-key').val('');
142
+ } else {
143
jQuery('#settings-error-encoding-disabled').remove();
144
+ jQuery('h2:first').after('<div class="error" id="settings-error-encoding-disabled"><p>' + rtmedia_admin_strings.something_went_wrong + '</p></div>');
145
}
146
});
147
}
148
});
149
150
+ jQuery('.bp-media-encoding-table').on('click', '.bpm-unsubscribe', function(e) {
151
e.preventDefault();
152
// var note=prompt(bp_media_admin_strings.reason_for_unsubscribe);
153
+ jQuery("#bpm-unsubscribe-dialog").dialog({
154
dialogClass: "wp-dialog",
155
modal: true,
156
buttons: {
157
+ Unsubscribe: function() {
158
+ jQuery(this).dialog("close");
159
+ jQuery('.bpm-unsubscribe').after('<img style="margin: 0 0 0 10px" src="' + rtmedia_admin_url + 'images/wpspin_light.gif" />')
160
var data = {
161
action: 'rtmedia_unsubscribe_encoding_service',
162
note: jQuery('#bpm-unsubscribe-note').val(),
166
167
// since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
168
jQuery.getJSON(ajaxurl, data, function(response) {
169
+ if (response.error === undefined && response.updated) {
170
jQuery('.bpm-unsubscribe').next().remove();
171
jQuery('.bpm-unsubscribe').after(response.form);
172
jQuery('.bpm-unsubscribe').remove();
173
jQuery('#settings-unsubscribed-successfully').remove();
174
jQuery('#settings-unsubscribe-error').remove();
175
+ jQuery('h2:first').after('<div class="updated" id="settings-unsubscribed-successfully"><p>' + response.updated + '</p></div>');
176
window.location.hash = '#settings-unsubscribed-successfully';
177
+ } else {
178
jQuery('.bpm-unsubscribe').next().remove();
179
jQuery('#settings-unsubscribed-successfully').remove();
180
jQuery('#settings-unsubscribe-error').remove();
181
+ jQuery('h2:first').after('<div class="error" id="settings-unsubscribe-error"><p>' + response.error + '</p></div>');
182
window.location.hash = '#settings-unsubscribe-error';
183
}
184
});
189
});
190
191
function fireRequest(data) {
192
+ return jQuery.post(ajaxurl, data, function(response) {
193
+ if (response != 0) {
194
var redirect = false;
195
+ var progw = Math.ceil((((parseInt(response) * 20) + parseInt(data.values['finished'])) / parseInt(data.values['total'])) * 100);
196
+ if (progw > 100) {
197
+ progw = 100;
198
+ redirect = true
199
+ }
200
+ ;
201
+ jQuery('#rtprogressbar>div').css('width', progw + '%');
202
finished = jQuery('#rtprivacyinstaller span.finished').html();
203
+ jQuery('#rtprivacyinstaller span.finished').html(parseInt(finished) + data.count);
204
+ if (redirect) {
205
jQuery.post(ajaxurl, {
206
action: 'rtmedia_privacy_redirect'
207
+ }, function(response) {
208
window.location = settings_url;
209
});
210
}
211
} else {
212
+ jQuery('#map_progress_msgs').html('<div class="map_mapping_failure">Row ' + response + ' failed.</div>');
213
}
214
});
215
}
216
217
+ jQuery('#bpmedia-bpalbumimporter').on('change', '#bp-album-import-accept', function() {
218
jQuery('.bp-album-import-accept').toggleClass('i-accept');
219
jQuery('.bp-album-importer-wizard').slideToggle();
220
});
221
222
+ jQuery('#rtprivacyinstall').click(function(e) {
223
e.preventDefault();
224
$progress_parent = jQuery('#rtprivacyinstaller');
225
+ $progress_parent.find('.rtprivacytype').each(function() {
226
+ $type = jQuery(this).attr('id');
227
+ if ($type == 'total') {
228
+ $values = [];
229
+ jQuery(this).find('input').each(function() {
230
231
+ $values [jQuery(this).attr('name')] = [jQuery(this).val()];
232
233
});
234
$data = {};
235
+ for (var i = 1; i <= $values['steps'][0]; i++) {
236
+ $count = 20;
237
+ if (i == $values['steps'][0]) {
238
+ $count = parseInt($values['laststep'][0]);
239
+ if ($count == 0) {
240
+ $count = 20
241
+ }
242
+ ;
243
}
244
newvals = {
245
+ 'page': i,
246
+ 'action': 'rtmedia_privacy_install',
247
+ 'count': $count,
248
+ 'values': $values
249
}
250
$data[i] = newvals;
251
}
252
var $startingpoint = jQuery.Deferred();
253
$startingpoint.resolve();
254
+ jQuery.each($data, function(i, v) {
255
+ $startingpoint = $startingpoint.pipe(function() {
256
return fireRequest(v);
257
});
258
});
263
});
264
265
function fireimportRequest(data) {
266
+ return jQuery.getJSON(ajaxurl, data, function(response) {
267
favorites = false;
268
+ if (response) {
269
var redirect = false;
270
+ var media_progw = Math.ceil((((parseInt(response.page) * 5) + parseInt(data.values['finished'])) / parseInt(data.values['total'])) * 100);
271
comments_total = jQuery('#bpmedia-bpalbumimporter .bp-album-comments span.total').html();
272
users_total = jQuery('#bpmedia-bpalbumimporter .bp-album-users span.total').html();
273
media_total = jQuery('#bpmedia-bpalbumimporter .bp-album-media span.total').html();
274
comments_finished = jQuery('#bpmedia-bpalbumimporter .bp-album-comments span.finished').html();
275
users_finished = jQuery('#bpmedia-bpalbumimporter .bp-album-users span.finished').html();
276
+ var comments_progw = Math.ceil((((parseInt(response.comments)) + parseInt(comments_finished)) / parseInt(comments_total)) * 100);
277
+ var users_progw = Math.ceil((parseInt(response.users) / parseInt(users_total)) * 100);
278
+ if (media_progw > 100 || media_progw == 100) {
279
+ media_progw = 100;
280
+ favorites = true
281
+ }
282
+ ;
283
+ jQuery('.bp-album-media #rtprogressbar>div').css('width', media_progw + '%');
284
+ jQuery('.bp-album-comments #rtprogressbar>div').css('width', comments_progw + '%');
285
+ jQuery('.bp-album-users #rtprogressbar>div').css('width', users_progw + '%');
286
media_finished = jQuery('#bpmedia-bpalbumimporter .bp-album-media span.finished').html();
287
+ if (parseInt(media_finished) < parseInt(media_total))
288
+ jQuery('#bpmedia-bpalbumimporter .bp-album-media span.finished').html(parseInt(media_finished) + data.count);
289
+ jQuery('#bpmedia-bpalbumimporter .bp-album-comments span.finished').html(parseInt(response.comments) + parseInt(comments_finished));
290
jQuery('#bpmedia-bpalbumimporter .bp-album-users span.finished').html(parseInt(response.users));
291
+ if (favorites) {
292
favorite_data = {
293
+ 'action': 'rtmedia_rt_album_import_favorites'
294
}
295
+ jQuery.post(ajaxurl, favorite_data, function(response) {
296
+ if (response.favorites !== 0 || response.favorites !== '0') {
297
+ if (!jQuery('.bp-album-favorites').length)
298
+ jQuery('.bp-album-comments').after('<br /><div class="bp-album-favorites"><strong>User\'s Favorites: <span class="finished">0</span> / <span class="total">' + response.users + '</span></strong><div id="rtprogressbar"><div style="width:0%"></div></div></div>');
299
$favorites = {};
300
if (response.offset != 0 || response.offset != '0')
301
+ start = response.offset * 1 + 1;
302
else
303
start = 1
304
+ for (var i = start; i <= response.users; i++) {
305
+ $count = 1;
306
+ if (i == response.users) {
307
+ $count = parseInt(response.users % $count);
308
+ if ($count == 0) {
309
+ $count = 1;
310
}
311
}
312
313
newvals = {
314
+ 'action': 'rtmedia_rt_album_import_step_favorites',
315
+ 'offset': (i - 1) * 1,
316
+ 'redirect': i == response.users
317
}
318
$favorites[i] = newvals;
319
}
320
var $startingpoint = jQuery.Deferred();
321
$startingpoint.resolve();
322
+ jQuery.each($favorites, function(i, v) {
323
+ $startingpoint = $startingpoint.pipe(function() {
324
return fireimportfavoriteRequest(v);
325
});
326
});
328
} else {
329
window.setTimeout(reload_url, 2000);
330
}
331
+ }, 'json');
332
}
333
} else {
334
+ jQuery('#map_progress_msgs').html('<div class="map_mapping_failure">Row ' + response.page + ' failed.</div>');
335
}
336
});
337
}
338
339
function fireimportfavoriteRequest(data) {
340
+ return jQuery.post(ajaxurl, data, function(response) {
341
+ redirect = false;
342
favorites_total = jQuery('#bpmedia-bpalbumimporter .bp-album-favorites span.total').html();
343
favorites_finished = jQuery('#bpmedia-bpalbumimporter .bp-album-favorites span.finished').html();
344
+ jQuery('#bpmedia-bpalbumimporter .bp-album-favorites span.finished').html(parseInt(favorites_finished) + 1);
345
+ var favorites_progw = Math.ceil((parseInt(favorites_finished + 1) / parseInt(favorites_total)) * 100);
346
+ if (favorites_progw > 100 || favorites_progw == 100) {
347
+ favorites_progw = 100;
348
+ redirect = true;
349
}
350
+ jQuery('.bp-album-favorites #rtprogressbar>div').css('width', favorites_progw + '%');
351
+ if (redirect) {
352
window.setTimeout(reload_url, 2000);
353
}
354
});
355
}
356
357
+ function reload_url() {
358
window.location = document.URL;
359
}
360
361
+ jQuery('#bpmedia-bpalbumimport-cleanup').click(function(e) {
362
e.preventDefault();
363
jQuery.post(ajaxurl, {
364
action: 'rtmedia_rt_album_cleanup'
365
+ }, function(response) {
366
window.location = settings_rt_album_import_url;
367
});
368
369
});
370
371
+ jQuery('#bpmedia-bpalbumimporter').on('click', '#bpmedia-bpalbumimport', function(e) {
372
e.preventDefault();
373
+ if (!jQuery('#bp-album-import-accept').prop('checked')) {
374
jQuery('html, body').animate({
375
+ scrollTop: jQuery('#bp-album-import-accept').offset().top
376
}, 500);
377
var $el = jQuery('.bp-album-import-accept'),
378
+ x = 500,
379
+ originalColor = '#FFEBE8',
380
+ i = 3; //counter
381
382
(function loop() { //recurisve IIFE
383
$el.css("background-color", "#EE0000");
384
+ setTimeout(function() {
385
$el.css("background-color", originalColor);
386
+ if (--i)
387
+ setTimeout(loop, x); //restart loop
388
}, x);
389
}());
390
return;
391
} else {
392
jQuery(this).prop('disabled', true);
393
}
394
+ wp_admin_url = ajaxurl.replace('admin-ajax.php', '');
395
if (!jQuery('.bpm-ajax-loader').length)
396
+ jQuery(this).after(' <img class="bpm-ajax-loader" src="' + wp_admin_url + 'images/wpspin_light.gif" /> <strong>' + rtmedia_admin_strings.no_refresh + '</strong>');
397
398
399
$progress_parent = jQuery('#bpmedia-bpalbumimport');
400
+ $values = [];
401
+ jQuery(this).parent().find('input').each(function() {
402
+ $values [jQuery(this).attr('name')] = [jQuery(this).val()];
403
404
});
405
406
+ if ($values['steps'][0] == 0)
407
+ $values['steps'][0] = 1;
408
409
$data = {};
410
+ for (var i = 1; i <= $values['steps'][0]; i++) {
411
+ $count = 5;
412
+ if (i == $values['steps'][0]) {
413
+ $count = parseInt($values['laststep'][0]);
414
+ if ($count == 0) {
415
+ $count = 5
416
+ }
417
+ ;
418
}
419
newvals = {
420
+ 'page': i,
421
+ 'action': 'rtmedia_rt_album_import',
422
+ 'count': $count,
423
+ 'values': $values
424
}
425
$data[i] = newvals;
426
}
427
var $startingpoint = jQuery.Deferred();
428
$startingpoint.resolve();
429
+ jQuery.each($data, function(i, v) {
430
+ $startingpoint = $startingpoint.pipe(function() {
431
return fireimportRequest(v);
432
});
433
});
435
436
});
437
438
+ jQuery('#bp-media-settings-boxes').on('click', '.interested', function() {
439
jQuery('.interested-container').removeClass('hidden');
440
+ jQuery('.choice-free').attr('required', 'required');
441
});
442
+ jQuery('#bp-media-settings-boxes').on('click', '.not-interested', function() {
443
jQuery('.interested-container').addClass('hidden');
444
jQuery('.choice-free').removeAttr('required');
445
});
446
447
+ jQuery('#video-transcoding-main-container').on('click', '.video-transcoding-survey', function(e) {
448
e.preventDefault();
449
var data = {
450
action: 'rtmedia_convert_videos_form',
453
choice: jQuery('input[name="choice"]:checked').val(),
454
interested: jQuery('input[name="interested"]:checked').val()
455
}
456
+ jQuery.post(ajaxurl, data, function(response) {
457
+ jQuery('#video-transcoding-main-container').html('<p><strong>' + response + '</strong></p>');
458
});
459
return false;
460
});
461
462
+ jQuery('#bpmedia-bpalbumimporter').on('click', '.deactivate-bp-album', function(e) {
463
e.preventDefault();
464
$bpalbum = jQuery(this);
465
var data = {
466
action: 'rtmedia_rt_album_deactivate'
467
}
468
jQuery.get(ajaxurl, data, function(response) {
469
+ if (response)
470
location.reload();
471
else
472
+ $bpalbum.parent().after('<p>' + rtmedia_admin_strings.something_went_wrong + '</p>');
473
});
474
});
475
476
+ jQuery('.updated').on('click', '.bpm-hide-encoding-notice', function() {
477
+ jQuery(this).after('<img style="margin: 0 0 0 10px" src="' + rtmedia_admin_url + 'images/wpspin_light.gif" />');
478
+ var data = {
479
action: 'rtmedia_hide_encoding_notice'
480
}
481
+ jQuery.post(ajaxurl, data, function(response) {
482
+ if (response) {
483
jQuery('.bpm-hide-encoding-notice').closest('.updated').remove();
484
}
485
});
492
defaultTab: manageHash()
493
});
494
495
+ if (jQuery('#rtmedia-privacy-enable').is(":checked")) {
496
+ jQuery(".privacy-driven-disable label input").prop("disabled", false);
497
+ jQuery(".privacy-driven-disable label .rt-switch").bootstrapSwitch("setActive", true);
498
+ } else {
499
+ jQuery(".privacy-driven-disable label input").prop("disabled", true);
500
+ jQuery(".privacy-driven-disable label .rt-switch").bootstrapSwitch("setActive", false);
501
+ }
502
+ jQuery('#rtmedia-privacy-enable').on("click", function(e) {
503
+ if (jQuery(this).is(":checked")) {
504
+ jQuery(".privacy-driven-disable label input").prop("disabled", false);
505
+ jQuery(".privacy-driven-disable label .rt-switch").bootstrapSwitch("setActive", true);
506
+ } else {
507
+ jQuery(".privacy-driven-disable label input").prop("disabled", true);
508
+ jQuery(".privacy-driven-disable label .rt-switch").bootstrapSwitch("setActive", false);
509
+ }
510
+ });
511
+
512
+ var onData = '';
513
+ var offData = '';
514
+ if (rtmedia_on_label !== undefined)
515
+ onData = 'data-on-label="' + rtmedia_on_label + '"';
516
+ if (rtmedia_off_label !== undefined)
517
+ offData = 'data-off-label="' + rtmedia_off_label + '"';
518
+ jQuery("[data-toggle='switch']").wrap('<div class="rt-switch" ' + onData + ' ' + offData + ' />').parent().bootstrapSwitch();
519
520
try {
521
+ jQuery('.rtm-show-tooltip').powerTip({
522
+ followMouse: true
523
+ });
524
+ } catch (e) {
525
// no tooltip is defined
526
+ }
527
+ $(".rtmedia-tab-title").click(function() {
528
+ hash = $(this).attr('href');
529
+ window.location.hash = hash.substring(1, hash.length);
530
+ });
531
+ function manageHash() {
532
+
533
+ hash = window.location.hash;
534
+ $('#tab-' + hash.substr(1, hash.length)).click();
535
+ if ($('#tab-' + hash.substr(1, hash.length)).length < 1)
536
+ return 1;
537
+ return $('#tab-' + hash.substr(1, hash.length)).parent().index() + 1;
538
+ }
539
+
540
+ $(window).hashchange(function(e, data) {
541
+ e.preventDefault();
542
+ manageHash();
543
+ });
544
});
app/assets/js/rtMedia.js CHANGED
@@ -54,9 +54,16 @@ jQuery('document').ready(function($) {
54
});
55
56
}
57
},
58
close: function(e) {
59
- console.log(e);
60
},
61
BeforeChange: function(e) {
62
console.log(e);
54
});
55
56
}
57
+ var settings = {};
58
+
59
+ if (typeof _wpmejsSettings !== 'undefined')
60
+ settings.pluginPath = _wpmejsSettings.pluginPath;
61
+
62
+ $('.mfp-content .wp-audio-shortcode,.mfp-content .wp-video-shortcode,.mfp-content .bp_media_content video').mediaelementplayer(settings);
63
+ $('.mfp-content .mejs-audio .mejs-controls').css('position','relative');
64
},
65
close: function(e) {
66
+ console.log(e);
67
},
68
BeforeChange: function(e) {
69
console.log(e);
app/assets/sass/main.scss CHANGED
@@ -68,6 +68,14 @@
68
}
69
}
70
}
71
}
72
73
.rtmedia-media img {
@@ -178,27 +186,7 @@
178
}
179
.mejs-layers .mejs-poster {
180
overflow: hidden;
181
- }
182
- .mejs-controls .mejs-button button {
183
- cursor: pointer;
184
- display: block;
185
- font-size: 0;
186
- line-height: 0;
187
- text-decoration: none;
188
- margin: 7px 5px;
189
- padding: 0;
190
- position: absolute;
191
- height: 16px;
192
- width: 16px;
193
- border: 0;
194
- background: rgba(0, 0, 0, 0) url('../../../lib/media-element/controls.png') no-repeat;
195
- }
196
- .mejs-controls .mejs-mute button {
197
- background-position: -16px -16px;
198
- }
199
- .mejs-controls .mejs-fullscreen-button button {
200
- background-position: -32px 0;
201
- }
202
}
203
}
204
.rtmedia-single-meta{
@@ -300,7 +288,7 @@
300
float:left;
301
padding:10px;
302
.rtmedia-item-thumbnail{
303
- overflow:hidden;
304
}
305
306
&.media-type-video{
@@ -308,29 +296,9 @@
308
.rtmedia-item-thumbnail{
309
margin : 0 auto;
310
overflow:hidden;
311
- .mejs-overlay-button{
312
- margin: -50px 0 0 -50px;
313
- }
314
- .mejs-controls .mejs-button button {
315
- cursor: pointer;
316
- display: block;
317
- font-size: 0;
318
- line-height: 0;
319
- text-decoration: none;
320
- margin: 7px 5px;
321
- padding: 0;
322
- position: absolute;
323
- height: 16px;
324
- width: 16px;
325
- border: 0;
326
- background: rgba(0, 0, 0, 0) url('../../../lib/media-element/controls.png') no-repeat;
327
- }
328
- .mejs-controls .mejs-mute button {
329
- background-position: -16px -16px;
330
- }
331
- .mejs-controls .mejs-fullscreen-button button {
332
- background-position: -32px 0;
333
- }
334
}
335
}
336
}
@@ -339,6 +307,48 @@
339
}
340
}
341
}
342
.mfp-content{
343
#rtmedia-single-media-container{
344
.rtmedia-media{
68
}
69
}
70
}
71
+ .rtmedia-list-item.media-type-music, .rtmedia-list-item.media-type-video {
72
+ width: 100%;
73
+ .mejs-controls {
74
+ .mejs-time-rail {
75
+ margin: 8px 2px 2px 0;
76
+ }
77
+ }
78
+ }
79
}
80
81
.rtmedia-media img {
186
}
187
.mejs-layers .mejs-poster {
188
overflow: hidden;
189
+ }
190
}
191
}
192
.rtmedia-single-meta{
288
float:left;
289
padding:10px;
290
.rtmedia-item-thumbnail{
291
+ overflow:hidden;
292
}
293
294
&.media-type-video{
296
.rtmedia-item-thumbnail{
297
margin : 0 auto;
298
overflow:hidden;
299
+ .mejs-overlay-button{
300
+ margin: -50px 0 0 -50px;
301
+ }
302
}
303
}
304
}
307
}
308
}
309
}
310
+
311
+
312
+ #buddypress, .rtmedia-container {
313
+ .mejs-controls {
314
+ button {
315
+ padding: 4px 8px;
316
+ border: none;
317
+ background: rgba(0, 0, 0, 0) url('../../../lib/media-element/controls.png') no-repeat;
318
+ }
319
+ .mejs-play {
320
+ button {
321
+ background-position: 0 0;
322
+ }
323
+ }
324
+ .mejs-pause {
325
+ button {
326
+ background-position: 0 -16px;
327
+ }
328
+ }
329
+ .mejs-unmute {
330
+ button {
331
+ background-position: -16px 0;
332
+ }
333
+ }
334
+ .mejs-mute {
335
+ button {
336
+ background-position: -16px -16px;
337
+ }
338
+ }
339
+ .mejs-fullscreen-button {
340
+ button {
341
+ background-position: -32px 0;
342
+ }
343
+ }
344
+ .mejs-unfullscreen {
345
+ button{
346
+ background-position: -32px -16px;
347
+ }
348
+ }
349
+ }
350
+ }
351
+
352
.mfp-content{
353
#rtmedia-single-media-container{
354
.rtmedia-media{
app/helper/RTMediaModel.php CHANGED
@@ -202,7 +202,7 @@ class RTMediaModel extends RTDBModel {
202
} else {
203
204
if ( $colname == "context" && $colvalue == "profile" ) {
205
- $query .= " AND {$this->table_name}.{$colname} <> 'group'";
206
} else {
207
$query .= " AND {$this->table_name}.{$colname} = '{$colvalue}'";
208
}
@@ -211,7 +211,6 @@ class RTMediaModel extends RTDBModel {
211
}
212
}
213
$query .= "GROUP BY privacy";
214
-
215
$result = $wpdb->get_results ( $query );
216
if ( ! is_array ( $result ) )
217
return false;
202
} else {
203
204
if ( $colname == "context" && $colvalue == "profile" ) {
205
+ // $query .= " AND {$this->table_name}.{$colname} <> 'group'";
206
} else {
207
$query .= " AND {$this->table_name}.{$colname} = '{$colvalue}'";
208
}
211
}
212
}
213
$query .= "GROUP BY privacy";
214
$result = $wpdb->get_results ( $query );
215
if ( ! is_array ( $result ) )
216
return false;
app/importers/RTMediaMigration.php CHANGED
@@ -969,7 +969,7 @@ class RTMediaMigration {
969
if ( function_exists ( "bp_core_get_table_prefix" ) )
970
$bp_prefix = bp_core_get_table_prefix ();
971
else
972
- $bp_prefix = "";
973
$sql = $wpdb->prepare ( "update {$bp_prefix}bp_activity set action=replace(action,%s,%s) ,content=replace(content,%s,%s), primary_link=replace(primary_link,%s,%s) where id > 0;", $old, $new, $old, $new, $old, $new );
974
$wpdb->get_row ( $sql );
975
}
969
if ( function_exists ( "bp_core_get_table_prefix" ) )
970
$bp_prefix = bp_core_get_table_prefix ();
971
else
972
+ $bp_prefix = $wpdb->prefix;
973
$sql = $wpdb->prepare ( "update {$bp_prefix}bp_activity set action=replace(action,%s,%s) ,content=replace(content,%s,%s), primary_link=replace(primary_link,%s,%s) where id > 0;", $old, $new, $old, $new, $old, $new );
974
$wpdb->get_row ( $sql );
975
}
app/main/RTMedia.php CHANGED
@@ -183,6 +183,10 @@ class RTMedia {
183
height: <?php echo $this->options[ "defaultSizes_photo_thumbnail_height" ]; ?>px;
184
line-height: <?php echo $this->options[ "defaultSizes_photo_thumbnail_height" ]; ?>px;
185
}
186
.rtmedia-container .rtmedia-list .rtmedia-list-item {
187
width: <?php echo intval ( $this->options[ "defaultSizes_photo_thumbnail_width" ] ) + 20; ?>px;
188
height: <?php echo intval ( $this->options[ "defaultSizes_photo_thumbnail_height" ] ) + 20; ?>px;
@@ -316,6 +320,7 @@ class RTMedia {
316
function admin_init () {
317
global $rtmedia_admin;
318
$rtmedia_admin = new RTMediaAdmin();
319
}
320
321
function media_screen () {
@@ -685,22 +690,12 @@ class RTMedia {
685
}
686
687
function update_db () {
688
- $rtMigration = new RTMediaMigration();
689
$update = new RTDBUpdate();
690
/* Current Version. */
691
if ( ! defined ( 'RTMEDIA_VERSION' ) )
692
define ( 'RTMEDIA_VERSION', $update->db_version );
693
-
694
-
695
if ( $update->check_upgrade () ) {
696
$update->do_upgrade ();
697
- } else {
698
- if ( $update->table_exists ( $rtMigration->bmp_table ) == false ) {
699
- $update->do_upgrade ( true );
700
- if ( $update->table_exists ( $rtMigration->bmp_table ) == false ) {
701
- add_action ( "admin_notice", array( &$this, "create_table_error_notice" ) );
702
- }
703
- }
704
}
705
}
706
@@ -815,8 +810,9 @@ class RTMedia {
815
816
function get_rtmedia_permalink ( $id ) {
817
$mediaModel = new RTMediaModel();
818
819
- $media = $mediaModel->get ( array( 'id' => $id ) );
820
global $rtmedia_query;
821
822
if ( $media[ 0 ]->context == 'group' )
@@ -869,61 +865,6 @@ function rtmedia_get_site_option ( $option_name, $default = false ) {
869
return $return_val;
870
}
871
872
- function check_broken_media () {
873
- global $wpdb;
874
- $media_model = new RTMediaModel();
875
- $sql = "select * from wp_postmeta m join wp_posts p on p.ID = m.post_id where meta_value like '%rtMedia%'";
876
- $results = $wpdb->get_results ( $sql );
877
- $upload_path = trim ( get_option ( 'upload_path' ) );
878
-
879
- if ( empty ( $upload_path ) || 'wp-content/uploads' == $upload_path ) {
880
- $dir = WP_CONTENT_DIR . '/uploads';
881
- } elseif ( 0 !== strpos ( $upload_path, ABSPATH ) ) {
882
- // $dir is absolute, $upload_path is (maybe) relative to ABSPATH
883
- $dir = path_join ( ABSPATH, $upload_path );
884
- } else {
885
- $dir = $upload_path;
886
- }
887
- foreach ( $results as $row ) {
888
- $row->meta_value = maybe_unserialize ( $row->meta_value );
889
- if ( is_array ( $row->meta_value ) ) {
890
- // foreach ( $row->meta_value as $files ) {
891
- // var_dump ( $files );
892
- // if ( file_exists ( trailingslashit ( $dir ) . $files[ "file" ] ) == false )
893
- // echo $row->post_id . " - " . trailingslashit ( $dir ) . $files[ "file" ] . "<br />";
894
- // }
895
- } else {
896
- if ( ! file_exists ( trailingslashit ( $dir ) . $row->meta_value ) ) {
897
- echo $row->post_author . ' - ' . $row->post_id . " - " . trailingslashit ( $dir ) . $row->meta_value . "-- " . var_dump ( file_exists ( str_replace ( '/rtMedia/users/' . $row->post_author . "/", '/', trailingslashit ( $dir ) . $row->meta_value ) ) ) . " -- " . str_replace ( '/rtMedia/users/' . $row->post_author . "/", '/', trailingslashit ( $dir ) . $row->meta_value ) . "<br />";
898
- }
899
- }
900
- }
901
- exit;
902
- }
903
-
904
- function bp_latest_update_fix () {
905
- global $wpdb;
906
- $sql = "select * from $wpdb->usermeta where meta_key like 'bp_latest_update'";
907
- $results = $wpdb->get_results ( $sql );
908
- foreach ( $results as $row ) {
909
- if ( $meta_value = maybe_unserialize ( $row->meta_value ) ) {
910
- if ( is_array ( $meta_value ) ) {
911
- if ( isset ( $meta_value[ "content" ] ) && strpos ( $meta_value[ "content" ], "update_txt" ) !== false ) {
912
- $data_up = json_decode ( $meta_value[ "content" ] );
913
- if ( isset ( $data_up->update_txt ) ) {
914
- $meta_value[ "content" ] = urldecode ( $data_up->update_txt );
915
- update_user_meta ( $row->user_id, 'bp_latest_update', $meta_value );
916
- }
917
- }
918
- }
919
- }
920
- }
921
- }
922
-
923
- //if ( isset ( $_REQUEST[ "bp_latest_update_fix" ] ) ) {
924
- // bp_latest_update_fix ();
925
- //}
926
-
927
/**
928
* This wraps up the main rtMedia class. Three important notes:
929
*
183
height: <?php echo $this->options[ "defaultSizes_photo_thumbnail_height" ]; ?>px;
184
line-height: <?php echo $this->options[ "defaultSizes_photo_thumbnail_height" ]; ?>px;
185
}
186
+ .rtmedia-container ul.rtmedia-list li.rtmedia-list-item div.rtmedia-item-thumbnail img {
187
+ max-width: <?php echo $this->options[ "defaultSizes_photo_thumbnail_width" ]; ?>px;
188
+ max-height: <?php echo $this->options[ "defaultSizes_photo_thumbnail_height" ]; ?>px;
189
+ }
190
.rtmedia-container .rtmedia-list .rtmedia-list-item {
191
width: <?php echo intval ( $this->options[ "defaultSizes_photo_thumbnail_width" ] ) + 20; ?>px;
192
height: <?php echo intval ( $this->options[ "defaultSizes_photo_thumbnail_height" ] ) + 20; ?>px;
320
function admin_init () {
321
global $rtmedia_admin;
322
$rtmedia_admin = new RTMediaAdmin();
323
+ $rtMigration = new RTMediaMigration();
324
}
325
326
function media_screen () {
690
}
691
692
function update_db () {
693
$update = new RTDBUpdate();
694
/* Current Version. */
695
if ( ! defined ( 'RTMEDIA_VERSION' ) )
696
define ( 'RTMEDIA_VERSION', $update->db_version );
697
if ( $update->check_upgrade () ) {
698
$update->do_upgrade ();
699
}
700
}
701
810
811
function get_rtmedia_permalink ( $id ) {
812
$mediaModel = new RTMediaModel();
813
+ $media = $mediaModel->get ( array( 'id' => intval ( $id ) ) );
814
+
815
816
global $rtmedia_query;
817
818
if ( $media[ 0 ]->context == 'group' )
865
return $return_val;
866
}
867
868
/**
869
* This wraps up the main rtMedia class. Three important notes:
870
*
app/main/contexts/RTMediaContext.php CHANGED
@@ -38,7 +38,6 @@ class RTMediaContext {
38
*
39
*/
40
function set_context () {
41
- global $post;
42
if ( class_exists ( 'BuddyPress' ) ) {
43
$this->set_bp_context ();
44
} else {
@@ -69,28 +68,28 @@ class RTMediaContext {
69
*/
70
function set_bp_context () {
71
if ( bp_is_blog_page () ) {
72
- $this->set_wp_context ();
73
} else {
74
- $this->set_bp_component_context ();
75
- }
76
}
77
78
/**
79
*
80
*/
81
function set_bp_component_context () {
82
- if ( bp_displayed_user_id () && ! bp_is_group () )
83
- $this->type = 'profile';
84
- else if ( ! bp_displayed_user_id () && bp_is_group () )
85
$this->type = 'group';
86
else
87
- $this->type = 'profile';
88
$this->id = $this->get_current_bp_component_id ();
89
- if($this->id == null) {
90
global $bp;
91
$this->id = $bp->loggedin_user->id;
92
- }
93
- }
94
95
/**
96
*
38
*
39
*/
40
function set_context () {
41
if ( class_exists ( 'BuddyPress' ) ) {
42
$this->set_bp_context ();
43
} else {
68
*/
69
function set_bp_context () {
70
if ( bp_is_blog_page () ) {
71
+ $this->set_wp_context ();
72
} else {
73
+ $this->set_bp_component_context ();
74
+ }
75
}
76
77
/**
78
*
79
*/
80
function set_bp_component_context () {
81
+ if ( bp_displayed_user_id () && ! bp_is_group () )
82
+ $this->type = 'profile';
83
+ else if ( ! bp_displayed_user_id () && bp_is_group () )
84
$this->type = 'group';
85
else
86
+ $this->type = 'profile';
87
$this->id = $this->get_current_bp_component_id ();
88
+ if ( $this->id == null ) {
89
global $bp;
90
$this->id = $bp->loggedin_user->id;
91
+ }
92
+ }
93
94
/**
95
*
app/main/controllers/activity/RTMediaBuddyPressActivity.php CHANGED
@@ -94,8 +94,10 @@ class RTMediaBuddyPressActivity {
94
95
function bp_activity_posted_update ( $content, $user_id, $activity_id ) {
96
if ( isset ( $_POST[ "rtMedia_attached_files" ] ) && is_array ( $_POST[ "rtMedia_attached_files" ] ) ) {
97
- $objActivity = new RTMediaActivity ( $_POST[ "rtMedia_attached_files" ], 0, $content );
98
global $wpdb, $bp;
99
$wpdb->update ( $bp->activity->table_name, array( "type" => "rtmedia_update", "content" => $objActivity->create_activity_html () ), array( "id" => $activity_id ) );
100
$mediaObj = new RTMediaModel();
101
$sql = "update $mediaObj->table_name set activity_id = '" . $activity_id . "' where id in (" . implode ( ",", $_POST[ "rtMedia_attached_files" ] ) . ")";
@@ -133,6 +135,8 @@ class RTMediaBuddyPressActivity {
133
'multi_selection' => true,
134
'multipart_params' => apply_filters ( 'rtmedia-multi-params', array( 'redirect' => 'no', 'rtmedia_update' => 'true', 'action' => 'wp_handle_upload', '_wp_http_referer' => $_SERVER[ 'REQUEST_URI' ], 'mode' => 'file_upload', 'rtmedia_upload_nonce' => RTMediaUploadView::upload_nonce_generator ( false, true ) ) )
135
);
136
wp_enqueue_script ( 'rtmedia-backbone', false, '', false, true );
137
$is_album = is_rtmedia_album () ? true : false;
138
$is_edit_allowed = is_rtmedia_edit_allowed () ? true : false;
94
95
function bp_activity_posted_update ( $content, $user_id, $activity_id ) {
96
if ( isset ( $_POST[ "rtMedia_attached_files" ] ) && is_array ( $_POST[ "rtMedia_attached_files" ] ) ) {
97
global $wpdb, $bp;
98
+ $updated_content = $wpdb->get_var ( "select content from {$bp->activity->table_name} where id= $activity_id" );
99
+ $objActivity = new RTMediaActivity ( $_POST[ "rtMedia_attached_files" ], 0, $updated_content );
100
+
101
$wpdb->update ( $bp->activity->table_name, array( "type" => "rtmedia_update", "content" => $objActivity->create_activity_html () ), array( "id" => $activity_id ) );
102
$mediaObj = new RTMediaModel();
103
$sql = "update $mediaObj->table_name set activity_id = '" . $activity_id . "' where id in (" . implode ( ",", $_POST[ "rtMedia_attached_files" ] ) . ")";
135
'multi_selection' => true,
136
'multipart_params' => apply_filters ( 'rtmedia-multi-params', array( 'redirect' => 'no', 'rtmedia_update' => 'true', 'action' => 'wp_handle_upload', '_wp_http_referer' => $_SERVER[ 'REQUEST_URI' ], 'mode' => 'file_upload', 'rtmedia_upload_nonce' => RTMediaUploadView::upload_nonce_generator ( false, true ) ) )
137
);
138
+ if ( wp_is_mobile () )
139
+ $params[ 'multi_selection' ] = false;
140
wp_enqueue_script ( 'rtmedia-backbone', false, '', false, true );
141
$is_album = is_rtmedia_album () ? true : false;
142
$is_edit_allowed = is_rtmedia_edit_allowed () ? true : false;
app/main/controllers/media/RTMediaFeatured.php CHANGED
@@ -126,10 +126,10 @@ class RTMediaFeatured extends RTMediaUserInteraction {
126
$image_array = image_downsize ( $featured->media_id, 'rt_media_thumbnail' );
127
$content_xtra = 'poster="' . $image_array[ 0 ] . '" ';
128
}
129
- $content = '<video class="bp-media-featured-media"' . $content_xtra . 'src="' . wp_get_attachment_url ( $this->featured ) . '" width="' . $this->settings[ 'width' ] . '" height="' . $this->settings[ 'height' ] . '" type="video/mp4" id="bp_media_video_' . $this->featured . '" controls="controls" preload="none"></video>';
130
break;
131
case 'music' :
132
- $content = '<audio class="bp-media-featured-media"' . $content_xtra . 'src="' . wp_get_attachment_url ( $this->featured ) . '" width="' . $this->settings[ 'width' ] . '" type="audio/mp3" id="bp_media_audio_' . $this->featured . '" controls="controls" preload="none"></video>';
133
break;
134
case 'photo' :
135
$this->generate_featured_size ( $featured->media_id );
126
$image_array = image_downsize ( $featured->media_id, 'rt_media_thumbnail' );
127
$content_xtra = 'poster="' . $image_array[ 0 ] . '" ';
128
}
129
+ $content = '<video class="bp-media-featured-media wp-video-shortcode"' . $content_xtra . 'src="' . wp_get_attachment_url ( $featured->media_id ) . '" width="' . $this->settings[ 'width' ] . '" height="' . $this->settings[ 'height' ] . '" type="video/mp4" id="bp_media_video_' . $this->featured . '" controls="controls" preload="true"></video>';
130
break;
131
case 'music' :
132
+ $content = '<audio class="bp-media-featured-media wp-audio-shortcode"' . $content_xtra . 'src="' . wp_get_attachment_url ( $featured->media_id ) . '" width="' . $this->settings[ 'width' ] . '" type="audio/mp3" id="bp_media_audio_' . $this->featured . '" controls="controls" preload="none"></video>';
133
break;
134
case 'photo' :
135
$this->generate_featured_size ( $featured->media_id );
app/main/controllers/privacy/RTMediaPrivacy.php CHANGED
@@ -17,40 +17,42 @@ class RTMediaPrivacy {
17
*/
18
public $default_privacy;
19
20
- function __construct() {
21
- add_action('rtmedia_after_file_upload_ui', array($this, 'uploader_privacy_ui'));
22
- add_action('rtmedia_add_edit_fields', array($this, 'select_privacy_ui'));
23
- add_action('bp_init', array($this, 'add_nav'));
24
- add_action('bp_template_content', array($this, 'content'));
25
- add_filter('bp_activity_get_user_join_filter', array($this, 'activity_privacy'), 10, 6);
26
}
27
28
- function uploader_privacy_ui($attr) {
29
- if (!isset($attr['privacy'])) {
30
- $this->select_privacy_ui();
31
}
32
}
33
34
- function select_privacy_ui() {
35
global $rtmedia;
36
-
37
- if (!is_rtmedia_privacy_enable())
38
return false;
39
-
40
- if (!is_rtmedia_privacy_user_overide())
41
return false;
42
-
43
global $rtmedia_media;
44
$default = 0;
45
- if (isset($rtmedia_media->privacy))
46
$default = $rtmedia_media->privacy;
47
else {
48
- $default = get_user_meta(get_current_user_id(), 'rtmedia-default-privacy',true);
49
- if(!$default){
50
- $default = get_rtmedia_default_privacy();
51
}
52
}
53
-
54
55
$form = new rtForm();
56
$attributes = array(
@@ -58,125 +60,125 @@ class RTMediaPrivacy {
58
'id' => 'privacy'
59
);
60
global $rtmedia;
61
- $privacy_levels = $rtmedia->privacy_settings['levels'];
62
- if (class_exists('BuddyPress')) {
63
- if (!bp_is_active('friends')) {
64
- unset($privacy_levels[40]);
65
}
66
} else {
67
- unset($privacy_levels[40]);
68
}
69
- foreach ($privacy_levels as $key => $value) {
70
- $privacy = explode(' - ', $value);
71
- $attributes['rtForm_options'][] = array(
72
- $privacy[0] => $key,
73
'selected' => ($key == $default) ? 1 : 0
74
);
75
}
76
77
78
- echo $form->get_select($attributes);
79
}
80
81
- public function system_default() {
82
return 0;
83
}
84
85
- public function site_default() {
86
global $rtmedia;
87
88
- return rtmedia_get_site_option('privacy_settings');
89
}
90
91
- public function user_default() {
92
return;
93
}
94
95
- public function get_default() {
96
- $default_privacy = $this->user_default();
97
98
- if ($default_privacy === false) {
99
- $default_privacy = $this->site_default();
100
}
101
102
- if (!$default_privacy === false) {
103
- $default_privacy = $this->system_default();
104
}
105
}
106
107
- static function is_enabled() {
108
global $bp_media;
109
$options = $bp_media->options;
110
- if (!array_key_exists('privacy_enabled', $options)) {
111
return false;
112
} else {
113
- if ($options['privacy_enabled'] != true) {
114
return false;
115
}
116
}
117
return true;
118
}
119
120
- static function save_user_default($level = 0, $user_id = false) {
121
- if ($user_id == false) {
122
global $bp;
123
$user_id = $bp->loggedin_user->id;
124
}
125
- return update_user_meta($user_id, 'bp_media_privacy', $level);
126
}
127
128
- static function get_user_default($user_id = false) {
129
- if ($user_id == false) {
130
global $bp;
131
$user_id = $bp->loggedin_user->id;
132
}
133
- $user_privacy = get_user_meta($user_id, 'bp_media_privacy', true);
134
- if ($user_privacy === false) {
135
-
136
}
137
return $user_privacy;
138
}
139
140
- static function required_access($object_id = false) {
141
- if (BPMediaPrivacy::is_enabled() == false)
142
return;
143
- if ($object_id == false)
144
return;
145
- $privacy = BPMediaPrivacy::get_privacy($object_id);
146
- $parent = get_post_field('post_parent', $object_id, 'raw');
147
- $parent_privacy = BPMediaPrivacy::get_privacy($parent);
148
149
- if ($privacy === false) {
150
- if ($parent_privacy !== false) {
151
$privacy = $parent_privacy;
152
} else {
153
- $privacy = BPMediaPrivacy::default_privacy();
154
}
155
}
156
return $privacy;
157
}
158
159
- function add_nav() {
160
161
- if (bp_displayed_user_domain()) {
162
- $user_domain = bp_displayed_user_domain();
163
- } elseif (bp_loggedin_user_domain()) {
164
- $user_domain = bp_loggedin_user_domain();
165
} else {
166
return;
167
}
168
169
- if(!is_rtmedia_privacy_enable()){
170
- return ;
171
}
172
- if(!is_rtmedia_privacy_user_overide()){
173
- return ;
174
}
175
176
- $settings_link = trailingslashit($user_domain . 'settings');
177
178
$defaults = array(
179
- 'name' => $this->title(), // Display name for the nav item
180
'slug' => 'privacy', // URL slug for the nav item
181
'parent_slug' => 'settings', // URL slug of the parent nav item
182
'parent_url' => $settings_link, // URL of the parent item
@@ -184,62 +186,60 @@ class RTMediaPrivacy {
184
'user_has_access' => true, // Can the logged in user see this nav item?
185
'site_admin_only' => false, // Can only site admins see this nav item?
186
'position' => 900, // Index of where this nav item should be positioned
187
- 'screen_function' => array($this, 'settings_ui'), // The name of the function to run when clicked
188
'link' => '' // The link for the subnav item; optional, not usually required.
189
);
190
- bp_core_new_subnav_item($defaults);
191
}
192
193
- function settings_ui() {
194
- if (bp_action_variables()) {
195
- bp_do_404();
196
return;
197
}
198
199
200
// Load the template
201
- bp_core_load_template(apply_filters('bp_settings_screen_delete_account', 'members/single/plugins'));
202
}
203
204
- function content() {
205
- if (buddypress()->current_action != 'privacy')
206
return;
207
-
208
- if(isset($_POST["rtmedia-default-privacy"])){
209
- update_user_meta(get_current_user_id(), 'rtmedia-default-privacy', $_POST["rtmedia-default-privacy"]);
210
}
211
- $default_privacy = get_user_meta(get_current_user_id(), 'rtmedia-default-privacy',true);
212
- if($default_privacy === false){
213
- $default_privacy = get_rtmedia_default_privacy();
214
}
215
global $rtmedia;
216
-
217
?>
218
- <form method='post'>
219
- <div class="">
220
- <div class="section">
221
- <div class="columns large-2"><h2><?php echo __("Default Privacy", "rtmedia"); ?></h2></div>
222
- <div class="columns large-5">
223
- <?php
224
- foreach($rtmedia->privacy_settings['levels'] as $level=>$data){ ?>
225
- <label><input type='radio' value='<?php echo $level;?>' name ='rtmedia-default-privacy' <?php echo ($default_privacy == $level)?"checked":""; ?> /> <?php _e($data);?></label><br/>
226
- <?php } ?>
227
- </div>
228
</div>
229
- </div>
230
- <br/>
231
- <div class="submit">
232
- <input type="submit" name="submit" value="<?php _e("Save Changes"); ?>" id="submit" class="auto">
233
- </div>
234
- </form>
235
- <?php
236
}
237
238
- function title() {
239
- return __('Privacy', 'rtmedia');
240
}
241
242
- function activity_privacy($sql, $select_sql, $from_sql, $where_sql, $sort, $pag_sql = '') {
243
//apply_filters( 'bp_activity_get_user_join_filter', "
244
//"{$select_sql} {$from_sql} {$where_sql} ORDER BY a.date_recorded {$sort} {$pag_sql}",
245
//$select_sql,
@@ -256,32 +256,32 @@ class RTMediaPrivacy {
256
257
global $bp, $wpdb;
258
259
- if (is_user_logged_in()) {
260
- $user = get_current_user_id();
261
} else {
262
$user = 0;
263
}
264
265
$where .= "AND (CONVERT(m.meta_value,SIGNED INTEGER) <= 0)";
266
267
- if ($user) {
268
$where .= "OR ((m.meta_value=20)";
269
$where .= " OR (a.user_id={$user} AND CONVERT(m.meta_value, UNSIGNED INTEGER) >= 40)";
270
- if (class_exists('BuddyPress')) {
271
- if (bp_is_active('friends')) {
272
$friendship = new RTMediaFriends();
273
- $friends = $friendship->get_friends_cache($user);
274
- $where .= " OR (CONVERT(m.meta_value,UNSIGNED INTEGER)=40 AND a.user_id IN ('" . implode("','", $friends) . "'))";
275
}
276
}
277
$where .= ')';
278
}
279
- if (function_exists("bp_core_get_table_prefix"))
280
- $bp_prefix = bp_core_get_table_prefix();
281
else
282
$bp_prefix = "";
283
284
- $select_sql = str_replace("SELECT", "SELECT distinct", $select_sql);
285
286
$from_sql = " FROM {$bp->activity->table_name} a LEFT JOIN {$wpdb->users} u ON a.user_id = u.ID LEFT JOIN {$bp->activity->table_name_meta} m ON a.id = m.activity_id";
287
$where_sql = $where_sql . " AND (NOT EXISTS (SELECT m.activity_id FROM {$bp_prefix}bp_activity_meta m WHERE m.meta_key='rtmedia_privacy' AND m.activity_id=a.id) OR (m.meta_key='rtmedia_privacy' {$where} ) )";
17
*/
18
public $default_privacy;
19
20
+ function __construct () {
21
+ if ( is_rtmedia_privacy_enable () ) {
22
+ add_action ( 'rtmedia_after_file_upload_ui', array( $this, 'uploader_privacy_ui' ) );
23
+ add_action ( 'rtmedia_add_edit_fields', array( $this, 'select_privacy_ui' ) );
24
+ add_action ( 'bp_init', array( $this, 'add_nav' ) );
25
+ add_action ( 'bp_template_content', array( $this, 'content' ) );
26
+ add_filter ( 'bp_activity_get_user_join_filter', array( $this, 'activity_privacy' ), 10, 6 );
27
+ }
28
}
29
30
+ function uploader_privacy_ui ( $attr ) {
31
+ if ( ! isset ( $attr[ 'privacy' ] ) ) {
32
+ $this->select_privacy_ui ();
33
}
34
}
35
36
+ function select_privacy_ui () {
37
global $rtmedia;
38
+
39
+ if ( ! is_rtmedia_privacy_enable () )
40
return false;
41
+
42
+ if ( ! is_rtmedia_privacy_user_overide () )
43
return false;
44
+
45
global $rtmedia_media;
46
$default = 0;
47
+ if ( isset ( $rtmedia_media->privacy ) )
48
$default = $rtmedia_media->privacy;
49
else {
50
+ $default = get_user_meta ( get_current_user_id (), 'rtmedia-default-privacy', true );
51
+ if ( ! $default ) {
52
+ $default = get_rtmedia_default_privacy ();
53
}
54
}
55
+
56
57
$form = new rtForm();
58
$attributes = array(
60
'id' => 'privacy'
61
);
62
global $rtmedia;
63
+ $privacy_levels = $rtmedia->privacy_settings[ 'levels' ];
64
+ if ( class_exists ( 'BuddyPress' ) ) {
65
+ if ( ! bp_is_active ( 'friends' ) ) {
66
+ unset ( $privacy_levels[ 40 ] );
67
}
68
} else {
69
+ unset ( $privacy_levels[ 40 ] );
70
}
71
+ foreach ( $privacy_levels as $key => $value ) {
72
+ $privacy = explode ( ' - ', $value );
73
+ $attributes[ 'rtForm_options' ][ ] = array(
74
+ $privacy[ 0 ] => $key,
75
'selected' => ($key == $default) ? 1 : 0
76
);
77
}
78
79
80
+ echo $form->get_select ( $attributes );
81
}
82
83
+ public function system_default () {
84
return 0;
85
}
86
87
+ public function site_default () {
88
global $rtmedia;
89
90
+ return rtmedia_get_site_option ( 'privacy_settings' );
91
}
92
93
+ public function user_default () {
94
return;
95
}
96
97
+ public function get_default () {
98
+ $default_privacy = $this->user_default ();
99
100
+ if ( $default_privacy === false ) {
101
+ $default_privacy = $this->site_default ();
102
}
103
104
+ if ( ! $default_privacy === false ) {
105
+ $default_privacy = $this->system_default ();
106
}
107
}
108
109
+ static function is_enabled () {
110
global $bp_media;
111
$options = $bp_media->options;
112
+ if ( ! array_key_exists ( 'privacy_enabled', $options ) ) {
113
return false;
114
} else {
115
+ if ( $options[ 'privacy_enabled' ] != true ) {
116
return false;
117
}
118
}
119
return true;
120
}
121
122
+ static function save_user_default ( $level = 0, $user_id = false ) {
123
+ if ( $user_id == false ) {
124
global $bp;
125
$user_id = $bp->loggedin_user->id;
126
}
127
+ return update_user_meta ( $user_id, 'bp_media_privacy', $level );
128
}
129
130
+ static function get_user_default ( $user_id = false ) {
131
+ if ( $user_id == false ) {
132
global $bp;
133
$user_id = $bp->loggedin_user->id;
134
}
135
+ $user_privacy = get_user_meta ( $user_id, 'bp_media_privacy', true );
136
+ if ( $user_privacy === false ) {
137
+
138
}
139
return $user_privacy;
140
}
141
142
+ static function required_access ( $object_id = false ) {
143
+ if ( BPMediaPrivacy::is_enabled () == false )
144
return;
145
+ if ( $object_id == false )
146
return;
147
+ $privacy = BPMediaPrivacy::get_privacy ( $object_id );
148
+ $parent = get_post_field ( 'post_parent', $object_id, 'raw' );
149
+ $parent_privacy = BPMediaPrivacy::get_privacy ( $parent );
150
151
+ if ( $privacy === false ) {
152
+ if ( $parent_privacy !== false ) {
153
$privacy = $parent_privacy;
154
} else {
155
+ $privacy = BPMediaPrivacy::default_privacy ();
156
}
157
}
158
return $privacy;
159
}
160
161
+ function add_nav () {
162
163
+ if ( bp_displayed_user_domain () ) {
164
+ $user_domain = bp_displayed_user_domain ();
165
+ } elseif ( bp_loggedin_user_domain () ) {
166
+ $user_domain = bp_loggedin_user_domain ();
167
} else {
168
return;
169
}
170
171
+ if ( ! is_rtmedia_privacy_enable () ) {
172
+ return;
173
}
174
+ if ( ! is_rtmedia_privacy_user_overide () ) {
175
+ return;
176
}
177
178
+ $settings_link = trailingslashit ( $user_domain . 'settings' );
179
180
$defaults = array(
181
+ 'name' => $this->title (), // Display name for the nav item
182
'slug' => 'privacy', // URL slug for the nav item
183
'parent_slug' => 'settings', // URL slug of the parent nav item
184
'parent_url' => $settings_link, // URL of the parent item
186
'user_has_access' => true, // Can the logged in user see this nav item?
187
'site_admin_only' => false, // Can only site admins see this nav item?
188
'position' => 900, // Index of where this nav item should be positioned
189
+ 'screen_function' => array( $this, 'settings_ui' ), // The name of the function to run when clicked
190
'link' => '' // The link for the subnav item; optional, not usually required.
191
);
192
+ bp_core_new_subnav_item ( $defaults );
193
}
194
195
+ function settings_ui () {
196
+ if ( bp_action_variables () ) {
197
+ bp_do_404 ();
198
return;
199
}
200
201
202
// Load the template
203
+ bp_core_load_template ( apply_filters ( 'bp_settings_screen_delete_account', 'members/single/plugins' ) );
204
}
205
206
+ function content () {
207
+ if ( buddypress ()->current_action != 'privacy' )
208
return;
209
+
210
+ if ( isset ( $_POST[ "rtmedia-default-privacy" ] ) ) {
211
+ update_user_meta ( get_current_user_id (), 'rtmedia-default-privacy', $_POST[ "rtmedia-default-privacy" ] );
212
}
213
+ $default_privacy = get_user_meta ( get_current_user_id (), 'rtmedia-default-privacy', true );
214
+ if ( $default_privacy === false ) {
215
+ $default_privacy = get_rtmedia_default_privacy ();
216
}
217
global $rtmedia;
218
?>
219
+ <form method='post'>
220
+ <div class="">
221
+ <div class="section">
222
+ <div class="columns large-2"><h2><?php echo __ ( "Default Privacy", "rtmedia" ); ?></h2></div>
223
+ <div class="columns large-5">
224
+ <?php foreach ( $rtmedia->privacy_settings[ 'levels' ] as $level => $data ) { ?>
225
+ <label><input type='radio' value='<?php echo $level; ?>' name ='rtmedia-default-privacy' <?php echo ($default_privacy == $level) ? "checked" : ""; ?> /> <?php _e ( $data ); ?></label><br/>
226
+ <?php } ?>
227
+ </div>
228
+ </div>
229
+ </div>
230
+ <br/>
231
+ <div class="submit">
232
+ <input type="submit" name="submit" value="<?php _e ( "Save Changes" ); ?>" id="submit" class="auto">
233
</div>
234
+ </form>
235
+ <?php
236
}
237
238
+ function title () {
239
+ return __ ( 'Privacy', 'rtmedia' );
240
}
241
242
+ function activity_privacy ( $sql, $select_sql, $from_sql, $where_sql, $sort, $pag_sql = '' ) {
243
//apply_filters( 'bp_activity_get_user_join_filter', "
244
//"{$select_sql} {$from_sql} {$where_sql} ORDER BY a.date_recorded {$sort} {$pag_sql}",
245
//$select_sql,
256
257
global $bp, $wpdb;
258
259
+ if ( is_user_logged_in () ) {
260
+ $user = get_current_user_id ();
261
} else {
262
$user = 0;
263
}
264
265
$where .= "AND (CONVERT(m.meta_value,SIGNED INTEGER) <= 0)";
266
267
+ if ( $user ) {
268
$where .= "OR ((m.meta_value=20)";
269
$where .= " OR (a.user_id={$user} AND CONVERT(m.meta_value, UNSIGNED INTEGER) >= 40)";
270
+ if ( class_exists ( 'BuddyPress' ) ) {
271
+ if ( bp_is_active ( 'friends' ) ) {
272
$friendship = new RTMediaFriends();
273
+ $friends = $friendship->get_friends_cache ( $user );
274
+ $where .= " OR (CONVERT(m.meta_value,UNSIGNED INTEGER)=40 AND a.user_id IN ('" . implode ( "','", $friends ) . "'))";
275
}
276
}
277
$where .= ')';
278
}
279
+ if ( function_exists ( "bp_core_get_table_prefix" ) )
280
+ $bp_prefix = bp_core_get_table_prefix ();
281
else
282
$bp_prefix = "";
283
284
+ $select_sql = str_replace ( "SELECT", "SELECT distinct", $select_sql );
285
286
$from_sql = " FROM {$bp->activity->table_name} a LEFT JOIN {$wpdb->users} u ON a.user_id = u.ID LEFT JOIN {$bp->activity->table_name_meta} m ON a.id = m.activity_id";
287
$where_sql = $where_sql . " AND (NOT EXISTS (SELECT m.activity_id FROM {$bp_prefix}bp_activity_meta m WHERE m.meta_key='rtmedia_privacy' AND m.activity_id=a.id) OR (m.meta_key='rtmedia_privacy' {$where} ) )";
app/main/controllers/shortcodes/RTMediaGalleryShortcode.php CHANGED
@@ -34,7 +34,7 @@ class RTMediaGalleryShortcode {
34
$url = trailingslashit ( $_SERVER[ "REQUEST_URI" ] );
35
36
if ( strpos ( $url, "/media" ) !== false ) {
37
- $url_array = split ( "/media", $url );
38
$url = trailingslashit ( $url_array[ 0 ] ) . "upload/";
39
} else {
40
$url = trailingslashit ( $url ) . "upload/";
@@ -56,6 +56,9 @@ class RTMediaGalleryShortcode {
56
'multi_selection' => true,
57
'multipart_params' => apply_filters ( 'rtmedia-multi-params', array( 'redirect' => 'no', 'action' => 'wp_handle_upload', '_wp_http_referer' => $_SERVER[ 'REQUEST_URI' ], 'mode' => 'file_upload', 'rtmedia_upload_nonce' => RTMediaUploadView::upload_nonce_generator ( false, true ) ) )
58
);
59
wp_localize_script ( 'rtmedia-backbone', 'rtMedia_plupload_config', $params );
60
wp_localize_script ( 'rtmedia-backbone', 'rMedia_loading_file', admin_url ( "/images/loading.gif" ) );
61
}
34
$url = trailingslashit ( $_SERVER[ "REQUEST_URI" ] );
35
36
if ( strpos ( $url, "/media" ) !== false ) {
37
+ $url_array = explode ( "/media", $url );
38
$url = trailingslashit ( $url_array[ 0 ] ) . "upload/";
39
} else {
40
$url = trailingslashit ( $url ) . "upload/";
56
'multi_selection' => true,
57
'multipart_params' => apply_filters ( 'rtmedia-multi-params', array( 'redirect' => 'no', 'action' => 'wp_handle_upload', '_wp_http_referer' => $_SERVER[ 'REQUEST_URI' ], 'mode' => 'file_upload', 'rtmedia_upload_nonce' => RTMediaUploadView::upload_nonce_generator ( false, true ) ) )
58
);
59
+ if ( wp_is_mobile () )
60
+ $params[ 'multi_selection' ] = false;
61
+
62
wp_localize_script ( 'rtmedia-backbone', 'rtMedia_plupload_config', $params );
63
wp_localize_script ( 'rtmedia-backbone', 'rMedia_loading_file', admin_url ( "/images/loading.gif" ) );
64
}
app/main/controllers/template/RTMediaNav.php CHANGED
@@ -10,7 +10,6 @@ class RTMediaNav {
10
11
if ( class_exists ( 'BuddyPress' ) ) {
12
add_action ( 'bp_init', array( $this, 'custom_media_nav_tab' ), 10, 1 );
13
- //add_action( 'bp_init', array( $this, 'custom_media_sub_nav_tab' ), 10, 20 );
14
}
15
}
16
@@ -49,7 +48,7 @@ class RTMediaNav {
49
$group_counts = $this->actual_counts ( $bp->groups->current_group->id, "group" );
50
$bp->bp_options_nav[ bp_get_current_group_slug () ][ 'media' ] = array(
51
'name' => RTMEDIA_MEDIA_LABEL . '<span>' . $group_counts[ 'total' ][ 'all' ] . '</span>',
52
- 'link' => ( (is_multisite ()) ? get_site_url ( get_current_blog_id () ) : get_site_url () ) . '/' . bp_get_groups_root_slug () . '/' . bp_get_current_group_slug () . '/' . RTMEDIA_MEDIA_SLUG,
53
'slug' => RTMEDIA_MEDIA_SLUG,
54
'user_has_access' => true,
55
'css_id' => 'rtmedia-media-nav',
@@ -61,15 +60,6 @@ class RTMediaNav {
61
}
62
63
function admin_nav () {
64
- // $wp_admin_bar->add_menu( array(
65
- // 'parent' => 'my-account',
66
- // 'id' => 'my-account-buddypress',
67
- // 'title' => __( 'My Account' ),
68
- // 'group' => true,
69
- // 'meta' => array(
70
- // 'class' => 'ab-sub-secondary'
71
- // )
72
- // ) );
73
global $wp_admin_bar;
74
75
if ( ! function_exists ( "bp_use_wp_admin_bar" ) )
@@ -77,10 +67,8 @@ class RTMediaNav {
77
// Bail if this is an ajax request
78
if ( ! bp_use_wp_admin_bar () || defined ( 'DOING_AJAX' ) )
79
return;
80
-
81
// Only add menu for logged in user
82
if ( is_user_logged_in () ) {
83
-
84
// Add secondary parent item for all BuddyPress components
85
$wp_admin_bar->add_menu ( array(
86
'parent' => 'my-account',
@@ -89,13 +77,6 @@ class RTMediaNav {
89
'href' => trailingslashit ( get_rtmedia_user_link ( get_current_user_id () ) ) . RTMEDIA_MEDIA_SLUG . '/'
90
) );
91
92
- // $wp_admin_bar->add_menu( array(
93
- // 'parent' => 'my-account-' . RTMEDIA_MEDIA_SLUG,
94
- // 'id' => 'my-account-media-' . RTMEDIA_MEDIA_SLUG,
95
- // 'title' => __('Wall Posts','rtmedia'),
96
- // 'href' => trailingslashit( get_rtmedia_user_link( get_current_user_id() ) ) . 'media/'.RTMediaAlbum::get_default().'/'
97
- // ) );
98
-
99
if ( is_rtmedia_album_enable () ) {
100
$wp_admin_bar->add_menu ( array(
101
'parent' => 'my-account-' . RTMEDIA_MEDIA_SLUG,
@@ -140,11 +121,6 @@ class RTMediaNav {
140
//print_r($rtmedia_query->action_query);
141
142
$global_album = '';
143
- // if(isset($rtmedia_query->action_query->id) && $rtmedia_query->action_query->id==RTMediaAlbum::get_default())
144
- // $global_album = 'class = "current selected"';
145
- // echo apply_filters( 'rtmedia_sub_nav_wall_post' ,
146
- // '<li id="rtmedia-nav-item-wall-post-li" ' . $global_album . '><a id="rtmedia-nav-item-wall-post" href="' . trailingslashit( get_rtmedia_user_link( get_current_user_id() ) ) . 'media/' . RTMediaAlbum::get_default() . '/' . '">' . __("Wall Posts","rtmedia") . '</a></li>' );
147
-
148
$albums = '';
149
if ( isset ( $rtmedia_query->action_query->media_type ) && $rtmedia_query->action_query->media_type == 'album' )
150
$albums = 'class="current selected"';
10
11
if ( class_exists ( 'BuddyPress' ) ) {
12
add_action ( 'bp_init', array( $this, 'custom_media_nav_tab' ), 10, 1 );
13
}
14
}
15
48
$group_counts = $this->actual_counts ( $bp->groups->current_group->id, "group" );
49
$bp->bp_options_nav[ bp_get_current_group_slug () ][ 'media' ] = array(
50
'name' => RTMEDIA_MEDIA_LABEL . '<span>' . $group_counts[ 'total' ][ 'all' ] . '</span>',
51
+ 'link' => trailingslashit ( bp_get_root_domain () . '/' . bp_get_groups_root_slug () . '/' . bp_get_current_group_slug () . '/' ) . RTMEDIA_MEDIA_SLUG,
52
'slug' => RTMEDIA_MEDIA_SLUG,
53
'user_has_access' => true,
54
'css_id' => 'rtmedia-media-nav',
60
}
61
62
function admin_nav () {
63
global $wp_admin_bar;
64
65
if ( ! function_exists ( "bp_use_wp_admin_bar" ) )
67
// Bail if this is an ajax request
68
if ( ! bp_use_wp_admin_bar () || defined ( 'DOING_AJAX' ) )
69
return;
70
// Only add menu for logged in user
71
if ( is_user_logged_in () ) {
72
// Add secondary parent item for all BuddyPress components
73
$wp_admin_bar->add_menu ( array(
74
'parent' => 'my-account',
77
'href' => trailingslashit ( get_rtmedia_user_link ( get_current_user_id () ) ) . RTMEDIA_MEDIA_SLUG . '/'
78
) );
79
80
if ( is_rtmedia_album_enable () ) {
81
$wp_admin_bar->add_menu ( array(
82
'parent' => 'my-account-' . RTMEDIA_MEDIA_SLUG,
121
//print_r($rtmedia_query->action_query);
122
123
$global_album = '';
124
$albums = '';
125
if ( isset ( $rtmedia_query->action_query->media_type ) && $rtmedia_query->action_query->media_type == 'album' )
126
$albums = 'class="current selected"';
app/main/controllers/template/rt-template-functions.php CHANGED
@@ -190,12 +190,12 @@ function rtmedia_media ( $size_flag = true, $echo = true, $media_size = "rt_medi
190
} elseif ( $rtmedia_media->media_type == 'video' ) {
191
$size = " width=\"" . $rtmedia->options[ "defaultSizes_video_singlePlayer_width" ] . "\" height=\"" . $rtmedia->options[ "defaultSizes_video_singlePlayer_height" ] . "\" ";
192
193
- $html = '<video src="' . wp_get_attachment_url ( $rtmedia_media->media_id ) . '" ' . $size . ' type="video/mp4" class="wp-video-shortcode" id="bp_media_video_' . $rtmedia_media->id . '" controls="controls" preload="true"></video>';
194
} elseif ( $rtmedia_media->media_type == 'music' ) {
195
$size = ' width="600" height="0" ';
196
if ( ! $size_flag )
197
$size = '';
198
- $html = '<audio src="' . wp_get_attachment_url ( $rtmedia_media->media_id ) . '" ' . $size . ' type="audio/mp3" class="wp-audio-shortcode" id="bp_media_audio_' . $rtmedia_media->id . '" controls="controls" preload="true"></audio>';
199
} else {
200
$html = false;
201
}
@@ -442,6 +442,7 @@ function rtmedia_actions () {
442
foreach ( $actions as $action ) {
443
echo $action;
444
}
445
}
446
447
/**
@@ -796,12 +797,13 @@ function rtmedia_create_album () {
796
}
797
if ( $display === true ) {
798
?>
799
- <button type="button" class="button rtmedia-create-new-album-button"> Create New Album </button>
800
<div class="rtmedia-create-new-album-container">
801
<input type="text" id="rtmedia_album_name" value="" />
802
<input type="hidden" id="rtmedia_album_context" value="<?php echo $rtmedia_query->query[ 'context' ]; ?>">
803
<input type="hidden" id="rtmedia_album_context_id" value="<?php echo $rtmedia_query->query[ 'context_id' ]; ?>">
804
- <button type="button" id="rtmedia_create_new_album">Create Album</button>
805
</div><?php
806
}
807
}
190
} elseif ( $rtmedia_media->media_type == 'video' ) {
191
$size = " width=\"" . $rtmedia->options[ "defaultSizes_video_singlePlayer_width" ] . "\" height=\"" . $rtmedia->options[ "defaultSizes_video_singlePlayer_height" ] . "\" ";
192
193
+ $html = '<video src="' . wp_get_attachment_url ( $rtmedia_media->media_id ) . '" ' . $size . ' type="video/mp4" class="wp-video-shortcode" id="bp_media_video_' . $rtmedia_media->id . '" controls="controls" preload="none"></video>';
194
} elseif ( $rtmedia_media->media_type == 'music' ) {
195
$size = ' width="600" height="0" ';
196
if ( ! $size_flag )
197
$size = '';
198