Video Background - Version 2.6.0

Version Description

  • Fixed: Compatibility issue with IOS 11 and High Sierra
  • Added: Reengineered vidbg scripts for more consistency across websites and faster loading speeds
  • Added: All instances of Video Background are now ran straight from the shortcode for more consistency.
  • Fixed: Compatibility issues in the opacity slider
  • Added: WordPress required version is now 4.2
Download this release

Release Info

Developer blakedotvegas
Plugin Icon 128x128 Video Background
Version 2.6.0
Comparing to
See all releases

Code changes from version 2.5.8 to 2.6.0

Files changed (316) hide show
  1. admin_premium_notice.php +1 -1
  2. candide-vidbg.php +447 -431
  3. css/pushlabs-vidbg.css +33 -0
  4. css/pushlabs-vidbg.scss +37 -0
  5. css/vidbg-style-min.css +1 -0
  6. css/vidbg-style.css +2 -2
  7. framework/cmb2_field_slider.php +0 -24
  8. inc/classes/cmb2_field_slider.php +24 -0
  9. {framework → inc/vendor/cmb2}/CHANGELOG.md +0 -0
  10. {framework → inc/vendor/cmb2}/CONTRIBUTING.md +0 -0
  11. {framework → inc/vendor/cmb2}/bootstrap.php +0 -0
  12. {framework → inc/vendor/cmb2}/css/cmb2-front-rtl.css +0 -0
  13. {framework → inc/vendor/cmb2}/css/cmb2-front-rtl.min.css +0 -0
  14. {framework → inc/vendor/cmb2}/css/cmb2-front.css +0 -0
  15. {framework → inc/vendor/cmb2}/css/cmb2-front.css.map +0 -0
  16. {framework → inc/vendor/cmb2}/css/cmb2-front.min.css +0 -0
  17. {framework → inc/vendor/cmb2}/css/cmb2-rtl.css +0 -0
  18. {framework → inc/vendor/cmb2}/css/cmb2-rtl.min.css +0 -0
  19. {framework → inc/vendor/cmb2}/css/cmb2.css +0 -0
  20. {framework → inc/vendor/cmb2}/css/cmb2.css.map +0 -0
  21. {framework → inc/vendor/cmb2}/css/cmb2.min.css +0 -0
  22. {framework → inc/vendor/cmb2}/css/index.php +0 -0
  23. {framework → inc/vendor/cmb2}/css/sass/cmb2-front.scss +0 -0
  24. {framework → inc/vendor/cmb2}/css/sass/cmb2.scss +0 -0
  25. {framework → inc/vendor/cmb2}/css/sass/index.php +0 -0
  26. {framework → inc/vendor/cmb2}/css/sass/partials/_collapsible_ui.scss +0 -0
  27. {framework → inc/vendor/cmb2}/css/sass/partials/_front.scss +0 -0
  28. {framework → inc/vendor/cmb2}/css/sass/partials/_jquery_ui.scss +0 -0
  29. {framework → inc/vendor/cmb2}/css/sass/partials/_main_wrap.scss +0 -0
  30. {framework → inc/vendor/cmb2}/css/sass/partials/_misc.scss +0 -0
  31. {framework → inc/vendor/cmb2}/css/sass/partials/_mixins.scss +0 -0
  32. {framework → inc/vendor/cmb2}/css/sass/partials/_post_metaboxes.scss +0 -0
  33. {framework → inc/vendor/cmb2}/css/sass/partials/_sidebar_placements.scss +0 -0
  34. {framework → inc/vendor/cmb2}/css/sass/partials/_variables.scss +0 -0
  35. {framework → inc/vendor/cmb2}/css/sass/partials/index.php +0 -0
  36. {framework → inc/vendor/cmb2}/images/ico-delete.png +0 -0
  37. {framework → inc/vendor/cmb2}/images/index.php +0 -0
  38. {framework → inc/vendor/cmb2}/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  39. {framework → inc/vendor/cmb2}/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  40. {framework → inc/vendor/cmb2}/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  41. {framework → inc/vendor/cmb2}/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  42. {framework → inc/vendor/cmb2}/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  43. {framework → inc/vendor/cmb2}/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  44. {framework → inc/vendor/cmb2}/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  45. {framework → inc/vendor/cmb2}/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  46. {framework → inc/vendor/cmb2}/images/ui-icons_222222_256x240.png +0 -0
  47. {framework → inc/vendor/cmb2}/images/ui-icons_2e83ff_256x240.png +0 -0
  48. {framework → inc/vendor/cmb2}/images/ui-icons_454545_256x240.png +0 -0
  49. {framework → inc/vendor/cmb2}/images/ui-icons_888888_256x240.png +0 -0
  50. {framework → inc/vendor/cmb2}/images/ui-icons_cd0a0a_256x240.png +0 -0
  51. {framework → inc/vendor/cmb2}/includes/CMB2.php +0 -0
  52. {framework → inc/vendor/cmb2}/includes/CMB2_Ajax.php +0 -0
  53. {framework → inc/vendor/cmb2}/includes/CMB2_Boxes.php +0 -0
  54. {framework → inc/vendor/cmb2}/includes/CMB2_Field.php +0 -0
  55. {framework → inc/vendor/cmb2}/includes/CMB2_JS.php +0 -0
  56. {framework → inc/vendor/cmb2}/includes/CMB2_Options.php +0 -0
  57. {framework → inc/vendor/cmb2}/includes/CMB2_Sanitize.php +0 -0
  58. {framework → inc/vendor/cmb2}/includes/CMB2_Show_Filters.php +0 -0
  59. {framework → inc/vendor/cmb2}/includes/CMB2_Types.php +0 -0
  60. {framework → inc/vendor/cmb2}/includes/CMB2_Utils.php +0 -0
  61. {framework → inc/vendor/cmb2}/includes/CMB2_hookup.php +0 -0
  62. {framework → inc/vendor/cmb2}/includes/helper-functions.php +0 -0
  63. {framework → inc/vendor/cmb2}/includes/index.php +0 -0
  64. {framework → inc/vendor/cmb2}/index.php +0 -0
  65. {framework → inc/vendor/cmb2}/init.php +0 -0
  66. {framework → inc/vendor/cmb2}/js/cmb2.js +0 -0
  67. {framework → inc/vendor/cmb2}/js/cmb2.min.js +0 -0
  68. {framework → inc/vendor/cmb2}/js/index.php +0 -0
  69. {framework → inc/vendor/cmb2}/js/jquery-ui-timepicker-addon.min.js +0 -0
  70. {framework → inc/vendor/cmb2}/languages/cmb2-ach.mo +0 -0
  71. {framework → inc/vendor/cmb2}/languages/cmb2-ach.po +0 -0
  72. {framework → inc/vendor/cmb2}/languages/cmb2-af.mo +0 -0
  73. {framework → inc/vendor/cmb2}/languages/cmb2-af.po +0 -0
  74. {framework → inc/vendor/cmb2}/languages/cmb2-an.mo +0 -0
  75. {framework → inc/vendor/cmb2}/languages/cmb2-an.po +0 -0
  76. {framework → inc/vendor/cmb2}/languages/cmb2-ar.mo +0 -0
  77. {framework → inc/vendor/cmb2}/languages/cmb2-ar.po +0 -0
  78. {framework → inc/vendor/cmb2}/languages/cmb2-as.mo +0 -0
  79. {framework → inc/vendor/cmb2}/languages/cmb2-as.po +0 -0
  80. {framework → inc/vendor/cmb2}/languages/cmb2-az.mo +0 -0
  81. {framework → inc/vendor/cmb2}/languages/cmb2-az.po +0 -0
  82. {framework → inc/vendor/cmb2}/languages/cmb2-be.mo +0 -0
  83. {framework → inc/vendor/cmb2}/languages/cmb2-be.po +0 -0
  84. {framework → inc/vendor/cmb2}/languages/cmb2-bg.mo +0 -0
  85. {framework → inc/vendor/cmb2}/languages/cmb2-bg.po +0 -0
  86. {framework → inc/vendor/cmb2}/languages/cmb2-bg_BG.mo +0 -0
  87. {framework → inc/vendor/cmb2}/languages/cmb2-bg_BG.po +0 -0
  88. {framework → inc/vendor/cmb2}/languages/cmb2-bn_BD.mo +0 -0
  89. {framework → inc/vendor/cmb2}/languages/cmb2-bn_BD.po +0 -0
  90. {framework → inc/vendor/cmb2}/languages/cmb2-br.mo +0 -0
  91. {framework → inc/vendor/cmb2}/languages/cmb2-br.po +0 -0
  92. {framework → inc/vendor/cmb2}/languages/cmb2-bs.mo +0 -0
  93. {framework → inc/vendor/cmb2}/languages/cmb2-bs.po +0 -0
  94. {framework → inc/vendor/cmb2}/languages/cmb2-bs_BA.mo +0 -0
  95. {framework → inc/vendor/cmb2}/languages/cmb2-bs_BA.po +0 -0
  96. {framework → inc/vendor/cmb2}/languages/cmb2-ca.mo +0 -0
  97. {framework → inc/vendor/cmb2}/languages/cmb2-ca.po +0 -0
  98. {framework → inc/vendor/cmb2}/languages/cmb2-co.mo +0 -0
  99. {framework → inc/vendor/cmb2}/languages/cmb2-co.po +0 -0
  100. {framework → inc/vendor/cmb2}/languages/cmb2-cs_CZ.mo +0 -0
  101. {framework → inc/vendor/cmb2}/languages/cmb2-cs_CZ.po +0 -0
  102. {framework → inc/vendor/cmb2}/languages/cmb2-cy.mo +0 -0
  103. {framework → inc/vendor/cmb2}/languages/cmb2-cy.po +0 -0
  104. {framework → inc/vendor/cmb2}/languages/cmb2-da_DK.mo +0 -0
  105. {framework → inc/vendor/cmb2}/languages/cmb2-da_DK.po +0 -0
  106. {framework → inc/vendor/cmb2}/languages/cmb2-de_AT.mo +0 -0
  107. {framework → inc/vendor/cmb2}/languages/cmb2-de_AT.po +0 -0
  108. {framework → inc/vendor/cmb2}/languages/cmb2-de_CH.mo +0 -0
  109. {framework → inc/vendor/cmb2}/languages/cmb2-de_CH.po +0 -0
  110. {framework → inc/vendor/cmb2}/languages/cmb2-de_DE.mo +0 -0
  111. {framework → inc/vendor/cmb2}/languages/cmb2-de_DE.po +0 -0
  112. {framework → inc/vendor/cmb2}/languages/cmb2-dv.mo +0 -0
  113. {framework → inc/vendor/cmb2}/languages/cmb2-dv.po +0 -0
  114. {framework → inc/vendor/cmb2}/languages/cmb2-el.mo +0 -0
  115. {framework → inc/vendor/cmb2}/languages/cmb2-el.po +0 -0
  116. {framework → inc/vendor/cmb2}/languages/cmb2-en@pirate.mo +0 -0
  117. {framework → inc/vendor/cmb2}/languages/cmb2-en@pirate.po +0 -0
  118. {framework → inc/vendor/cmb2}/languages/cmb2-en_AU.mo +0 -0
  119. {framework → inc/vendor/cmb2}/languages/cmb2-en_AU.po +0 -0
  120. {framework → inc/vendor/cmb2}/languages/cmb2-en_CA.mo +0 -0
  121. {framework → inc/vendor/cmb2}/languages/cmb2-en_CA.po +0 -0
  122. {framework → inc/vendor/cmb2}/languages/cmb2-en_GB.mo +0 -0
  123. {framework → inc/vendor/cmb2}/languages/cmb2-en_GB.po +0 -0
  124. {framework → inc/vendor/cmb2}/languages/cmb2-eo.mo +0 -0
  125. {framework → inc/vendor/cmb2}/languages/cmb2-eo.po +0 -0
  126. {framework → inc/vendor/cmb2}/languages/cmb2-es_AR.mo +0 -0
  127. {framework → inc/vendor/cmb2}/languages/cmb2-es_AR.po +0 -0
  128. {framework → inc/vendor/cmb2}/languages/cmb2-es_CL.mo +0 -0
  129. {framework → inc/vendor/cmb2}/languages/cmb2-es_CL.po +0 -0
  130. {framework → inc/vendor/cmb2}/languages/cmb2-es_CO.mo +0 -0
  131. {framework → inc/vendor/cmb2}/languages/cmb2-es_CO.po +0 -0
  132. {framework → inc/vendor/cmb2}/languages/cmb2-es_ES.mo +0 -0
  133. {framework → inc/vendor/cmb2}/languages/cmb2-es_ES.po +0 -0
  134. {framework → inc/vendor/cmb2}/languages/cmb2-es_MX.mo +0 -0
  135. {framework → inc/vendor/cmb2}/languages/cmb2-es_MX.po +0 -0
  136. {framework → inc/vendor/cmb2}/languages/cmb2-es_PE.mo +0 -0
  137. {framework → inc/vendor/cmb2}/languages/cmb2-es_PE.po +0 -0
  138. {framework → inc/vendor/cmb2}/languages/cmb2-es_VE.mo +0 -0
  139. {framework → inc/vendor/cmb2}/languages/cmb2-es_VE.po +0 -0
  140. {framework → inc/vendor/cmb2}/languages/cmb2-et.mo +0 -0
  141. {framework → inc/vendor/cmb2}/languages/cmb2-et.po +0 -0
  142. {framework → inc/vendor/cmb2}/languages/cmb2-eu.mo +0 -0
  143. {framework → inc/vendor/cmb2}/languages/cmb2-eu.po +0 -0
  144. {framework → inc/vendor/cmb2}/languages/cmb2-fa.mo +0 -0
  145. {framework → inc/vendor/cmb2}/languages/cmb2-fa.po +0 -0
  146. {framework → inc/vendor/cmb2}/languages/cmb2-fa_IR.mo +0 -0
  147. {framework → inc/vendor/cmb2}/languages/cmb2-fa_IR.po +0 -0
  148. {framework → inc/vendor/cmb2}/languages/cmb2-fi.mo +0 -0
  149. {framework → inc/vendor/cmb2}/languages/cmb2-fi.po +0 -0
  150. {framework → inc/vendor/cmb2}/languages/cmb2-fo.mo +0 -0
  151. {framework → inc/vendor/cmb2}/languages/cmb2-fo.po +0 -0
  152. {framework → inc/vendor/cmb2}/languages/cmb2-fr_BE.mo +0 -0
  153. {framework → inc/vendor/cmb2}/languages/cmb2-fr_BE.po +0 -0
  154. {framework → inc/vendor/cmb2}/languages/cmb2-fr_CA.mo +0 -0
  155. {framework → inc/vendor/cmb2}/languages/cmb2-fr_CA.po +0 -0
  156. {framework → inc/vendor/cmb2}/languages/cmb2-fr_FR.mo +0 -0
  157. {framework → inc/vendor/cmb2}/languages/cmb2-fr_FR.po +0 -0
  158. {framework → inc/vendor/cmb2}/languages/cmb2-fy.mo +0 -0
  159. {framework → inc/vendor/cmb2}/languages/cmb2-fy.po +0 -0
  160. {framework → inc/vendor/cmb2}/languages/cmb2-ga.mo +0 -0
  161. {framework → inc/vendor/cmb2}/languages/cmb2-ga.po +0 -0
  162. {framework → inc/vendor/cmb2}/languages/cmb2-gd.mo +0 -0
  163. {framework → inc/vendor/cmb2}/languages/cmb2-gd.po +0 -0
  164. {framework → inc/vendor/cmb2}/languages/cmb2-gl_ES.mo +0 -0
  165. {framework → inc/vendor/cmb2}/languages/cmb2-gl_ES.po +0 -0
  166. {framework → inc/vendor/cmb2}/languages/cmb2-gu_IN.mo +0 -0
  167. {framework → inc/vendor/cmb2}/languages/cmb2-gu_IN.po +0 -0
  168. {framework → inc/vendor/cmb2}/languages/cmb2-he_IL.mo +0 -0
  169. {framework → inc/vendor/cmb2}/languages/cmb2-he_IL.po +0 -0
  170. {framework → inc/vendor/cmb2}/languages/cmb2-hi_IN.mo +0 -0
  171. {framework → inc/vendor/cmb2}/languages/cmb2-hi_IN.po +0 -0
  172. {framework → inc/vendor/cmb2}/languages/cmb2-hr.mo +0 -0
  173. {framework → inc/vendor/cmb2}/languages/cmb2-hr.po +0 -0
  174. {framework → inc/vendor/cmb2}/languages/cmb2-hu_HU.mo +0 -0
  175. {framework → inc/vendor/cmb2}/languages/cmb2-hu_HU.po +0 -0
  176. {framework → inc/vendor/cmb2}/languages/cmb2-hy.mo +0 -0
  177. {framework → inc/vendor/cmb2}/languages/cmb2-hy.po +0 -0
  178. {framework → inc/vendor/cmb2}/languages/cmb2-id_ID.mo +0 -0
  179. {framework → inc/vendor/cmb2}/languages/cmb2-id_ID.po +0 -0
  180. {framework → inc/vendor/cmb2}/languages/cmb2-is_IS.mo +0 -0
  181. {framework → inc/vendor/cmb2}/languages/cmb2-is_IS.po +0 -0
  182. {framework → inc/vendor/cmb2}/languages/cmb2-it_IT.mo +0 -0
  183. {framework → inc/vendor/cmb2}/languages/cmb2-it_IT.po +0 -0
  184. {framework → inc/vendor/cmb2}/languages/cmb2-ja.mo +0 -0
  185. {framework → inc/vendor/cmb2}/languages/cmb2-ja.po +0 -0
  186. {framework → inc/vendor/cmb2}/languages/cmb2-jv.mo +0 -0
  187. {framework → inc/vendor/cmb2}/languages/cmb2-jv.po +0 -0
  188. {framework → inc/vendor/cmb2}/languages/cmb2-ka.mo +0 -0
  189. {framework → inc/vendor/cmb2}/languages/cmb2-ka.po +0 -0
  190. {framework → inc/vendor/cmb2}/languages/cmb2-ka_GE.mo +0 -0
  191. {framework → inc/vendor/cmb2}/languages/cmb2-ka_GE.po +0 -0
  192. {framework → inc/vendor/cmb2}/languages/cmb2-kk.mo +0 -0
  193. {framework → inc/vendor/cmb2}/languages/cmb2-kk.po +0 -0
  194. {framework → inc/vendor/cmb2}/languages/cmb2-km.mo +0 -0
  195. {framework → inc/vendor/cmb2}/languages/cmb2-km.po +0 -0
  196. {framework → inc/vendor/cmb2}/languages/cmb2-kn.mo +0 -0
  197. {framework → inc/vendor/cmb2}/languages/cmb2-kn.po +0 -0
  198. {framework → inc/vendor/cmb2}/languages/cmb2-ko_KR.mo +0 -0
  199. {framework → inc/vendor/cmb2}/languages/cmb2-ko_KR.po +0 -0
  200. {framework → inc/vendor/cmb2}/languages/cmb2-ku.mo +0 -0
  201. {framework → inc/vendor/cmb2}/languages/cmb2-ku.po +0 -0
  202. {framework → inc/vendor/cmb2}/languages/cmb2-ky.mo +0 -0
  203. {framework → inc/vendor/cmb2}/languages/cmb2-ky.po +0 -0
  204. {framework → inc/vendor/cmb2}/languages/cmb2-lo.mo +0 -0
  205. {framework → inc/vendor/cmb2}/languages/cmb2-lo.po +0 -0
  206. {framework → inc/vendor/cmb2}/languages/cmb2-lt_LT.mo +0 -0
  207. {framework → inc/vendor/cmb2}/languages/cmb2-lt_LT.po +0 -0
  208. {framework → inc/vendor/cmb2}/languages/cmb2-lv.mo +0 -0
  209. {framework → inc/vendor/cmb2}/languages/cmb2-lv.po +0 -0
  210. {framework → inc/vendor/cmb2}/languages/cmb2-mg.mo +0 -0
  211. {framework → inc/vendor/cmb2}/languages/cmb2-mg.po +0 -0
  212. {framework → inc/vendor/cmb2}/languages/cmb2-mk_MK.mo +0 -0
  213. {framework → inc/vendor/cmb2}/languages/cmb2-mk_MK.po +0 -0
  214. {framework → inc/vendor/cmb2}/languages/cmb2-mn.mo +0 -0
  215. {framework → inc/vendor/cmb2}/languages/cmb2-mn.po +0 -0
  216. {framework → inc/vendor/cmb2}/languages/cmb2-mr.mo +0 -0
  217. {framework → inc/vendor/cmb2}/languages/cmb2-mr.po +0 -0
  218. {framework → inc/vendor/cmb2}/languages/cmb2-ms_MY.mo +0 -0
  219. {framework → inc/vendor/cmb2}/languages/cmb2-ms_MY.po +0 -0
  220. {framework → inc/vendor/cmb2}/languages/cmb2-my_MM.mo +0 -0
  221. {framework → inc/vendor/cmb2}/languages/cmb2-my_MM.po +0 -0
  222. {framework → inc/vendor/cmb2}/languages/cmb2-nb_NO.mo +0 -0
  223. {framework → inc/vendor/cmb2}/languages/cmb2-nb_NO.po +0 -0
  224. {framework → inc/vendor/cmb2}/languages/cmb2-ne_NP.mo +0 -0
  225. {framework → inc/vendor/cmb2}/languages/cmb2-ne_NP.po +0 -0
  226. {framework → inc/vendor/cmb2}/languages/cmb2-nl_BE.mo +0 -0
  227. {framework → inc/vendor/cmb2}/languages/cmb2-nl_BE.po +0 -0
  228. {framework → inc/vendor/cmb2}/languages/cmb2-nl_NL.mo +0 -0
  229. {framework → inc/vendor/cmb2}/languages/cmb2-nl_NL.po +0 -0
  230. {framework → inc/vendor/cmb2}/languages/cmb2-nn_NO.mo +0 -0
  231. {framework → inc/vendor/cmb2}/languages/cmb2-nn_NO.po +0 -0
  232. {framework → inc/vendor/cmb2}/languages/cmb2-oc.mo +0 -0
  233. {framework → inc/vendor/cmb2}/languages/cmb2-oc.po +0 -0
  234. {framework → inc/vendor/cmb2}/languages/cmb2-os.mo +0 -0
  235. {framework → inc/vendor/cmb2}/languages/cmb2-os.po +0 -0
  236. {framework → inc/vendor/cmb2}/languages/cmb2-pap.mo +0 -0
  237. {framework → inc/vendor/cmb2}/languages/cmb2-pap.po +0 -0
  238. {framework → inc/vendor/cmb2}/languages/cmb2-pl_PL.mo +0 -0
  239. {framework → inc/vendor/cmb2}/languages/cmb2-pl_PL.po +0 -0
  240. {framework → inc/vendor/cmb2}/languages/cmb2-ps.mo +0 -0
  241. {framework → inc/vendor/cmb2}/languages/cmb2-ps.po +0 -0
  242. {framework → inc/vendor/cmb2}/languages/cmb2-pt_BR.mo +0 -0
  243. {framework → inc/vendor/cmb2}/languages/cmb2-pt_BR.po +0 -0
  244. {framework → inc/vendor/cmb2}/languages/cmb2-pt_PT.mo +0 -0
  245. {framework → inc/vendor/cmb2}/languages/cmb2-pt_PT.po +0 -0
  246. {framework → inc/vendor/cmb2}/languages/cmb2-ro_RO.mo +0 -0
  247. {framework → inc/vendor/cmb2}/languages/cmb2-ro_RO.po +0 -0
  248. {framework → inc/vendor/cmb2}/languages/cmb2-ru_RU.mo +0 -0
  249. {framework → inc/vendor/cmb2}/languages/cmb2-ru_RU.po +0 -0
  250. {framework → inc/vendor/cmb2}/languages/cmb2-sa.mo +0 -0
  251. {framework → inc/vendor/cmb2}/languages/cmb2-sa.po +0 -0
  252. {framework → inc/vendor/cmb2}/languages/cmb2-sah.mo +0 -0
  253. {framework → inc/vendor/cmb2}/languages/cmb2-sah.po +0 -0
  254. {framework → inc/vendor/cmb2}/languages/cmb2-si_LK.mo +0 -0
  255. {framework → inc/vendor/cmb2}/languages/cmb2-si_LK.po +0 -0
  256. {framework → inc/vendor/cmb2}/languages/cmb2-sk_SK.mo +0 -0
  257. {framework → inc/vendor/cmb2}/languages/cmb2-sk_SK.po +0 -0
  258. {framework → inc/vendor/cmb2}/languages/cmb2-sl_SI.mo +0 -0
  259. {framework → inc/vendor/cmb2}/languages/cmb2-sl_SI.po +0 -0
  260. {framework → inc/vendor/cmb2}/languages/cmb2-so.mo +0 -0
  261. {framework → inc/vendor/cmb2}/languages/cmb2-so.po +0 -0
  262. {framework → inc/vendor/cmb2}/languages/cmb2-sq.mo +0 -0
  263. {framework → inc/vendor/cmb2}/languages/cmb2-sq.po +0 -0
  264. {framework → inc/vendor/cmb2}/languages/cmb2-sr_RS.mo +0 -0
  265. {framework → inc/vendor/cmb2}/languages/cmb2-sr_RS.po +0 -0
  266. {framework → inc/vendor/cmb2}/languages/cmb2-su.mo +0 -0
  267. {framework → inc/vendor/cmb2}/languages/cmb2-su.po +0 -0
  268. {framework → inc/vendor/cmb2}/languages/cmb2-sv_SE.mo +0 -0
  269. {framework → inc/vendor/cmb2}/languages/cmb2-sv_SE.po +0 -0
  270. {framework → inc/vendor/cmb2}/languages/cmb2-sw.mo +0 -0
  271. {framework → inc/vendor/cmb2}/languages/cmb2-sw.po +0 -0
  272. {framework → inc/vendor/cmb2}/languages/cmb2-ta_IN.mo +0 -0
  273. {framework → inc/vendor/cmb2}/languages/cmb2-ta_IN.po +0 -0
  274. {framework → inc/vendor/cmb2}/languages/cmb2-ta_LK.mo +0 -0
  275. {framework → inc/vendor/cmb2}/languages/cmb2-ta_LK.po +0 -0
  276. {framework → inc/vendor/cmb2}/languages/cmb2-te.mo +0 -0
  277. {framework → inc/vendor/cmb2}/languages/cmb2-te.po +0 -0
  278. {framework → inc/vendor/cmb2}/languages/cmb2-tg.mo +0 -0
  279. {framework → inc/vendor/cmb2}/languages/cmb2-tg.po +0 -0
  280. {framework → inc/vendor/cmb2}/languages/cmb2-th.mo +0 -0
  281. {framework → inc/vendor/cmb2}/languages/cmb2-th.po +0 -0
  282. {framework → inc/vendor/cmb2}/languages/cmb2-tk_TM.mo +0 -0
  283. {framework → inc/vendor/cmb2}/languages/cmb2-tk_TM.po +0 -0
  284. {framework → inc/vendor/cmb2}/languages/cmb2-tl.mo +0 -0
  285. {framework → inc/vendor/cmb2}/languages/cmb2-tl.po +0 -0
  286. {framework → inc/vendor/cmb2}/languages/cmb2-tr_TR.mo +0 -0
  287. {framework → inc/vendor/cmb2}/languages/cmb2-tr_TR.po +0 -0
  288. {framework → inc/vendor/cmb2}/languages/cmb2-tzm.mo +0 -0
  289. {framework → inc/vendor/cmb2}/languages/cmb2-tzm.po +0 -0
  290. {framework → inc/vendor/cmb2}/languages/cmb2-ug.mo +0 -0
  291. {framework → inc/vendor/cmb2}/languages/cmb2-ug.po +0 -0
  292. {framework → inc/vendor/cmb2}/languages/cmb2-uk.mo +0 -0
  293. {framework → inc/vendor/cmb2}/languages/cmb2-uk.po +0 -0
  294. {framework → inc/vendor/cmb2}/languages/cmb2-ur.mo +0 -0
  295. {framework → inc/vendor/cmb2}/languages/cmb2-ur.po +0 -0
  296. {framework → inc/vendor/cmb2}/languages/cmb2-ur_PK.mo +0 -0
  297. {framework → inc/vendor/cmb2}/languages/cmb2-ur_PK.po +0 -0
  298. {framework → inc/vendor/cmb2}/languages/cmb2-uz.mo +0 -0
  299. {framework → inc/vendor/cmb2}/languages/cmb2-uz.po +0 -0
  300. {framework → inc/vendor/cmb2}/languages/cmb2-vi.mo +0 -0
  301. {framework → inc/vendor/cmb2}/languages/cmb2-vi.po +0 -0
  302. {framework → inc/vendor/cmb2}/languages/cmb2-zh_CN.mo +0 -0
  303. {framework → inc/vendor/cmb2}/languages/cmb2-zh_CN.po +0 -0
  304. {framework → inc/vendor/cmb2}/languages/cmb2-zh_HK.mo +0 -0
  305. {framework → inc/vendor/cmb2}/languages/cmb2-zh_HK.po +0 -0
  306. {framework → inc/vendor/cmb2}/languages/cmb2-zh_TW.mo +0 -0
  307. {framework → inc/vendor/cmb2}/languages/cmb2-zh_TW.po +0 -0
  308. {framework → inc/vendor/cmb2}/languages/cmb2.pot +0 -0
  309. js/dist/index.php +0 -2
  310. js/dist/vidbg.min.js +0 -6
  311. js/vidbg-backend-min.js +73 -0
  312. js/vidbg-backend.js +4 -4
  313. js/vidbg.js +315 -0
  314. js/vidbg.min.js +6 -0
  315. languages/video-background.pot +172 -125
  316. readme.txt +12 -6
admin_premium_notice.php CHANGED
@@ -8,7 +8,7 @@
8
  */
9
  function vidbg_premium_notice() {
10
  $class = 'notice notice-success vidbg-premium-notice is-dismissible';
11
- $message = __( 'Digital agencies and web developers rejoice! Video Background Pro now offers multi-site licenses! <a href="http://pushlabs.co/video-background-pro" rel="nofollow" target="_blank">Check out Video Background Pro!</a>', 'video-background' );
12
  $is_dismissed = get_option( 'vidbgpro-notice-dismissed' );
13
 
14
  if( empty( $is_dismissed ) ) {
8
  */
9
  function vidbg_premium_notice() {
10
  $class = 'notice notice-success vidbg-premium-notice is-dismissible';
11
+ $message = __( 'Video Background Pro now plays video backgrounds on supported mobile devices! <a href="http://pushlabs.co/video-background-pro" rel="nofollow" target="_blank">Check out Video Background Pro</a>', 'video-background' );
12
  $is_dismissed = get_option( 'vidbgpro-notice-dismissed' );
13
 
14
  if( empty( $is_dismissed ) ) {
candide-vidbg.php CHANGED
@@ -1,26 +1,26 @@
1
  <?php
2
  /*
3
  Plugin Name: Video Background
4
- Plugin URI: http://blakewilson.me/projects/video-background/
5
- Description: jQuery WordPress plugin to easily assign a video background to any element. Awesome.
6
- Author: Blake Wilson
7
- Version: 2.5.8
8
- Author URI: http://blakewilson.me
9
- Donate Link: http://paypal.me/blakewilsonme
10
  Text Domain: video-background
11
  Domain Path: /languages
12
  */
13
 
14
- /**
15
- * Include the metabox framework
16
- */
17
- if ( file_exists( dirname( __FILE__ ) . '/framework/init.php' ) ) {
18
- require_once dirname( __FILE__ ) . '/framework/init.php';
19
- }
20
- if ( file_exists( dirname( __FILE__ ) . '/framework/cmb2_field_slider.php' ) ) {
21
- require_once dirname( __FILE__ ) . '/framework/cmb2_field_slider.php';
22
  }
23
 
 
 
 
 
 
 
24
  /**
25
  * Install the plugin
26
  * deactivate vidbgpro if installed
@@ -32,14 +32,42 @@ if ( file_exists( dirname( __FILE__ ) . '/framework/cmb2_field_slider.php' ) ) {
32
  * @uses delete_option()
33
  */
34
  function vidbg_install_plugin() {
35
- if( is_plugin_active( 'video-background-pro/vidbgpro.php') ) {
36
- deactivate_plugins( 'video-background-pro/vidbgpro.php' );
37
- }
38
- delete_option( 'vidbgpro-notice-dismissed' );
39
- delete_option( 'vidbg_disable_pro_fields' );
40
  }
41
  register_activation_hook( __FILE__, 'vidbg_install_plugin' );
42
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  /**
44
  * Load plugin textdomain.
45
  *
@@ -49,12 +77,13 @@ register_activation_hook( __FILE__, 'vidbg_install_plugin' );
49
  * @uses plugin_basename()
50
  */
51
  function vidbg_load_textdomain() {
52
- load_plugin_textdomain( 'video-background', false, plugin_basename( dirname( __FILE__ ) ) . '/languages' );
53
  }
54
  add_action( 'plugins_loaded', 'vidbg_load_textdomain' );
55
 
56
  /**
57
  * Enqueue backend style and script
 
58
  *
59
  * @since 2.1.4
60
  *
@@ -63,29 +92,31 @@ add_action( 'plugins_loaded', 'vidbg_load_textdomain' );
63
  * @uses wp_enqueue_script()
64
  * @uses plugin_dir_url()
65
  */
66
- function vidbg_metabox_scripts() {
67
- wp_enqueue_style('vidbg-metabox-style', plugins_url('/css/vidbg-style.css', __FILE__));
68
- wp_enqueue_script( 'vidbg-admin-backend', plugin_dir_url( __FILE__ ) . '/js/vidbg-backend.js' );
69
-
70
- wp_localize_script( 'vidbg-admin-backend', 'vidbg_localized_text', array(
71
- 'show_advanced' => __( 'Show Advanced Options', 'video-background' ),
72
- 'hide_advanced' => __( 'Hide Advanced Options', 'video-background' ),
73
- ) );
74
  }
75
- add_action('admin_enqueue_scripts', 'vidbg_metabox_scripts');
76
 
77
  /**
78
  * Enqueue vidbg jquery script
 
79
  *
80
  * @since 2.0.0
81
  *
82
  * @uses wp_enqueue_script()
83
  * @uses plugins_url()
84
  */
85
- function vidbg_jquery() {
86
- wp_register_script( 'vidbg-video-background', plugins_url('/js/dist/vidbg.min.js', __FILE__), array('jquery'), '1.1', true);
 
87
  }
88
- add_action( 'wp_enqueue_scripts', 'vidbg_jquery' );
89
 
90
  /**
91
  * Add custom color palette
@@ -93,13 +124,45 @@ add_action( 'wp_enqueue_scripts', 'vidbg_jquery' );
93
  * @since 2.5.0
94
  */
95
  function vidbg_default_color_palette( $l10n ) {
96
- $l10n['defaults']['color_picker'] = array(
97
- 'palettes' => array( '#000000', '#3498db', '#e74c3c', '#374e64', '#2ecc71', '#f1c40f' ),
98
- );
99
- return $l10n;
100
  }
101
  add_filter( 'cmb2_localized_data', 'vidbg_default_color_palette' );
102
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
103
  /**
104
  * Helper function to output disabled Video Background Pro fields
105
  *
@@ -109,41 +172,41 @@ add_filter( 'cmb2_localized_data', 'vidbg_default_color_palette' );
109
  */
110
  function vidbg_disabled_pro_field( $field_name = 'Blank Pro', $field_id = 'pro_blank', $field_type = 'input', $field_description = '' ) {
111
 
112
- $output = '';
113
- $options = get_option( 'vidbg_disable_pro_fields' );
114
-
115
- if ( ! $options ) {
116
- if ( $field_type === 'input' ) {
117
- $field_class = 'cmb-row cmb-type-text cmb2-id-pro-disabled-field-' . $field_id . ' table-layout';
118
- } elseif ( $field_type === 'radio' ) {
119
- $field_class = 'cmb-row cmb-type-radio-inline cmb2-id-pro-disabled-field-' . $field_id . ' cmb-inline';
120
- }
121
-
122
- $output .= '<div class="' . $field_class . '">';
123
- $output .= '<div class="cmb-th"><label for="pro_disabled_' . $field_id . '">' . $field_name . '</label></div>';
124
- $output .= '<div class="cmb-td">';
125
-
126
- if ( $field_type === 'input' ) {
127
- $output .= '<input type="text" class="regular-text" name="pro_disabled_' . $field_id . '" id="' . $field_id . '" disabled>';
128
- }
129
-
130
- if ( $field_type === 'radio' ) {
131
- $output .= '<ul class="cmb2-radio-list cmb2-list">';
132
- $output .= '<li><input type="radio" value="off" class="cmb2-option" name="pro_disabled_' . $field_id . '" id="pro_disabled_' . $field_id . '1" checked="checked" disabled> <label for="pro_disabled_' . $field_id . '1">Off</label></li>';
133
- $output .= '<li><input type="radio" class="cmb2-option" name="pro_disabled_' . $field_id . '" id="pro_disabled_' . $field_id . '2" value="on" disabled> <label for="pro_disabled_' . $field_id . '2">On</label></li>';
134
- $output .= '</ul>';
135
- }
136
-
137
- if ( $field_id === 'overlay_texture' ) {
138
- $output .= '<input class="cmb2-upload-button button" type="button" value="Upload Overlay Texture" disabled="">';
139
- }
140
-
141
- $output .= '<p class="cmb2-metabox-description">' . $field_description . '</p>';
142
- $output .= '</div>';
143
- $output .= '</div>';
144
- }
145
-
146
- return $output;
147
  }
148
 
149
  /**
@@ -157,142 +220,163 @@ function vidbg_disabled_pro_field( $field_name = 'Blank Pro', $field_id = 'pro_b
157
  * @uses vidbg_disabled_pro_field()
158
  */
159
  function vidbg_register_metabox() {
160
- $prefix = 'vidbg_metabox_field_';
161
- $post_types = array( 'post', 'page' );
162
-
163
- /**
164
- * Allow the post types to be filtered out
165
- */
166
- $post_types = apply_filters( 'vidbg_post_types', $post_types );
167
-
168
- $vidbg_metabox = new_cmb2_box( array(
169
- 'id' => 'vidbg-metabox',
170
- 'title' => __( 'Video Background', 'video-background' ),
171
- 'object_types' => $post_types,
172
- 'context' => 'normal',
173
- 'priority' => 'high',
174
- ) );
175
-
176
- $vidbg_metabox->add_field( array(
177
- 'name' => __( 'Container', 'video-background' ),
178
- 'desc' => __( 'Please specify the container you would like your video background to be in.<br>ex: <code>.header</code> or <code>body</code>', 'video-background' ),
179
- 'id' => $prefix . 'container',
180
- 'type' => 'text',
181
- 'after_row' => vidbg_disabled_pro_field(
182
- __( 'YouTube Link', 'video-background' ),
183
- 'youtube_link',
184
- 'input',
185
- __( 'To create YouTube video backgrounds, <a href="http://pushlabs.co/video-background-pro" rel="nofollow" target="_blank">please download the pro version!</a>', 'video-background' )
186
- ),
187
- ) );
188
-
189
- $vidbg_metabox->add_field( array(
190
- 'name' => __( 'Link to .mp4', 'video-background' ),
191
- 'desc' => __( 'Please specify the link to the .mp4 file. You can either enter a URL or upload a file.<br>For browser compatability, please enter an .mp4 and .webm file for video backgrounds.', 'video-background' ),
192
- 'id' => $prefix . 'mp4',
193
- 'type' => 'file',
194
- 'options' => array(
195
- 'add_upload_file_text' => __( 'Upload .mp4 file', 'video-background' ),
196
- ),
197
- ) );
198
-
199
- $vidbg_metabox->add_field( array(
200
- 'name' => __( 'Link to .webm', 'video-background' ),
201
- 'desc' => __( 'Please specify the link to the .webm file. You can either enter a URL or upload a file.<br>For browser compatability, please enter an .mp4 and .webm file for video backgrounds.', 'video-background' ),
202
- 'id' => $prefix . 'webm',
203
- 'type' => 'file',
204
- 'options' => array(
205
- 'add_upload_file_text' => __( 'Upload .webm file', 'video-background' ),
206
- ),
207
- ) );
208
-
209
- $vidbg_metabox->add_field( array(
210
- 'name' => __( 'Link to fallback image', 'video-background' ),
211
- 'desc' => __( 'Please specify a link to the fallback image in case the browser does not support video backgrounds. You can either enter a URL or upload a file.', 'video-background' ),
212
- 'id' => $prefix . 'poster',
213
- 'type' => 'file',
214
- 'options' => array(
215
- 'add_upload_file_text' => __( 'Upload fallback image', 'video-background' ),
216
- ),
217
- ) );
218
-
219
- $vidbg_metabox->add_field( array(
220
- 'name' => __( 'Overlay', 'video-background' ),
221
- 'desc' => __( 'Add an overlay over the video. This is useful if your text isn\'t readable with a video background.', 'video-background' ),
222
- 'id' => $prefix . 'overlay',
223
- 'type' => 'radio_inline',
224
- 'default' => 'off',
225
- 'options' => array(
226
- 'off' => __( 'Off', 'video-background' ),
227
- 'on' => __( 'On', 'video-background' ),
228
- ),
229
- 'before_row' => '<div id="vidbg_advanced_options">',
230
- ) );
231
-
232
- $vidbg_metabox->add_field( array(
233
- 'name' => __( 'Overlay Color', 'video-background' ),
234
- 'desc' => __( 'If overlay is enabled, a color will be used for the overlay. You can specify the color here.', 'video-background' ),
235
- 'id' => $prefix . 'overlay_color',
236
- 'type' => 'colorpicker',
237
- 'default' => '#000',
238
- ) );
239
-
240
- $vidbg_metabox->add_field( array(
241
- 'name' => __( 'Overlay Opacity', 'video-background' ),
242
- 'desc' => __( 'Specify the opacity of the overlay with the left being mostly transparent and the right being hardly transparent.', 'video-background' ),
243
- 'id' => $prefix . 'overlay_alpha',
244
- 'type' => 'own_slider',
245
- 'min' => '10',
246
- 'max' => '99',
247
- 'default' => '30',
248
- 'after_row' => vidbg_disabled_pro_field(
249
- __( 'Overlay Texture', 'video-background' ),
250
- 'overlay_texture',
251
- 'input',
252
- __( 'To add overlay textures to your video background, <a href="http://pushlabs.co/video-background-pro" rel="nofollow" target="_blank">please download the pro version!</a>', 'video-background' )
253
- ),
254
- ) );
255
-
256
- $vidbg_metabox->add_field( array(
257
- 'name' => __( 'Turn off loop?', 'video-background' ),
258
- 'desc' => __( 'Turn off the loop for Video Background. Once the video is complete, it will display the last frame of the video.', 'video-background' ),
259
- 'id' => $prefix . 'no_loop',
260
- 'type' => 'radio_inline',
261
- 'default' => 'off',
262
- 'options' => array(
263
- 'off' => __( 'Off', 'video-background' ),
264
- 'on' => __( 'On', 'video-background' ),
265
- ),
266
- ) );
267
-
268
- $vidbg_metabox->add_field( array(
269
- 'name' => __( 'Play the audio?', 'video-background' ),
270
- 'desc' => __( 'Enabling this will play the audio of the video.', 'video-background' ),
271
- 'id' => $prefix . 'unmute',
272
- 'type' => 'radio_inline',
273
- 'default' => 'off',
274
- 'options' => array(
275
- 'off' => __( 'Off', 'video-background' ),
276
- 'on' => __( 'On', 'video-background' ),
277
- ),
278
- 'after_row' => vidbg_disabled_pro_field(
279
- __( 'Enable Play/Pause button', 'video-background' ),
280
- 'play_button',
281
- 'radio',
282
- __( 'To enable a play/pause button on the frontend, <a href="http://pushlabs.co/video-background-pro" rel="nofollow" target="_blank">please download the pro version!</a>', 'video-background' )
283
- ) . vidbg_disabled_pro_field(
284
- __( 'Enable Mute/Unmute button', 'video-background' ),
285
- 'volume_button',
286
- 'radio',
287
- __( 'To enable a mute/unmute button on the frontend, <a href="http://pushlabs.co/video-background-pro" rel="nofollow" target="_blank">please download the pro version!</a>', 'video-background' )
288
- ) . '</div>',
289
- ) );
290
-
291
- $vidbg_metabox->add_field( array(
292
- 'before_field' => __( '<a href="#vidbg_advanced_options" class="button vidbg-button advanced-options-button">Show Advanced options</a>', 'video-background' ),
293
- 'type' => 'title',
294
- 'id' => $prefix . 'advanced_button',
295
- ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
296
 
297
  }
298
  add_action( 'cmb2_admin_init', 'vidbg_register_metabox' );
@@ -310,81 +394,54 @@ add_action( 'cmb2_admin_init', 'vidbg_register_metabox' );
310
  * @uses get_post_meta()
311
  */
312
  function vidbg_initialize_footer() {
313
- if( is_page() || is_single() || is_home() && get_option( 'show_on_front') == 'page' ) {
314
-
315
- if( is_page() || is_single() ) {
316
- $the_id = get_the_ID();
317
- } elseif( is_home() && get_option( 'show_on_front' ) == 'page' ) {
318
- $the_id = get_option( 'page_for_posts' );
319
- }
320
-
321
- $container_field = get_post_meta( $the_id, 'vidbg_metabox_field_container', true );
322
- $mp4_field = get_post_meta( $the_id, 'vidbg_metabox_field_mp4', true );
323
- $webm_field = get_post_meta( $the_id, 'vidbg_metabox_field_webm', true );
324
- $poster_field = get_post_meta( $the_id, 'vidbg_metabox_field_poster', true );
325
- $overlay = get_post_meta( $the_id, 'vidbg_metabox_field_overlay', true );
326
- $overlay_color = get_post_meta( $the_id, 'vidbg_metabox_field_overlay_color', true );
327
- $overlay_alpha = get_post_meta( $the_id, 'vidbg_metabox_field_overlay_alpha', true );
328
- $no_loop_field = get_post_meta( $the_id, 'vidbg_metabox_field_no_loop', true );
329
- $unmute_field = get_post_meta( $the_id, 'vidbg_metabox_field_unmute', true );
330
-
331
- if( !empty( $container_field ) ): ?>
332
- <?php
333
-
334
- /**
335
- * Enqueue the vidbg script conditionally
336
- */
337
- wp_enqueue_script( 'vidbg-video-background' );
338
-
339
- if( $unmute_field == 'on' ) {
340
- $boolean_mute = 'false';
341
- } else {
342
- $boolean_mute = 'true';
343
- }
344
-
345
- if( $no_loop_field == 'on' ) {
346
- $boolean_loop = 'false';
347
- } else {
348
- $boolean_loop = 'true';
349
- }
350
-
351
- if( $overlay == 'on' ) {
352
- $boolean_overlay = 'true';
353
- } else {
354
- $boolean_overlay = 'false';
355
- }
356
-
357
- $overlay_color_value = !empty($overlay_color) ? $overlay_color : '#000';
358
- $overlay_alpha_value = !empty($overlay_alpha) ? '0.' . $overlay_alpha : '0.3';
359
- ?>
360
- <script type="text/javascript">
361
- jQuery(function($){
362
- var vidbgContainerValue = '<?php echo $container_field; ?>';
363
- var vidbgMp4Value = '<?php echo $mp4_field; ?>';
364
- var vidbgWebmValue = '<?php echo $webm_field; ?>';
365
- var vidbgPosterValue = '<?php echo $poster_field; ?>';
366
- var vidbgIsMuted = <?php echo $boolean_mute; ?>;
367
- var vidbgIsLoop = <?php echo $boolean_loop; ?>;
368
- var vidbgIsOverlay = <?php echo $boolean_overlay; ?>;
369
- var vidbgOverlayColor = '<?php echo $overlay_color_value; ?>';
370
- var vidbgOverlayAlpha = '<?php echo $overlay_alpha_value; ?>';
371
-
372
- $(vidbgContainerValue).vidbg({
373
- 'mp4': vidbgMp4Value,
374
- 'webm': vidbgWebmValue,
375
- 'poster': vidbgPosterValue,
376
- }, {
377
- muted: vidbgIsMuted,
378
- loop: vidbgIsLoop,
379
- overlay: vidbgIsOverlay,
380
- overlayColor: vidbgOverlayColor,
381
- overlayAlpha: vidbgOverlayAlpha,
382
- });
383
- });
384
- </script>
385
- <?php endif;
386
-
387
- }
388
  }
389
  add_action( 'wp_footer', 'vidbg_initialize_footer' );
390
 
@@ -397,62 +454,43 @@ add_action( 'wp_footer', 'vidbg_initialize_footer' );
397
  * @uses do_shortcode()
398
  */
399
  function candide_video_background( $atts , $content = null ) {
400
- // Attributes
401
- extract(
402
- shortcode_atts(
403
- array(
404
- 'container' => 'body',
405
- 'mp4' => '#',
406
- 'webm' => '#',
407
- 'poster' => '#',
408
- 'muted' => 'true',
409
- 'loop' => 'true',
410
- 'overlay' => 'false',
411
- 'overlay_color' => '#000',
412
- 'overlay_alpha' => '0.3',
413
- ), $atts , 'vidbg'
414
- )
415
- );
416
-
417
- /**
418
- * Enqueue vidbg conditionally
419
- */
420
- wp_enqueue_script( 'vidbg-video-background' );
421
-
422
- // Put It Together
423
- ob_start(); ?>
424
- <script>
425
- jQuery(function($){
426
- var vidbgContainerValue = '<?php echo $container; ?>';
427
- var vidbgMp4Value = '<?php echo $mp4; ?>';
428
- var vidbgWebmValue = '<?php echo $webm; ?>';
429
- var vidbgPosterValue = '<?php echo $poster; ?>';
430
- var vidbgIsMuted = <?php echo $muted; ?>;
431
- var vidbgIsLoop = <?php echo $loop ?>;
432
- var vidbgIsOverlay = <?php echo $overlay; ?>;
433
- var vidbgOverlayColor = '<?php echo $overlay_color; ?>';
434
- var vidbgOverlayAlpha = '<?php echo $overlay_alpha; ?>';
435
-
436
- $(vidbgContainerValue).vidbg({
437
- 'mp4': vidbgMp4Value,
438
- 'webm': vidbgWebmValue,
439
- 'poster': vidbgPosterValue,
440
- }, {
441
- muted: vidbgIsMuted,
442
- loop: vidbgIsLoop,
443
- overlay: vidbgIsOverlay,
444
- overlayColor: vidbgOverlayColor,
445
- overlayAlpha: vidbgOverlayAlpha,
446
- });
447
- });
448
- <?php
449
-
450
- $outputbefore = ob_get_clean();
451
- $outputafter = '</script>';
452
-
453
- //Return
454
-
455
- return $outputbefore . do_shortcode($content) . $outputafter;
456
  }
457
  add_shortcode( 'vidbg', 'candide_video_background' );
458
 
@@ -464,13 +502,13 @@ add_shortcode( 'vidbg', 'candide_video_background' );
464
  * @uses add_options_page()
465
  */
466
  function vidbg_add_gettingstarted() {
467
- add_options_page(
468
- 'Video Background',
469
- 'Video Background',
470
- 'manage_options',
471
- 'html5-vidbg',
472
- 'vidbg_gettingstarted_page'
473
- );
474
  }
475
  add_action( 'admin_menu', 'vidbg_add_gettingstarted' );
476
 
@@ -484,22 +522,22 @@ add_action( 'admin_menu', 'vidbg_add_gettingstarted' );
484
  * @uses add_settings_field()
485
  */
486
  function vidbg_register_settings() {
487
- register_setting( 'vidbg_settings', 'vidbg_disable_pro_fields' );
488
-
489
- add_settings_section(
490
- 'vidbg_vidbg_settings_section',
491
- __( 'Hide Muted Pro Fields', 'video-background' ),
492
- 'vidbg_disable_pro_fields_section_callback',
493
- 'vidbg_settings'
494
- );
495
-
496
- add_settings_field(
497
- 'vidbg_checkbox_disable_pro_field',
498
- __( 'Hide Muted Pro Fields', 'video-background' ),
499
- 'vidbg_checkbox_disable_pro_field_render',
500
- 'vidbg_settings',
501
- 'vidbg_vidbg_settings_section'
502
- );
503
  }
504
  add_action( 'admin_init', 'vidbg_register_settings' );
505
 
@@ -512,17 +550,17 @@ add_action( 'admin_init', 'vidbg_register_settings' );
512
  * @uses checked()
513
  */
514
  function vidbg_checkbox_disable_pro_field_render() {
515
- $options = get_option( 'vidbg_disable_pro_fields' );
516
 
517
- $output = '';
518
- $check = '';
519
- if ( $options ) {
520
- $check = checked( $options['vidbg_checkbox_disable_pro_field'], 1, false );
521
- }
522
 
523
- $output .= '<input type="checkbox" name="vidbg_disable_pro_fields[vidbg_checkbox_disable_pro_field]" ' . $check . ' value="1">';
524
 
525
- echo $output;
526
  }
527
 
528
  /**
@@ -533,7 +571,7 @@ function vidbg_checkbox_disable_pro_field_render() {
533
  * @uses _e()
534
  */
535
  function vidbg_disable_pro_fields_section_callback() {
536
- _e( 'Okay, Okay, some of you don\'t want/need Video Background Pro. I get that. That\'s why you can hide the muted pro fields below :)', 'video-background' );
537
  }
538
 
539
  /**
@@ -547,42 +585,42 @@ function vidbg_disable_pro_fields_section_callback() {
547
  * @uses submit_button()
548
  */
549
  function vidbg_gettingstarted_page() {
550
- echo '<div class="wrap">';
551
- _e( '<h2>Video Background</h2>', 'video-background' );
552
- _e( '<p>Video background makes it easy to add responsive, great looking video backgrounds to any element on your website.</p>', 'video-background' );
553
- _e( '<h3>Getting Started</h3>', 'video-background' );
554
- _e( '<p>To implement Video Background on your website, please follow the instructions below.', 'video-background' );
555
- echo '<ol>';
556
- _e( '<li>Edit the page or post you would like the video background to appear on.</li>', 'video-background' );
557
- _e( '<li>Below the content editor, you should see a metabox titled <b>Video Background</b>. Enter the values for the required fields and publish/update the page.</li>', 'video-background' );
558
- _e( '<li>Enjoy.</li>', 'video-background' );
559
- echo '</ol>';
560
- _e( '<p>Alternatively, you can use the shortcode by placing the following code at the bottom of the content editor of the page or post you would like the video background to appear on. Here is how it works:</p>', 'video-background' );
561
- echo '<p><code>[vidbg container=&quot;body&quot; mp4=&quot;#&quot; webm=&quot;#&quot; poster=&quot;#&quot; loop=&quot;true&quot; overlay=&quot;false&quot; overlay_color=&quot;#000&quot; overlay_alpha=&quot;0.3&quot; muted=&quot;false&quot;]</code></p>';
562
- _e( '<a href="http://blakewilson.me/projects/video-background/" class="button" target="_blank">Further Documentation</a>', 'video-background' );
563
- _e( '<h3>Questions?</h3>', 'video-background' );
564
- _e( '<p>If you have any feedback/questions regarding the plugin you can reach me <a href="https://wordpress.org/support/plugin/video-background" target="_blank">here.</a>', 'video-background' );
565
- _e( '<h3>Supporting the Plugin</h3>', 'video-background' );
566
- _e( '<p>If you like Video Background and want to show your support, consider purchasing the <a href="http://pushlabs.co/video-background-pro" rel="nofollow" target="_blank">pro version</a>. It comes with plenty of helpful features that make your life easier like:</p>', 'video-background' );
567
- echo '<ul>';
568
- _e( '<li>YouTube Integration</li>', 'video-background' );
569
- _e( '<li>Visual Composer Integration</li>', 'video-background' );
570
- _e( '<li>Page Builder by SiteOrigin Integration</li>', 'video-background' );
571
- _e( '<li>Frontend Play/Pause Button Option</li>', 'video-background' );
572
- _e( '<li>Frontend Volume Button Option</li>', 'video-background' );
573
- _e( '<li>Overlay Image Textures</li>', 'video-background' );
574
- _e( '<li>Extensive Documentation</li>', 'video-background' );
575
- _e( '<li>Video Tutorials</li>', 'video-background' );
576
- _e( '<li>And Much More!</li>', 'video-background' );
577
- echo '</ul>';
578
- _e( '<a href="http://pushlabs.co/video-background-pro" class="button button-primary" rel="nofollow" target="_blank">Learn More About Video Background Pro</a>', 'video-background' );
579
- _e( ' <a href="https://twitter.com/intent/follow?screen_name=blakewilsonme" class="button button-primary vidbg-twitter" target="_blank">Get Updates on Twitter</a>', 'video-background' );
580
- echo '<form action="options.php" method="post">';
581
- settings_fields( 'vidbg_settings' );
582
- do_settings_sections( 'vidbg_settings' );
583
- submit_button();
584
- echo '</form>';
585
- echo '</div>';
586
  }
587
 
588
  /**
@@ -593,30 +631,8 @@ function vidbg_gettingstarted_page() {
593
  * @uses __()
594
  */
595
  function vidbg_gettingstarted_link($links) {
596
- $gettingstarted_link = __( '<a href="options-general.php?page=html5-vidbg">Getting Started</a>', 'video-background' );
597
- array_unshift($links, $gettingstarted_link);
598
- return $links;
599
  }
600
  add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), 'vidbg_gettingstarted_link' );
601
-
602
- /**
603
- * Create function to see if WordPress version is 4.2 or higher
604
- *
605
- * @since 2.5.1
606
- */
607
- function vidbg_is_wp_version( $version = '4.2' ) {
608
- global $wp_version;
609
-
610
- if ( version_compare( $wp_version, $version, '>=' ) ) {
611
- return true;
612
- } else {
613
- return false;
614
- }
615
- }
616
-
617
- /**
618
- * If WP version is 4.2 or higher display premium notice message
619
- */
620
- if( vidbg_is_wp_version() == true ) {
621
- require_once( plugin_dir_path( __FILE__ ) . '/admin_premium_notice.php' );
622
- }
1
  <?php
2
  /*
3
  Plugin Name: Video Background
4
+ Plugin URI: https://pushlabs.co/documentation/video-background
5
+ Description: WordPress plugin to easily assign a video background to any element. Awesome.
6
+ Author: Push Labs
7
+ Version: 2.6
8
+ Author URI: https://pushlabs.co
 
9
  Text Domain: video-background
10
  Domain Path: /languages
11
  */
12
 
13
+ // Exit if accessed directly
14
+ if ( !defined( 'ABSPATH' ) ) {
15
+ exit;
 
 
 
 
 
16
  }
17
 
18
+ // Define some constants
19
+ define( 'VIDBG_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
20
+ define( 'VIDBG_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
21
+ define( 'VIDBG_PLUGIN_BASE', plugin_basename(__FILE__) );
22
+ define( 'VIDBG_PLUGIN_VERSION', '2.6' );
23
+
24
  /**
25
  * Install the plugin
26
  * deactivate vidbgpro if installed
32
  * @uses delete_option()
33
  */
34
  function vidbg_install_plugin() {
35
+ if( is_plugin_active( 'video-background-pro/vidbgpro.php') ) {
36
+ deactivate_plugins( 'video-background-pro/vidbgpro.php' );
37
+ }
38
+ delete_option( 'vidbgpro-notice-dismissed' );
39
+ delete_option( 'vidbg_disable_pro_fields' );
40
  }
41
  register_activation_hook( __FILE__, 'vidbg_install_plugin' );
42
 
43
+ /**
44
+ * Create function to see if WordPress version is 4.2 or higher
45
+ *
46
+ * @since 2.5.1
47
+ */
48
+ function vidbg_is_wp_version( $version = '4.2' ) {
49
+ global $wp_version;
50
+
51
+ if ( version_compare( $wp_version, $version, '>=' ) ) {
52
+ return true;
53
+ } else {
54
+ return false;
55
+ }
56
+ }
57
+
58
+ /**
59
+ * Include the metabox framework
60
+ */
61
+ if ( file_exists( dirname( __FILE__ ) . '/inc/vendor/cmb2/init.php' ) ) {
62
+ require_once dirname( __FILE__ ) . '/inc/vendor/cmb2/init.php';
63
+ }
64
+ if ( file_exists( dirname( __FILE__ ) . '/inc/classes/cmb2_field_slider.php' ) ) {
65
+ require_once dirname( __FILE__ ) . '/inc/classes/cmb2_field_slider.php';
66
+ }
67
+ if ( file_exists( dirname( __FILE__ ) . '/admin_premium_notice.php' ) ) {
68
+ require_once dirname( __FILE__ ) . '/admin_premium_notice.php';
69
+ }
70
+
71
  /**
72
  * Load plugin textdomain.
73
  *
77
  * @uses plugin_basename()
78
  */
79
  function vidbg_load_textdomain() {
80
+ load_plugin_textdomain( 'video-background', false, plugin_basename( dirname( __FILE__ ) ) . '/languages' );
81
  }
82
  add_action( 'plugins_loaded', 'vidbg_load_textdomain' );
83
 
84
  /**
85
  * Enqueue backend style and script
86
+ * Note: renamed. Previous, vidbg_metabox_scripts()
87
  *
88
  * @since 2.1.4
89
  *
92
  * @uses wp_enqueue_script()
93
  * @uses plugin_dir_url()
94
  */
95
+ function vidbg_enqueue_admin_scripts() {
96
+ wp_enqueue_style('vidbg-metabox-style', plugins_url('/css/vidbg-style.css', __FILE__));
97
+ wp_enqueue_script( 'vidbg-admin-backend', plugin_dir_url( __FILE__ ) . '/js/vidbg-backend.js' );
98
+
99
+ wp_localize_script( 'vidbg-admin-backend', 'vidbg_localized_text', array(
100
+ 'show_advanced' => __( 'Show Advanced Options', 'video-background' ),
101
+ 'hide_advanced' => __( 'Hide Advanced Options', 'video-background' ),
102
+ ) );
103
  }
104
+ add_action('admin_enqueue_scripts', 'vidbg_enqueue_admin_scripts');
105
 
106
  /**
107
  * Enqueue vidbg jquery script
108
+ * Note: renamed. Previous, vidbg_jquery
109
  *
110
  * @since 2.0.0
111
  *
112
  * @uses wp_enqueue_script()
113
  * @uses plugins_url()
114
  */
115
+ function vidbg_enqueue_scripts() {
116
+ wp_register_script( 'vidbg-video-background', plugins_url('/js/vidbg.min.js', __FILE__), array('jquery'), VIDBG_PLUGIN_VERSION, true);
117
+ wp_register_style( 'vidbg-frontend-style', plugins_url( '/css/pushlabs-vidbg.css', __FILE__), VIDBG_PLUGIN_VERSION );
118
  }
119
+ add_action( 'wp_enqueue_scripts', 'vidbg_enqueue_scripts' );
120
 
121
  /**
122
  * Add custom color palette
124
  * @since 2.5.0
125
  */
126
  function vidbg_default_color_palette( $l10n ) {
127
+ $l10n['defaults']['color_picker'] = array(
128
+ 'palettes' => array( '#000000', '#3498db', '#e74c3c', '#374e64', '#2ecc71', '#f1c40f' ),
129
+ );
130
+ return $l10n;
131
  }
132
  add_filter( 'cmb2_localized_data', 'vidbg_default_color_palette' );
133
 
134
+ /**
135
+ * Construct the vidbg shortcode from an array
136
+ *
137
+ * @since 2.6
138
+ *
139
+ * @uses do_shortcode()
140
+ *
141
+ * @param $atts_array array A 2d array of shortcode attributes
142
+ * @return string The [vidbg] constructed from the array input
143
+ */
144
+ function vidbg_construct_shortcode( $atts_array ) {
145
+ // If no array is provided, quit
146
+ if ( empty( $atts_array ) ) {
147
+ return;
148
+ }
149
+
150
+ // Our shortcode name
151
+ $shortcode_name = 'vidbg';
152
+
153
+ // Construct the shortcode
154
+ $the_shortcode = '[' . $shortcode_name;
155
+ foreach ( $atts_array as $key => $value ) {
156
+ $the_shortcode .= ' ' . $key . '="' . $value .'"';
157
+ }
158
+ $the_shortcode .= ']';
159
+
160
+ // Create the output
161
+ $output = $the_shortcode;
162
+
163
+ return $output;
164
+ }
165
+
166
  /**
167
  * Helper function to output disabled Video Background Pro fields
168
  *
172
  */
173
  function vidbg_disabled_pro_field( $field_name = 'Blank Pro', $field_id = 'pro_blank', $field_type = 'input', $field_description = '' ) {
174
 
175
+ $output = '';
176
+ $options = get_option( 'vidbg_disable_pro_fields' );
177
+
178
+ if ( ! $options ) {
179
+ if ( $field_type === 'input' ) {
180
+ $field_class = 'cmb-row cmb-type-text cmb2-id-pro-disabled-field-' . $field_id . ' table-layout';
181
+ } elseif ( $field_type === 'radio' ) {
182
+ $field_class = 'cmb-row cmb-type-radio-inline cmb2-id-pro-disabled-field-' . $field_id . ' cmb-inline';
183
+ }
184
+
185
+ $output .= '<div class="' . $field_class . '">';
186
+ $output .= '<div class="cmb-th"><label for="pro_disabled_' . $field_id . '">' . $field_name . '</label></div>';
187
+ $output .= '<div class="cmb-td">';
188
+
189
+ if ( $field_type === 'input' ) {
190
+ $output .= '<input type="text" class="regular-text" name="pro_disabled_' . $field_id . '" id="' . $field_id . '" disabled>';
191
+ }
192
+
193
+ if ( $field_type === 'radio' ) {
194
+ $output .= '<ul class="cmb2-radio-list cmb2-list">';
195
+ $output .= '<li><input type="radio" value="off" class="cmb2-option" name="pro_disabled_' . $field_id . '" id="pro_disabled_' . $field_id . '1" checked="checked" disabled> <label for="pro_disabled_' . $field_id . '1">Off</label></li>';
196
+ $output .= '<li><input type="radio" class="cmb2-option" name="pro_disabled_' . $field_id . '" id="pro_disabled_' . $field_id . '2" value="on" disabled> <label for="pro_disabled_' . $field_id . '2">On</label></li>';
197
+ $output .= '</ul>';
198
+ }
199
+
200
+ if ( $field_id === 'overlay_texture' ) {
201
+ $output .= '<input class="cmb2-upload-button button" type="button" value="Upload Overlay Texture" disabled="">';
202
+ }
203
+
204
+ $output .= '<p class="cmb2-metabox-description">' . $field_description . '</p>';
205
+ $output .= '</div>';
206
+ $output .= '</div>';
207
+ }
208
+
209
+ return $output;
210
  }
211
 
212
  /**
220
  * @uses vidbg_disabled_pro_field()
221
  */
222
  function vidbg_register_metabox() {
223
+ $prefix = 'vidbg_metabox_field_';
224
+ $post_types = array( 'post', 'page' );
225
+
226
+ /**
227
+ * Allow the post types to be filtered out
228
+ */
229
+ $post_types = apply_filters( 'vidbg_post_types', $post_types );
230
+
231
+ $vidbg_metabox = new_cmb2_box( array(
232
+ 'id' => 'vidbg-metabox',
233
+ 'title' => __( 'Video Background', 'video-background' ),
234
+ 'object_types' => $post_types,
235
+ 'context' => 'normal',
236
+ 'priority' => 'high',
237
+ ) );
238
+
239
+ $vidbg_metabox->add_field( array(
240
+ 'name' => __( 'Container', 'video-background' ),
241
+ 'desc' => __( 'Please specify the container you would like your video background to be in.<br>ex: <code>.header</code> or <code>body</code>', 'video-background' ),
242
+ 'id' => $prefix . 'container',
243
+ 'type' => 'text',
244
+ 'after_row' => vidbg_disabled_pro_field(
245
+ __( 'YouTube Link', 'video-background' ),
246
+ 'youtube_link',
247
+ 'input',
248
+ __( 'To create YouTube video backgrounds, <a href="http://pushlabs.co/video-background-pro" rel="nofollow" target="_blank">please download the pro version!</a>', 'video-background' )
249
+ ) . vidbg_disabled_pro_field(
250
+ __( 'YouTube Start Second', 'video-background' ),
251
+ 'youtube_start',
252
+ 'input',
253
+ __( 'To use the YouTube Start Second feature, <a href="http://pushlabs.co/video-background-pro" rel="nofollow" target="_blank">please download the pro version!</a>', 'video-background' )
254
+ ) . vidbg_disabled_pro_field(
255
+ __( 'YouTube End Second', 'video-background' ),
256
+ 'youtube_end',
257
+ 'input',
258
+ __( 'To use the YouTube End Second feature, <a href="http://pushlabs.co/video-background-pro" rel="nofollow" target="_blank">please download the pro version!</a>', 'video-background' )
259
+ ),
260
+ ) );
261
+
262
+ $vidbg_metabox->add_field( array(
263
+ 'name' => __( 'Link to .mp4', 'video-background' ),
264
+ 'desc' => __( 'Please specify the link to the .mp4 file. You can either enter a URL or upload a file.<br>For browser compatability, please enter an .mp4 and .webm file for video backgrounds.', 'video-background' ),
265
+ 'id' => $prefix . 'mp4',
266
+ 'type' => 'file',
267
+ 'options' => array(
268
+ 'add_upload_file_text' => __( 'Upload .mp4 file', 'video-background' ),
269
+ ),
270
+ ) );
271
+
272
+ $vidbg_metabox->add_field( array(
273
+ 'name' => __( 'Link to .webm', 'video-background' ),
274
+ 'desc' => __( 'Please specify the link to the .webm file. You can either enter a URL or upload a file.<br>For browser compatability, please enter an .mp4 and .webm file for video backgrounds.', 'video-background' ),
275
+ 'id' => $prefix . 'webm',
276
+ 'type' => 'file',
277
+ 'options' => array(
278
+ 'add_upload_file_text' => __( 'Upload .webm file', 'video-background' ),
279
+ ),
280
+ ) );
281
+
282
+ $vidbg_metabox->add_field( array(
283
+ 'name' => __( 'Link to fallback image', 'video-background' ),
284
+ 'desc' => __( 'Please specify a link to the fallback image in case the browser does not support video backgrounds. You can either enter a URL or upload a file.', 'video-background' ),
285
+ 'id' => $prefix . 'poster',
286
+ 'type' => 'file',
287
+ 'options' => array(
288
+ 'add_upload_file_text' => __( 'Upload fallback image', 'video-background' ),
289
+ ),
290
+ ) );
291
+
292
+ $vidbg_metabox->add_field( array(
293
+ 'name' => __( 'Overlay', 'video-background' ),
294
+ 'desc' => __( 'Add an overlay over the video. This is useful if your text isn\'t readable with a video background.', 'video-background' ),
295
+ 'id' => $prefix . 'overlay',
296
+ 'type' => 'radio_inline',
297
+ 'default' => 'off',
298
+ 'options' => array(
299
+ 'off' => __( 'Off', 'video-background' ),
300
+ 'on' => __( 'On', 'video-background' ),
301
+ ),
302
+ 'before_row' => '<div id="vidbg_advanced_options">',
303
+ ) );
304
+
305
+ $vidbg_metabox->add_field( array(
306
+ 'name' => __( 'Overlay Color', 'video-background' ),
307
+ 'desc' => __( 'If overlay is enabled, a color will be used for the overlay. You can specify the color here.', 'video-background' ),
308
+ 'id' => $prefix . 'overlay_color',
309
+ 'type' => 'colorpicker',
310
+ 'default' => '#000',
311
+ ) );
312
+
313
+ $vidbg_metabox->add_field( array(
314
+ 'name' => __( 'Overlay Opacity', 'video-background' ),
315
+ 'desc' => __( 'Specify the opacity of the overlay with the left being mostly transparent and the right being hardly transparent.', 'video-background' ),
316
+ 'id' => $prefix . 'overlay_alpha',
317
+ 'type' => 'vidbg_slider',
318
+ 'min' => '10',
319
+ 'max' => '99',
320
+ 'default' => '30',
321
+ 'after_row' => vidbg_disabled_pro_field(
322
+ __( 'Overlay Texture', 'video-background' ),
323
+ 'overlay_texture',
324
+ 'input',
325
+ __( 'To add overlay textures to your video background, <a href="http://pushlabs.co/video-background-pro" rel="nofollow" target="_blank">please download the pro version!</a>', 'video-background' )
326
+ ),
327
+ ) );
328
+
329
+ $vidbg_metabox->add_field( array(
330
+ 'name' => __( 'Turn off loop?', 'video-background' ),
331
+ 'desc' => __( 'Turn off the loop for Video Background. Once the video is complete, it will display the last frame of the video.', 'video-background' ),
332
+ 'id' => $prefix . 'no_loop',
333
+ 'type' => 'radio_inline',
334
+ 'default' => 'off',
335
+ 'options' => array(
336
+ 'off' => __( 'Off', 'video-background' ),
337
+ 'on' => __( 'On', 'video-background' ),
338
+ ),
339
+ 'after_row' => vidbg_disabled_pro_field(
340
+ __( 'End video on fallback image?', 'video-background' ),
341
+ 'end_fallback',
342
+ 'radio',
343
+ __( 'To enable the end video on fallback image feature, <a href="http://pushlabs.co/video-background-pro" rel="nofollow" target="_blank">please download the pro version!</a>', 'video-background' )
344
+ ) . vidbg_disabled_pro_field(
345
+ __( 'Enable CSS loader?', 'video-background' ),
346
+ 'enable_loader',
347
+ 'radio',
348
+ __( 'To enable the CSS loader feature, <a href="http://pushlabs.co/video-background-pro" rel="nofollow" target="_blank">please download the pro version!</a>', 'video-background' )
349
+ ),
350
+ ) );
351
+
352
+ $vidbg_metabox->add_field( array(
353
+ 'name' => __( 'Play the audio?', 'video-background' ),
354
+ 'desc' => __( 'Enabling this will play the audio of the video.', 'video-background' ),
355
+ 'id' => $prefix . 'unmute',
356
+ 'type' => 'radio_inline',
357
+ 'default' => 'off',
358
+ 'options' => array(
359
+ 'off' => __( 'Off', 'video-background' ),
360
+ 'on' => __( 'On', 'video-background' ),
361
+ ),
362
+ 'after_row' => vidbg_disabled_pro_field(
363
+ __( 'Enable Play/Pause button', 'video-background' ),
364
+ 'play_button',
365
+ 'radio',
366
+ __( 'To enable a play/pause button on the frontend, <a href="http://pushlabs.co/video-background-pro" rel="nofollow" target="_blank">please download the pro version!</a>', 'video-background' )
367
+ ) . vidbg_disabled_pro_field(
368
+ __( 'Enable Mute/Unmute button', 'video-background' ),
369
+ 'volume_button',
370
+ 'radio',
371
+ __( 'To enable a mute/unmute button on the frontend, <a href="http://pushlabs.co/video-background-pro" rel="nofollow" target="_blank">please download the pro version!</a>', 'video-background' )
372
+ ) . '</div>',
373
+ ) );
374
+
375
+ $vidbg_metabox->add_field( array(
376
+ 'before_field' => __( '<a href="#vidbg_advanced_options" class="button vidbg-button advanced-options-button">Show Advanced options</a>', 'video-background' ),
377
+ 'type' => 'title',
378
+ 'id' => $prefix . 'advanced_button',
379
+ ) );
380
 
381
  }
382
  add_action( 'cmb2_admin_init', 'vidbg_register_metabox' );
394
  * @uses get_post_meta()
395
  */
396
  function vidbg_initialize_footer() {
397
+ if( is_page() || is_single() || is_home() && get_option( 'show_on_front') == 'page' ) {
398
+
399
+ if( is_page() || is_single() ) {
400
+ $the_id = get_the_ID();
401
+ } elseif( is_home() && get_option( 'show_on_front' ) == 'page' ) {
402
+ $the_id = get_option( 'page_for_posts' );
403
+ }
404
+
405
+ $meta_prefix = 'vidbg_metabox_field_';
406
+ $container_meta = get_post_meta( $the_id, $meta_prefix . 'container', true );
407
+ $mp4_meta = get_post_meta( $the_id, $meta_prefix . 'mp4', true );
408
+ $webm_meta = get_post_meta( $the_id, $meta_prefix . 'webm', true );
409
+ $poster_meta = get_post_meta( $the_id, $meta_prefix . 'poster', true );
410
+ $overlay_meta = get_post_meta( $the_id, $meta_prefix . 'overlay', true );
411
+ $overlay_color_meta = get_post_meta( $the_id, $meta_prefix . 'overlay_color', true );
412
+ $overlay_alpha_meta = get_post_meta( $the_id, $meta_prefix . 'overlay_alpha', true );
413
+ $loop_meta = get_post_meta( $the_id, $meta_prefix . 'no_loop', true );
414
+ $mute_meta = get_post_meta( $the_id, $meta_prefix . 'unmute', true );
415
+
416
+ // If there is no container element, return.
417
+ if( empty( $container_meta ) ) {
418
+ return;
419
+ }
420
+
421
+ // Create our shortcode attributes array
422
+ $shortcode_atts = array(
423
+ 'container' => $container_meta,
424
+ 'mp4' => ( $mp4_meta == '' ) ? '#' : $mp4_meta,
425
+ 'webm' => ( $webm_meta == '' ) ? '#' : $webm_meta,
426
+ 'poster' => ( $poster_meta == '' ) ? '#' : $poster_meta,
427
+ 'overlay' => ( $overlay_meta == 'on' ) ? 'true' : 'false',
428
+ 'overlay_color' => !empty( $overlay_color_meta ) ? $overlay_color_meta : '#000',
429
+ 'overlay_alpha' => !empty( $overlay_alpha_meta ) ? '0.' . $overlay_alpha_meta : '0.3',
430
+ 'loop' => ( $loop_meta == 'on' ) ? 'false' : 'true',
431
+ 'muted' => ( $mute_meta == 'on' ) ? 'false' : 'true',
432
+ 'source' => 'Metabox',
433
+ );
434
+
435
+ // Enqueue the vidbg script conditionally
436
+ wp_enqueue_script( 'vidbg-video-background' );
437
+ wp_enqueue_style( 'vidbg-frontend-style' );
438
+
439
+ // Construct the shortcode, then echo it.
440
+ $the_shortcode = vidbg_construct_shortcode( $shortcode_atts );
441
+ $output = do_shortcode( $the_shortcode );
442
+
443
+ echo $output;
444
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
445
  }
446
  add_action( 'wp_footer', 'vidbg_initialize_footer' );
447
 
454
  * @uses do_shortcode()
455
  */
456
  function candide_video_background( $atts , $content = null ) {
457
+
458
+ // Attributes
459
+ extract(
460
+ shortcode_atts(
461
+ array(
462
+ 'container' => 'body',
463
+ 'mp4' => '#',
464
+ 'webm' => '#',
465
+ 'poster' => '#',
466
+ 'muted' => 'true',
467
+ 'loop' => 'true',
468
+ 'overlay' => 'false',
469
+ 'overlay_color' => '#000',
470
+ 'overlay_alpha' => '0.3',
471
+ 'source' => 'Shortcode',
472
+ ), $atts , 'vidbg'
473
+ )
474
+ );
475
+
476
+
477
+ $output = "<script>
478
+ jQuery(function($){
479
+ // Source: " . $source . "
480
+ $( '" . $container . "' ).vidbg( {
481
+ mp4: '" . $mp4 . "',
482
+ webm: '" . $webm . "',
483
+ poster: '" . $poster . "',
484
+ mute: " . $muted . ",
485
+ repeat: " . $loop . ",
486
+ overlay: " . $overlay . ",
487
+ overlayColor: '" . $overlay_color . "',
488
+ overlayAlpha: '" . $overlay_alpha . "',
489
+ });
490
+ });
491
+ </script>";
492
+
493
+ return $output;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
494
  }
495
  add_shortcode( 'vidbg', 'candide_video_background' );
496
 
502
  * @uses add_options_page()
503
  */
504
  function vidbg_add_gettingstarted() {
505
+ add_options_page(
506
+ 'Video Background',
507
+ 'Video Background',
508
+ 'manage_options',
509
+ 'html5-vidbg',
510
+ 'vidbg_gettingstarted_page'
511
+ );
512
  }
513
  add_action( 'admin_menu', 'vidbg_add_gettingstarted' );
514
 
522
  * @uses add_settings_field()
523
  */
524
  function vidbg_register_settings() {
525
+ register_setting( 'vidbg_settings', 'vidbg_disable_pro_fields' );
526
+
527
+ add_settings_section(
528
+ 'vidbg_vidbg_settings_section',
529
+ __( 'Hide Muted Pro Fields', 'video-background' ),
530
+ 'vidbg_disable_pro_fields_section_callback',
531
+ 'vidbg_settings'
532
+ );
533
+
534
+ add_settings_field(
535
+ 'vidbg_checkbox_disable_pro_field',
536
+ __( 'Hide Muted Pro Fields', 'video-background' ),
537
+ 'vidbg_checkbox_disable_pro_field_render',
538
+ 'vidbg_settings',
539
+ 'vidbg_vidbg_settings_section'
540
+ );
541
  }
542
  add_action( 'admin_init', 'vidbg_register_settings' );
543
 
550
  * @uses checked()
551
  */
552
  function vidbg_checkbox_disable_pro_field_render() {
553
+ $options = get_option( 'vidbg_disable_pro_fields' );
554
 
555
+ $output = '';
556
+ $check = '';
557
+ if ( $options ) {
558
+ $check = checked( $options['vidbg_checkbox_disable_pro_field'], 1, false );
559
+ }
560
 
561
+ $output .= '<input type="checkbox" name="vidbg_disable_pro_fields[vidbg_checkbox_disable_pro_field]" ' . $check . ' value="1">';
562
 
563
+ echo $output;
564
  }
565
 
566
  /**
571
  * @uses _e()
572
  */
573
  function vidbg_disable_pro_fields_section_callback() {
574
+ _e( 'Okay, Okay, some of you don\'t want/need Video Background Pro. I get that. That\'s why you can hide the muted pro fields below :)', 'video-background' );
575
  }
576
 
577
  /**
585
  * @uses submit_button()
586
  */
587
  function vidbg_gettingstarted_page() {
588
+ echo '<div class="wrap">';
589
+ _e( '<h2>Video Background</h2>', 'video-background' );
590
+ _e( '<p>Video background makes it easy to add responsive, great looking video backgrounds to any element on your website.</p>', 'video-background' );
591
+ _e( '<h3>Getting Started</h3>', 'video-background' );
592
+ _e( '<p>To implement Video Background on your website, please follow the instructions below.', 'video-background' );
593
+ echo '<ol>';
594
+ _e( '<li>Edit the page or post you would like the video background to appear on.</li>', 'video-background' );
595
+ _e( '<li>Below the content editor, you should see a metabox titled <b>Video Background</b>. Enter the values for the required fields and publish/update the page.</li>', 'video-background' );
596
+ _e( '<li>Enjoy.</li>', 'video-background' );
597
+ echo '</ol>';
598
+ _e( '<p>Alternatively, you can use the shortcode by placing the following code at the bottom of the content editor of the page or post you would like the video background to appear on. Here is how it works:</p>', 'video-background' );
599
+ echo '<p><code>[vidbg container=&quot;body&quot; mp4=&quot;#&quot; webm=&quot;#&quot; poster=&quot;#&quot; loop=&quot;true&quot; overlay=&quot;false&quot; overlay_color=&quot;#000&quot; overlay_alpha=&quot;0.3&quot; muted=&quot;false&quot;]</code></p>';
600
+ _e( '<a href="https://pushlabs.co/docs/video-background/" class="button" target="_blank">Further Documentation</a>', 'video-background' );
601
+ _e( '<h3>Questions?</h3>', 'video-background' );
602
+ _e( '<p>If you have any feedback/questions regarding the plugin you can reach me <a href="https://wordpress.org/support/plugin/video-background" target="_blank">here.</a>', 'video-background' );
603
+ _e( '<h3>Supporting the Plugin</h3>', 'video-background' );
604
+ _e( '<p>If you like Video Background and want to show your support, consider purchasing the <a href="http://pushlabs.co/video-background-pro" rel="nofollow" target="_blank">pro version</a>. It comes with plenty of helpful features that make your life easier like:</p>', 'video-background' );
605
+ echo '<ul>';
606
+ _e( '<li>Mobile video background playback on supported browsers</li>', 'video-background' );
607
+ _e( '<li>YouTube Integration</li>', 'video-background' );
608
+ _e( '<li>Visual Composer Integration</li>', 'video-background' );
609
+ _e( '<li>Page Builder by SiteOrigin Integration</li>', 'video-background' );
610
+ _e( '<li>Frontend Play/Pause Button Option</li>', 'video-background' );
611
+ _e( '<li>Frontend Volume Button Option</li>', 'video-background' );
612
+ _e( '<li>Overlay Image Textures</li>', 'video-background' );
613
+ _e( '<li>Extensive Documentation</li>', 'video-background' );
614
+ _e( '<li>Video Tutorials</li>', 'video-background' );
615
+ _e( '<li>And Much More!</li>', 'video-background' );
616
+ echo '</ul>';
617
+ _e( '<a href="http://pushlabs.co/video-background-pro" class="button button-primary" rel="nofollow" target="_blank">Learn More About Video Background Pro</a>', 'video-background' );
618
+ echo '<form action="options.php" method="post">';
619
+ settings_fields( 'vidbg_settings' );
620
+ do_settings_sections( 'vidbg_settings' );
621
+ submit_button();
622
+ echo '</form>';
623
+ echo '</div>';
624
  }
625
 
626
  /**
631
  * @uses __()
632
  */
633
  function vidbg_gettingstarted_link($links) {
634
+ $gettingstarted_link = __( '<a href="options-general.php?page=html5-vidbg">Getting Started</a>', 'video-background' );
635
+ array_unshift($links, $gettingstarted_link);
636
+ return $links;
637
  }
638
  add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), 'vidbg_gettingstarted_link' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
css/pushlabs-vidbg.css ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Our video background container */
2
+ .vidbg-container {
3
+ position: absolute;
4
+ z-index: -1;
5
+ top: 0;
6
+ left: 0;
7
+ right: 0;
8
+ bottom: 0;
9
+ overflow: hidden;
10
+ background-size: cover;
11
+ background-repeat: no-repeat;
12
+ background-position: 50% 50%;
13
+ background-color: #444;
14
+ /* The actual video */ }
15
+ .vidbg-container video {
16
+ margin: auto;
17
+ position: absolute;
18
+ z-index: -1;
19
+ top: 50%;
20
+ left: 50%;
21
+ transform: translate(-50%, -50%);
22
+ max-width: none;
23
+ opacity: 0; }
24
+
25
+ /* The overlay shield */
26
+ .vidbg-overlay {
27
+ position: absolute;
28
+ top: 0;
29
+ left: 0;
30
+ right: 0;
31
+ bottom: 0;
32
+ opacity: 1;
33
+ transition: opacity 0.5s ease; }
css/pushlabs-vidbg.scss ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Our video background container */
2
+ .vidbg-container {
3
+ position: absolute;
4
+ z-index: -1;
5
+ top: 0;
6
+ left: 0;
7
+ right: 0;
8
+ bottom: 0;
9
+ overflow: hidden;
10
+ background-size: cover;
11
+ background-repeat: no-repeat;
12
+ background-position: 50% 50%;
13
+ background-color: #444;
14
+
15
+ /* The actual video */
16
+ video {
17
+ margin: auto;
18
+ position: absolute;
19
+ z-index: -1;
20
+ top: 50%;
21
+ left: 50%;
22
+ transform: translate(-50%, -50%);
23
+ max-width: none;
24
+ opacity: 0;
25
+ }
26
+ }
27
+
28
+ /* The overlay shield */
29
+ .vidbg-overlay {
30
+ position: absolute;
31
+ top: 0;
32
+ left: 0;
33
+ right: 0;
34
+ bottom: 0;
35
+ opacity: 1;
36
+ transition: opacity 0.5s ease;
37
+ }
css/vidbg-style-min.css ADDED
@@ -0,0 +1 @@
 
1
+ .button.vidbg-button h5{font-weight:normal;padding:0}.wp-core-ui .button-primary.vidbg-twitter{background:#1da1f2;border-color:#1795E2;-webkit-box-shadow:0 1px 0 #1795E2;box-shadow:0 1px 0 #1795E2;color:#fff;text-decoration:none;text-shadow:0 -1px 1px #1795E2,1px 0 1px #1795E2,0 1px 1px #1795E2,-1px 0 1px #1795E2}#vidbg-metabox #vidbg_advanced_options,#vidbg-metabox .cmb-row{width:100% !important}#vidbg-metabox .cmb-type-file .file-status,#vidbg-metabox .cmb-type-file .cmb2-media-status .img-status{display:none}#vidbg-metabox .cmb-row input.disabled,#vidbg-metabox .cmb-row input:disabled,#vidbg-metabox .cmb-row select.disabled,#vidbg-metabox .cmb-row select:disabled,#vidbg-metabox .cmb-row textarea.disabled,#vidbg-metabox .cmb-row textarea:disabled{background:#f8f8f8}#vidbg-metabox .cmb-row input[type=radio].disabled,#vidbg-metabox .cmb-row input[type=radio].disabled:checked:before,#vidbg-metabox .cmb-row input[type=radio]:disabled,#vidbg-metabox .cmb-row input[type=radio]:disabled:checked:before,#vidbg-metabox .cmb-row input[type=checkbox].disabled,#vidbg-metabox .cmb-row input[type=checkbox].disabled:checked:before,#vidbg-metabox .cmb-row input[type=checkbox]:disabled,#vidbg-metabox .cmb-row input[type=checkbox]:disabled:checked:before{opacity:.5}#vidbg-metabox .cmb2-wrap>.cmb-field-list>.cmb-row.cmb2-id-vidbg-metabox-field-advanced-button{border-top:1px solid #e9e9e9;padding:1.8em 0 1.8em 0;margin-top:-0.85em;margin-bottom:0}#vidbg-metabox .cmb2-id-vidbg-metabox-field-overlay-alpha .cmb-type-vidbg-slider{visibility:hidden}#vidbg-metabox .cmb2-id-vidbg-metabox-field-overlay-alpha .vidbg-slider-field-value-display{float:right;font-weight:400;font-size:12px;color:#888;padding-top:.5em;display:none}#vidbg-metabox .cmb2-id-vidbg-metabox-field-overlay-alpha .ui-corner-all{border-radius:3px}#vidbg-metabox .cmb2-id-vidbg-metabox-field-overlay-alpha .ui-slider{border:1px solid #ddd;background:#F7F7F7;border-radius:3px}#vidbg-metabox .cmb2-id-vidbg-metabox-field-overlay-alpha .ui-slider-horizontal{position:relative}#vidbg-metabox .cmb2-id-vidbg-metabox-field-overlay-alpha .ui-slider-horizontal{width:65%;height:16px}#vidbg-metabox .cmb2-id-vidbg-metabox-field-overlay-alpha .ui-slider-handle{position:absolute}#vidbg-metabox .cmb2-id-vidbg-metabox-field-overlay-alpha .ui-slider-handle{width:22px;height:22px;background:#4FA7B9;border-radius:50%;border:none;cursor:pointer}#vidbg-metabox .cmb2-id-vidbg-metabox-field-overlay-alpha .ui-slider-horizontal .ui-slider-handle{top:50%;margin-top:-11px;margin-left:-11px}#vidbg-metabox .cmb2-id-vidbg-metabox-field-overlay-alpha .ui-slider-range{border:0;border-radius:1;background:#5bb6c9}#vidbg-metabox .cmb2-id-vidbg-metabox-field-overlay-alpha .ui-slider-horizontal .ui-slider-range{position:relative;top:-1px;left:-1px;height:18px}
css/vidbg-style.css CHANGED
@@ -56,12 +56,12 @@
56
  /***********************
57
  jQuery Slider
58
  ***********************/
59
- #vidbg-metabox .cmb2-id-vidbg-metabox-field-overlay-alpha .cmb-type-own-slider {
60
  visibility: hidden;
61
  /* hide slider until color scheme is applied */
62
  }
63
 
64
- #vidbg-metabox .cmb2-id-vidbg-metabox-field-overlay-alpha .own-slider-field-value-display {
65
  float:right;
66
  font-weight: 400;
67
  font-size: 12px;
56
  /***********************
57
  jQuery Slider
58
  ***********************/
59
+ #vidbg-metabox .cmb2-id-vidbg-metabox-field-overlay-alpha .cmb-type-vidbg-slider {
60
  visibility: hidden;
61
  /* hide slider until color scheme is applied */
62
  }
63
 
64
+ #vidbg-metabox .cmb2-id-vidbg-metabox-field-overlay-alpha .vidbg-slider-field-value-display {
65
  float:right;
66
  font-weight: 400;
67
  font-size: 12px;
framework/cmb2_field_slider.php DELETED
@@ -1,24 +0,0 @@
1
- <?php
2
- class OWN_Field_Slider {
3
- const VERSION = '0.1.0';
4
- public function hooks() {
5
- add_filter( 'cmb2_render_own_slider', array( $this, 'own_slider_field' ), 10, 5 );
6
- }
7
- public function own_slider_field( $field, $field_escaped_value, $field_object_id, $field_object_type, $field_type_object ) {
8
- echo '<div class="own-slider-field"></div>';
9
- echo $field_type_object->input( array(
10
- 'type' => 'hidden',
11
- 'class' => 'own-slider-field-value',
12
- 'readonly' => 'readonly',
13
- 'data-start' => absint( $field_escaped_value ),
14
- 'data-min' => $field->min(),
15
- 'data-max' => $field->max(),
16
- 'desc' => '',
17
- ) );
18
- echo '<span class="own-slider-field-value-display">'. $field->value_label() .' <span class="own-slider-field-value-text"></span></span>';
19
- $field_type_object->_desc( true, true );
20
- }
21
- }
22
- $own_field_slider = new OWN_Field_Slider();
23
- $own_field_slider->hooks();
24
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
inc/classes/cmb2_field_slider.php ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Vidbg_Field_Slider {
3
+ const VERSION = '0.1.0';
4
+ public function hooks() {
5
+ add_filter( 'cmb2_render_vidbg_slider', array( $this, 'vidbg_slider_field' ), 10, 5 );
6
+ }
7
+ public function vidbg_slider_field( $field, $field_escaped_value, $field_object_id, $field_object_type, $field_type_object ) {
8
+ echo '<div class="vidbg-slider-field"></div>';
9
+ echo $field_type_object->input( array(
10
+ 'type' => 'hidden',
11
+ 'class' => 'vidbg-slider-field-value',
12
+ 'readonly' => 'readonly',
13
+ 'data-start' => absint( $field_escaped_value ),
14
+ 'data-min' => $field->min(),
15
+ 'data-max' => $field->max(),
16
+ 'desc' => '',
17
+ ) );
18
+ echo '<span class="vidbg-slider-field-value-display">'. $field->value_label() .' <span class="vidbg-slider-field-value-text"></span></span>';
19
+ $field_type_object->_desc( true, true );
20
+ }
21
+ }
22
+ $vidbg_field_slider = new Vidbg_Field_Slider();
23
+ $vidbg_field_slider->hooks();
24
+ ?>
{framework → inc/vendor/cmb2}/CHANGELOG.md RENAMED
File without changes
{framework → inc/vendor/cmb2}/CONTRIBUTING.md RENAMED
File without changes
{framework → inc/vendor/cmb2}/bootstrap.php RENAMED
File without changes
{framework → inc/vendor/cmb2}/css/cmb2-front-rtl.css RENAMED
File without changes
{framework → inc/vendor/cmb2}/css/cmb2-front-rtl.min.css RENAMED
File without changes
{framework → inc/vendor/cmb2}/css/cmb2-front.css RENAMED
File without changes
{framework → inc/vendor/cmb2}/css/cmb2-front.css.map RENAMED
File without changes
{framework → inc/vendor/cmb2}/css/cmb2-front.min.css RENAMED
File without changes
{framework → inc/vendor/cmb2}/css/cmb2-rtl.css RENAMED
File without changes
{framework → inc/vendor/cmb2}/css/cmb2-rtl.min.css RENAMED
File without changes
{framework → inc/vendor/cmb2}/css/cmb2.css RENAMED
File without changes
{framework → inc/vendor/cmb2}/css/cmb2.css.map RENAMED
File without changes
{framework → inc/vendor/cmb2}/css/cmb2.min.css RENAMED
File without changes
{framework → inc/vendor/cmb2}/css/index.php RENAMED
File without changes
{framework → inc/vendor/cmb2}/css/sass/cmb2-front.scss RENAMED
File without changes
{framework → inc/vendor/cmb2}/css/sass/cmb2.scss RENAMED
File without changes
{framework → inc/vendor/cmb2}/css/sass/index.php RENAMED
File without changes
{framework → inc/vendor/cmb2}/css/sass/partials/_collapsible_ui.scss RENAMED
File without changes
{framework → inc/vendor/cmb2}/css/sass/partials/_front.scss RENAMED
File without changes
{framework → inc/vendor/cmb2}/css/sass/partials/_jquery_ui.scss RENAMED
File without changes
{framework → inc/vendor/cmb2}/css/sass/partials/_main_wrap.scss RENAMED
File without changes
{framework → inc/vendor/cmb2}/css/sass/partials/_misc.scss RENAMED
File without changes
{framework → inc/vendor/cmb2}/css/sass/partials/_mixins.scss RENAMED
File without changes
{framework → inc/vendor/cmb2}/css/sass/partials/_post_metaboxes.scss RENAMED
File without changes
{framework → inc/vendor/cmb2}/css/sass/partials/_sidebar_placements.scss RENAMED
File without changes
{framework → inc/vendor/cmb2}/css/sass/partials/_variables.scss RENAMED
File without changes
{framework → inc/vendor/cmb2}/css/sass/partials/index.php RENAMED
File without changes
{framework → inc/vendor/cmb2}/images/ico-delete.png RENAMED
File without changes
{framework → inc/vendor/cmb2}/images/index.php RENAMED
File without changes
{framework → inc/vendor/cmb2}/images/ui-bg_flat_0_aaaaaa_40x100.png RENAMED
File without changes
{framework → inc/vendor/cmb2}/images/ui-bg_flat_75_ffffff_40x100.png RENAMED
File without changes
{framework → inc/vendor/cmb2}/images/ui-bg_glass_55_fbf9ee_1x400.png RENAMED
File without changes
{framework → inc/vendor/cmb2}/images/ui-bg_glass_65_ffffff_1x400.png RENAMED
File without changes
{framework → inc/vendor/cmb2}/images/ui-bg_glass_75_dadada_1x400.png RENAMED
File without changes
{framework → inc/vendor/cmb2}/images/ui-bg_glass_75_e6e6e6_1x400.png RENAMED
File without changes
{framework → inc/vendor/cmb2}/images/ui-bg_glass_95_fef1ec_1x400.png RENAMED
File without changes
{framework → inc/vendor/cmb2}/images/ui-bg_highlight-soft_75_cccccc_1x100.png RENAMED
File without changes
{framework → inc/vendor/cmb2}/images/ui-icons_222222_256x240.png RENAMED
File without changes
{framework → inc/vendor/cmb2}/images/ui-icons_2e83ff_256x240.png RENAMED
File without changes
{framework → inc/vendor/cmb2}/images/ui-icons_454545_256x240.png RENAMED
File without changes
{framework → inc/vendor/cmb2}/images/ui-icons_888888_256x240.png RENAMED
File without changes
{framework → inc/vendor/cmb2}/images/ui-icons_cd0a0a_256x240.png RENAMED
File without changes
{framework → inc/vendor/cmb2}/includes/CMB2.php RENAMED
File without changes
{framework → inc/vendor/cmb2}/includes/CMB2_Ajax.php RENAMED
File without changes
{framework → inc/vendor/cmb2}/includes/CMB2_Boxes.php RENAMED
File without changes
{framework → inc/vendor/cmb2}/includes/CMB2_Field.php RENAMED
File without changes
{framework → inc/vendor/cmb2}/includes/CMB2_JS.php RENAMED
File without changes
{framework → inc/vendor/cmb2}/includes/CMB2_Options.php RENAMED
File without changes
{framework → inc/vendor/cmb2}/includes/CMB2_Sanitize.php RENAMED
File without changes
{framework → inc/vendor/cmb2}/includes/CMB2_Show_Filters.php RENAMED
File without changes
{framework → inc/vendor/cmb2}/includes/CMB2_Types.php RENAMED
File without changes
{framework → inc/vendor/cmb2}/includes/CMB2_Utils.php RENAMED
File without changes
{framework → inc/vendor/cmb2}/includes/CMB2_hookup.php RENAMED
File without changes
{framework → inc/vendor/cmb2}/includes/helper-functions.php RENAMED
File without changes
{framework → inc/vendor/cmb2}/includes/index.php RENAMED
File without changes
{framework → inc/vendor/cmb2}/index.php RENAMED
File without changes
{framework → inc/vendor/cmb2}/init.php RENAMED
File without changes
{framework → inc/vendor/cmb2}/js/cmb2.js RENAMED
File without changes
{framework → inc/vendor/cmb2}/js/cmb2.min.js RENAMED
File without changes
{framework → inc/vendor/cmb2}/js/index.php RENAMED
File without changes
{framework → inc/vendor/cmb2}/js/jquery-ui-timepicker-addon.min.js RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ach.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ach.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-af.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-af.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-an.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-an.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ar.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ar.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-as.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-as.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-az.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-az.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-be.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-be.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-bg.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-bg.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-bg_BG.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-bg_BG.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-bn_BD.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-bn_BD.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-br.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-br.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-bs.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-bs.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-bs_BA.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-bs_BA.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ca.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ca.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-co.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-co.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-cs_CZ.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-cs_CZ.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-cy.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-cy.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-da_DK.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-da_DK.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-de_AT.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-de_AT.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-de_CH.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-de_CH.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-de_DE.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-de_DE.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-dv.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-dv.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-el.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-el.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-en@pirate.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-en@pirate.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-en_AU.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-en_AU.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-en_CA.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-en_CA.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-en_GB.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-en_GB.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-eo.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-eo.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-es_AR.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-es_AR.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-es_CL.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-es_CL.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-es_CO.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-es_CO.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-es_ES.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-es_ES.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-es_MX.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-es_MX.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-es_PE.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-es_PE.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-es_VE.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-es_VE.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-et.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-et.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-eu.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-eu.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-fa.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-fa.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-fa_IR.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-fa_IR.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-fi.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-fi.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-fo.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-fo.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-fr_BE.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-fr_BE.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-fr_CA.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-fr_CA.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-fr_FR.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-fr_FR.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-fy.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-fy.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ga.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ga.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-gd.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-gd.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-gl_ES.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-gl_ES.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-gu_IN.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-gu_IN.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-he_IL.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-he_IL.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-hi_IN.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-hi_IN.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-hr.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-hr.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-hu_HU.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-hu_HU.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-hy.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-hy.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-id_ID.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-id_ID.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-is_IS.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-is_IS.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-it_IT.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-it_IT.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ja.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ja.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-jv.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-jv.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ka.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ka.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ka_GE.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ka_GE.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-kk.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-kk.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-km.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-km.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-kn.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-kn.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ko_KR.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ko_KR.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ku.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ku.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ky.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ky.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-lo.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-lo.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-lt_LT.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-lt_LT.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-lv.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-lv.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-mg.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-mg.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-mk_MK.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-mk_MK.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-mn.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-mn.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-mr.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-mr.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ms_MY.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ms_MY.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-my_MM.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-my_MM.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-nb_NO.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-nb_NO.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ne_NP.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ne_NP.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-nl_BE.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-nl_BE.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-nl_NL.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-nl_NL.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-nn_NO.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-nn_NO.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-oc.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-oc.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-os.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-os.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-pap.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-pap.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-pl_PL.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-pl_PL.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ps.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ps.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-pt_BR.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-pt_BR.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-pt_PT.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-pt_PT.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ro_RO.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ro_RO.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ru_RU.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ru_RU.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-sa.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-sa.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-sah.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-sah.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-si_LK.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-si_LK.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-sk_SK.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-sk_SK.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-sl_SI.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-sl_SI.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-so.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-so.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-sq.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-sq.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-sr_RS.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-sr_RS.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-su.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-su.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-sv_SE.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-sv_SE.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-sw.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-sw.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ta_IN.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ta_IN.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ta_LK.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ta_LK.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-te.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-te.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-tg.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-tg.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-th.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-th.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-tk_TM.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-tk_TM.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-tl.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-tl.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-tr_TR.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-tr_TR.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-tzm.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-tzm.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ug.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ug.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-uk.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-uk.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ur.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ur.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ur_PK.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-ur_PK.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-uz.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-uz.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-vi.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-vi.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-zh_CN.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-zh_CN.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-zh_HK.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-zh_HK.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-zh_TW.mo RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2-zh_TW.po RENAMED
File without changes
{framework → inc/vendor/cmb2}/languages/cmb2.pot RENAMED
File without changes
js/dist/index.php DELETED
@@ -1,2 +0,0 @@
1
- <?php
2
- // Silence is golden.
 
 
js/dist/vidbg.min.js DELETED
@@ -1,6 +0,0 @@
1
- /*!
2
- * Vidbg v1.1 (https://github.com/blakewilson/vidbg)
3
- * Vidbg By Blake Wilson
4
- * @license Licensed Under MIT (https://github.com/blakewilson/vidbg/blob/master/LICENSE)
5
- */
6
- !function(e,t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):e.jQuery)}(this,function($){"use strict";function e(e){var t={},o,i,r,n,s,a,p;for(s=e.replace(/\s*:\s*/g,":").replace(/\s*,\s*/g,",").split(","),p=0,a=s.length;a>p&&(i=s[p],-1===i.search(/^(http|https|ftp):\/\//)&&-1!==i.search(":"));p++)o=i.indexOf(":"),r=i.substring(0,o),n=i.substring(o+1),n||(n=void 0),"string"==typeof n&&(n="true"===n||("false"===n?!1:n)),"string"==typeof n&&(n=isNaN(n)?n:+n),t[r]=n;return null==r&&null==n?e:t}function t(e){e=""+e;var t=e.split(/\s+/),o="50%",i="50%",r,n,s;for(s=0,r=t.length;r>s;s++)n=t[s],"left"===n?o="0%":"right"===n?o="100%":"top"===n?i="0%":"bottom"===n?i="100%":"center"===n?0===s?o="50%":i="50%":0===s?o=n:i=n;return{x:o,y:i}}function o(e){var t=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;e=e.replace(t,function(e,t,o,i){return t+t+o+o+i+i});var o=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return o?{r:parseInt(o[1],16),g:parseInt(o[2],16),b:parseInt(o[3],16)}:null}function i(t,o,i){this.$element=$(t),"string"==typeof o&&(o=e(o)),i?"string"==typeof i&&(i=e(i)):i={},this.settings=$.extend({},n,i),this.path=o;try{this.init()}catch(r){if(r.message!==s)throw r}}var r="vidbg",n={volume:1,playbackRate:1,muted:!0,loop:!0,autoplay:!0,position:"50% 50%",overlay:!1,overlayColor:"#000",overlayAlpha:.3,resizing:!0},s="Not implemented";i.prototype.init=function(){var e=this,i=e.path,n=i,a="",p=e.$element,d=e.settings,c=t(d.position),u,l;l=e.$wrapper=$('<div class="vidbg-container">').css({position:"absolute","z-index":-1,top:0,left:0,bottom:0,right:0,overflow:"hidden","-webkit-background-size":"cover","-moz-background-size":"cover","-o-background-size":"cover","background-size":"cover","background-repeat":"no-repeat","background-position":c.x+" "+c.y}),"object"==typeof i&&(i.poster?n=i.poster:i.mp4?n=i.mp4:i.webm&&(n=i.webm)),l.css("background-image","url("+n+")"),"static"===p.css("position")&&p.css("position","relative"),p.css("z-index","1"),p.is("body")&&l.css({position:"fixed"}),p.prepend(l),"object"==typeof i?(i.mp4&&(a+='<source src="'+i.mp4+'" type="video/mp4">'),i.webm&&(a+='<source src="'+i.webm+'" type="video/webm">'),u=e.$video=$("<video>"+a+"</video>")):u=e.$video=$('<video><source src="'+i+'" type="video/mp4"><source src="'+i+'" type="video/webm"></video>');try{u.prop({autoplay:d.autoplay,loop:d.loop,volume:d.volume,muted:d.muted,defaultMuted:d.muted,playbackRate:d.playbackRate,defaultPlaybackRate:d.playbackRate})}catch(f){throw new Error(s)}u.css({margin:"auto",position:"absolute","z-index":-1,top:c.y,left:c.x,"-webkit-transform":"translate(-"+c.x+", -"+c.y+")","-ms-transform":"translate(-"+c.x+", -"+c.y+")","-moz-transform":"translate(-"+c.x+", -"+c.y+")",transform:"translate(-"+c.x+", -"+c.y+")",visibility:"hidden",opacity:0}).one("canplaythrough."+r,function(){e.resize()}).one("playing."+r,function(){u.css({visibility:"visible",opacity:1}),l.css("background-image","none")}),p.on("resize."+r,function(){d.resizing&&e.resize()}),l.append(u),d.overlay&&$("<div class='vidbg-overlay' style='position:absolute;top:0;right:0;left:0;bottom:0;background: rgba("+o(d.overlayColor).r+", "+o(d.overlayColor).g+", "+o(d.overlayColor).b+", "+d.overlayAlpha+")'></div>").insertAfter($(".vidbg-container > video"))},i.prototype.getVideoObject=function(){return this.$video[0]},i.prototype.resize=function(){if(this.$video){var e=this.$wrapper,t=this.$video,o=t[0],i=o.videoHeight,r=o.videoWidth,n=e.height(),s=e.width();s/r>n/i?t.css({width:s+2,height:"auto"}):t.css({width:"auto",height:n+2})}},i.prototype.destroy=function(){delete $[r].lookup[this.index],this.$video&&this.$video.off(r),this.$element.off(r).removeData(r),this.$wrapper.remove()},$[r]={lookup:[]},$.fn[r]=function(e,t){var o;return this.each(function(){o=$.data(this,r),o&&o.destroy(),o=new i(this,e,t),o.index=$[r].lookup.push(o)-1,$.data(this,r,o)}),this},$(document).ready(function(){var e=$(window);e.on("resize."+r,function(){for(var e=$[r].lookup.length,t=0,o;e>t;t++)o=$[r].lookup[t],o&&o.settings.resizing&&o.resize()}),e.on("unload."+r,function(){return!1}),$(document).find("[data-"+r+"-bg]").each(function(e,t){var o=$(t),i=o.data(r+"-options"),n=o.data(r+"-bg");o[r](n,i)})})});
 
 
 
 
 
 
js/vidbg-backend-min.js ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery( document ).ready(function($) {
2
+
3
+ // show advanced options on click
4
+ $(function() {
5
+ $('#vidbg_advanced_options').hide();
6
+ $(".cmb2-id-vidbg-metabox-field-advanced-button a").click(function(e) {
7
+ e.preventDefault();
8
+ if ($('#vidbg_advanced_options').css('display') === 'none') {
9
+ $('#vidbg_advanced_options').show(500);
10
+ $('a.advanced-options-button').text(vidbg_localized_text.hide_advanced);
11
+ } else {
12
+ $('#vidbg_advanced_options').hide(500);
13
+ $('a.advanced-options-button').text(vidbg_localized_text.show_advanced);
14
+ }
15
+ });
16
+ });
17
+
18
+ // show extra overlay settings if enabled
19
+ $(function(){
20
+ $('#vidbg_metabox_field_overlay1, #vidbg_metabox_field_overlay2').bind('change', function (e) {
21
+ if( $('#vidbg_metabox_field_overlay1').is(':checked')) {
22
+ $('.cmb2-id-vidbg-metabox-field-overlay-color, .cmb2-id-vidbg-metabox-field-overlay-alpha, .cmb2-id-pro-disabled-field-overlay_texture').hide(500);
23
+ }
24
+ else if( $('#vidbg_metabox_field_overlay2').is(':checked')) {
25
+ $('.cmb2-id-vidbg-metabox-field-overlay-color, .cmb2-id-vidbg-metabox-field-overlay-alpha, .cmb2-id-pro-disabled-field-overlay_texture').show(500);
26
+ }
27
+ }).trigger('change');
28
+ });
29
+
30
+ // Loop through all cmb-type-slider-field instances and instantiate the slider UI
31
+ $( '.cmb-type-vidbg-slider' ).each(function() {
32
+ var $this = $( this );
33
+ var $value = $this.find( '.vidbg-slider-field-value' );
34
+ var $slider = $this.find( '.vidbg-slider-field' );
35
+ var $text = $this.find( '.vidbg-slider-field-value-text' );
36
+ var $range = $this.find( '.ui-slider-range' );
37
+ var slider_data = $value.data();
38
+
39
+ $slider.slider({
40
+ range : 'min',
41
+ value : slider_data.start,
42
+ min : slider_data.min,
43
+ animate : 'fast',
44
+ max : slider_data.max,
45
+ slide : function( event, ui ) {
46
+ $value.val( ui.value );
47
+ $text.text( ui.value );
48
+ }
49
+ });
50
+
51
+ // Initiate the display
52
+ $value.val( $slider.slider( 'value' ) );
53
+ $text.text( $slider.slider( 'value' ) );
54
+
55
+ $this.css({
56
+ 'visibility': 'visible',
57
+ });
58
+ });
59
+
60
+
61
+ // Ajax used to permanently dismiss premium notice message
62
+ jQuery(document).on( 'click', '.vidbg-premium-notice .notice-dismiss', function() {
63
+ jQuery.ajax({
64
+ url: ajaxurl,
65
+ data: {
66
+ action: 'vidbg_dismiss_premium_notice'
67
+ }
68
+ })
69
+ })
70
+
71
+ });
72
+
73
+
js/vidbg-backend.js CHANGED
@@ -28,11 +28,11 @@ jQuery( document ).ready(function($) {
28
  });
29
 
30
  // Loop through all cmb-type-slider-field instances and instantiate the slider UI
31
- $( '.cmb-type-own-slider' ).each(function() {
32
  var $this = $( this );
33
- var $value = $this.find( '.own-slider-field-value' );
34
- var $slider = $this.find( '.own-slider-field' );
35
- var $text = $this.find( '.own-slider-field-value-text' );
36
  var $range = $this.find( '.ui-slider-range' );
37
  var slider_data = $value.data();
38
 
28
  });
29
 
30
  // Loop through all cmb-type-slider-field instances and instantiate the slider UI
31
+ $( '.cmb-type-vidbg-slider' ).each(function() {
32
  var $this = $( this );
33
+ var $value = $this.find( '.vidbg-slider-field-value' );
34
+ var $slider = $this.find( '.vidbg-slider-field' );
35
+ var $text = $this.find( '.vidbg-slider-field-value-text' );
36
  var $range = $this.find( '.ui-slider-range' );
37
  var slider_data = $value.data();
38
 
js/vidbg.js ADDED
@@ -0,0 +1,315 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Video Background
3
+ * Copyright 2017 Push Labs
4
+ * @preserve
5
+ */
6
+
7
+ (function($){
8
+ $.vidbg = function(el, options){
9
+ // To avoid scope issues, use 'base' instead of 'this'
10
+ // to reference this class from internal events and functions.
11
+ var base = this;
12
+
13
+ // Not implemented message
14
+ var NOT_IMPLEMENTED_MSG = 'Not implemented';
15
+
16
+ // Access to jQuery and DOM versions of element
17
+ base.$el = $(el);
18
+ base.el = el;
19
+
20
+ // Add a reverse reference to the DOM object
21
+ base.$el.data("vidbg", base);
22
+
23
+ /**
24
+ * Hex to RGB converted for overlay
25
+ * @private
26
+ * @param {String} hex
27
+ * @returns {}
28
+ */
29
+ function hexToRGB( hex ) {
30
+ // expand the shorthand hex to full form
31
+ var shorthandRegex = /^#?([a-f\d])([a-f\d])([a-f\d])$/i;
32
+ hex = hex.replace(shorthandRegex, function(m, r, g, b) {
33
+ return r + r + g + g + b + b;
34
+ });
35
+
36
+ var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
37
+ return result ? {
38
+ r: parseInt(result[1], 16),
39
+ g: parseInt(result[2], 16),
40
+ b: parseInt(result[3], 16)
41
+ } : null;
42
+ }
43
+
44
+ base.init = function(){
45
+ // Extend our plugin options to our init function
46
+ base.options = $.extend({},$.vidbg.defaultOptions, options);
47
+
48
+ // Create the vidbg-container element
49
+ base.container();
50
+
51
+ // Display our poster fallback image if applicable
52
+ base.displayPoster();
53
+
54
+ // Display our self hosted video if applicable
55
+ base.selfHostVideo();
56
+
57
+ // Add our overlay to be initialized
58
+ base.overlay();
59
+ };
60
+
61
+ /**
62
+ * Our mobile detector
63
+ * @public
64
+ */
65
+ base.isMobile = function() {
66
+ var mobileBrowsers = navigator.userAgent.match(/(Android|iPod|iPhone|iPad|BlackBerry|IEMobile|Opera Mini)/);
67
+
68
+ // Check the media query
69
+ if ( mobileBrowsers ) {
70
+ return true;
71
+ } else {
72
+ return false;
73
+ }
74
+ };
75
+
76
+ /**
77
+ * The video background container
78
+ * @public
79
+ */
80
+ base.container = function() {
81
+ // Create the vidbg container
82
+ var $container = base.$container = $( '<div class="vidbg-container">' );
83
+
84
+ // If the containers position is not relative, make it relative
85
+ if ( base.$el.css( 'position' ) === 'static' ) {
86
+ base.$el.css( 'position', 'relative' );
87
+ }
88
+
89
+ // make the container's z-index 1
90
+ base.$el.css( 'z-index', '1' );
91
+
92
+ // Add the vidbg container to the selector element
93
+ $( base.$el ).prepend( $container );
94
+
95
+ // If the selector is body make the containers position fixed
96
+ if ( base.$el.is( 'body' ) ) {
97
+ $container.css({
98
+ position: 'fixed'
99
+ });
100
+ }
101
+ };
102
+
103
+ /**
104
+ * The video overlay
105
+ * @public
106
+ */
107
+ base.overlay = function() {
108
+ var $container = base.$container;
109
+
110
+ /**
111
+ * Create our overlay
112
+ * We are always going to include the overlay to hide the video options
113
+ * on right click.
114
+ */
115
+ var $overlay = base.$overlay = $( '<div class="vidbg-overlay">' );
116
+
117
+ // If the overlay is enabled, add the color
118
+ if ( base.options.overlay === true ) {
119
+ $overlay.css({
120
+ background: 'rgba(' + hexToRGB(base.options.overlayColor).r + ', ' + hexToRGB(base.options.overlayColor).g + ', ' + hexToRGB(base.options.overlayColor).b + ', ' + base.options.overlayAlpha + ')',
121
+ });
122
+ }
123
+
124
+ // Add the vidbg overlay to the container
125
+ $container.append( $overlay );
126
+
127
+ };
128
+
129
+ /**
130
+ * The function to display the poster fallback
131
+ * @public
132
+ */
133
+ base.displayPoster = function() {
134
+ // Declare our variables
135
+ var $container = base.$container;
136
+
137
+ if ( base.options.poster === '#' ) {
138
+ return;
139
+ }
140
+
141
+ // If VBP is mobile, display the poster image
142
+ if ( base.isMobile() === true ) {
143
+ $container.css( 'background-image', 'url(' + base.options.poster + ')' );
144
+ } else {
145
+ if ( base.options.type === 'self-host' && ( base.options.mp4 === '#' && base.options.webm === '#' ) ) {
146
+ $container.css( 'background-image', 'url(' + base.options.poster + ')' );
147
+ }
148
+ }
149
+
150
+ };
151
+
152
+ /**
153
+ * The function to create the self hosted video background
154
+ * @public
155
+ */
156
+ base.selfHostVideo = function() {
157
+ // If VBP is mobile, quit
158
+ if ( base.isMobile() === true ) {
159
+ return;
160
+ }
161
+
162
+ // Delcare our variables
163
+ var $container = base.$container;
164
+
165
+ // Create the <video> HTML element for the video background
166
+ var $selfHostVideo = base.$selfHostVideo = $( '<video playsinline>' +
167
+ '<source src="' + base.options.mp4 + '" type="video/mp4">' +
168
+ '<source src="' + base.options.webm + '" type="video/webm">' +
169
+ '</video>' );
170
+
171
+ // Add the video properities
172
+ try {
173
+ $selfHostVideo
174
+
175
+ .prop({
176
+ autoplay: true,
177
+ loop: base.options.repeat,
178
+ volume: 1,
179
+ muted: base.options.mute,
180
+ defaultMuted: base.options.mute,
181
+ playbackRate: 1,
182
+ defaultPlaybackRate: 1,
183
+ });
184
+ } catch (e) {
185
+ throw new Error(NOT_IMPLEMENTED_MSG);
186
+ }
187
+
188
+ // Size the video accordingly to its container
189
+ $selfHostVideo.one( 'canplaythrough.vidbg', function() {
190
+ base.resize();
191
+ });
192
+
193
+ /**
194
+ * Once the video is playing, display it
195
+ * This mitigates the risk of the video resizing after the video is displayed
196
+ */
197
+ $selfHostVideo.one( 'playing.vidbg', function() {
198
+ $selfHostVideo.css({
199
+ opacity: 1
200
+ });
201
+ });
202
+
203
+ // Append the video to the container
204
+ $container.append( $selfHostVideo );
205
+ };
206
+
207
+ /**
208
+ * The function that sizes and resizes the video backgrounds
209
+ * @public
210
+ */
211
+ base.resize = function() {
212
+ // Check if mobile
213
+ if ( base.isMobile() === true ) {
214
+ return;
215
+ }
216
+
217
+ // Define our variables
218
+ var $container = base.$container;
219
+
220
+ // Get the container size
221
+ var containerHeight = $container.outerHeight();
222
+ var containerWidth = $container.outerWidth();
223
+
224
+ // Get our video element
225
+ var $video;
226
+ $video = base.$selfHostVideo;
227
+
228
+ // Get our video size
229
+ var videoHeight, videoWidth;
230
+ videoHeight = $video[0].videoHeight;
231
+ videoWidth = $video[0].videoWidth;
232
+
233
+ // Our resize logic for self hosted video backgrounds, pretty simple.
234
+ if ( containerWidth / videoWidth > containerHeight / videoHeight ) {
235
+ $video.css({
236
+ // Add 2 pixels to mitigate empty space when resizing
237
+ width: containerWidth + 2,
238
+ height: 'auto',
239
+ });
240
+ } else {
241
+ $video.css({
242
+ width: 'auto',
243
+ height: containerHeight + 2
244
+ });
245
+ }
246
+ };
247
+
248
+ // Run initializer
249
+ base.init();
250
+ };
251
+
252
+ /**
253
+ * Our default options
254
+ * @public
255
+ * @type {Object}
256
+ */
257
+ $.vidbg.defaultOptions = {
258
+ mp4: '#', // The mp4 link if type is set to self-host
259
+ webm: '#', // The webm link if type is set to self-host
260
+ poster: '#', // The fallback image if on mobile
261
+ mute: true, // Video mute
262
+ repeat: true, // Video loop
263
+ overlay: false, // The video overlay
264
+ overlayColor: '#000', // The default overlay color if enabled
265
+ overlayAlpha: '0.3', // The default overlay transparancy if enabled
266
+ };
267
+
268
+ /**
269
+ * An object for keeping track of instances
270
+ * @public
271
+ * @type {Object}
272
+ */
273
+ $.vidbg.instanceCollection = {
274
+ instance: []
275
+ };
276
+
277
+ /**
278
+ * Create the plugin and instances
279
+ * @param {Ojbect|String} options
280
+ * @returns {jQuery}
281
+ * @constructor
282
+ */
283
+ $.fn.vidbg = function(options){
284
+ return this.each(function(){
285
+ // Get the plugin data
286
+ var instance = $.data( this, 'vidbg' );
287
+
288
+ // Create the instance
289
+ instance = new $.vidbg( this, options );
290
+ instance.index = $.vidbg.instanceCollection.instance.push( instance ) - 1;
291
+ $.data( this, 'vidbg', instance );
292
+ });
293
+ };
294
+
295
+ /**
296
+ * Our Ready function
297
+ * Resize will go here for each instance
298
+ */
299
+ $( document ).ready( function() {
300
+ var $window = $(window);
301
+
302
+ // Resize the video backgrounds
303
+ $window.on( 'resize.vidbg', function() {
304
+ for ( var len = $.vidbg.instanceCollection.instance.length, i = 0, instance; i < len; i++ ) {
305
+ instance = $.vidbg.instanceCollection.instance[i];
306
+
307
+ if ( instance ) {
308
+ instance.resize();
309
+ }
310
+ }
311
+ });
312
+
313
+ });
314
+
315
+ })(jQuery);
js/vidbg.min.js ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ /**
2
+ * Video Background
3
+ * Copyright 2017 Push Labs
4
+ * @preserve
5
+ */
6
+ !function($){$.vidbg=function(o,e){function i(o){var e=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;o=o.replace(e,function(o,e,i,t){return e+e+i+i+t+t});var i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(o);return i?{r:parseInt(i[1],16),g:parseInt(i[2],16),b:parseInt(i[3],16)}:null}var t=this,n="Not implemented";t.$el=$(o),t.el=o,t.$el.data("vidbg",t),t.init=function(){t.options=$.extend({},$.vidbg.defaultOptions,e),t.container(),t.displayPoster(),t.selfHostVideo(),t.overlay()},t.isMobile=function(){return!!navigator.userAgent.match(/(Android|iPod|iPhone|iPad|BlackBerry|IEMobile|Opera Mini)/)},t.container=function(){var o=t.$container=$('<div class="vidbg-container">');"static"===t.$el.css("position")&&t.$el.css("position","relative"),t.$el.css("z-index","1"),$(t.$el).prepend(o),t.$el.is("body")&&o.css({position:"fixed"})},t.overlay=function(){var o=t.$container,e=t.$overlay=$('<div class="vidbg-overlay">');!0===t.options.overlay&&e.css({background:"rgba("+i(t.options.overlayColor).r+", "+i(t.options.overlayColor).g+", "+i(t.options.overlayColor).b+", "+t.options.overlayAlpha+")"}),o.append(e)},t.displayPoster=function(){var o=t.$container;"#"!==t.options.poster&&(!0===t.isMobile()?o.css("background-image","url("+t.options.poster+")"):"self-host"===t.options.type&&"#"===t.options.mp4&&"#"===t.options.webm&&o.css("background-image","url("+t.options.poster+")"))},t.selfHostVideo=function(){if(!0!==t.isMobile()){var o=t.$container,e=t.$selfHostVideo=$('<video playsinline><source src="'+t.options.mp4+'" type="video/mp4"><source src="'+t.options.webm+'" type="video/webm"></video>');try{e.prop({autoplay:!0,loop:t.options.repeat,volume:1,muted:t.options.mute,defaultMuted:t.options.mute,playbackRate:1,defaultPlaybackRate:1})}catch(o){throw new Error("Not implemented")}e.one("canplaythrough.vidbg",function(){t.resize()}),e.one("playing.vidbg",function(){e.css({opacity:1})}),o.append(e)}},t.resize=function(){if(!0!==t.isMobile()){var o=t.$container,e=o.outerHeight(),i=o.outerWidth(),n;n=t.$selfHostVideo;var a,s;a=n[0].videoHeight,s=n[0].videoWidth,i/s>e/a?n.css({width:i+2,height:"auto"}):n.css({width:"auto",height:e+2})}},t.init()},$.vidbg.defaultOptions={mp4:"#",webm:"#",poster:"#",mute:!0,repeat:!0,overlay:!1,overlayColor:"#000",overlayAlpha:"0.3"},$.vidbg.instanceCollection={instance:[]},$.fn.vidbg=function(o){return this.each(function(){var e=$.data(this,"vidbg");e=new $.vidbg(this,o),e.index=$.vidbg.instanceCollection.instance.push(e)-1,$.data(this,"vidbg",e)})},$(document).ready(function(){$(window).on("resize.vidbg",function(){for(var o=$.vidbg.instanceCollection.instance.length,e=0,i;e<o;e++)(i=$.vidbg.instanceCollection.instance[e])&&i.resize()})})}(jQuery);
languages/video-background.pot CHANGED
@@ -3,14 +3,14 @@ msgid ""
3
  msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: Video Background\n"
6
- "POT-Creation-Date: 2016-08-08 01:20-0700\n"
7
  "PO-Revision-Date: 2016-03-30 22:31-0700\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
- "X-Generator: Poedit 1.8.7\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-WPHeader: candide-vidbg.php\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
@@ -22,260 +22,304 @@ msgstr ""
22
 
23
  #: admin_premium_notice.php:11
24
  msgid ""
25
- "Digital agencies and web developers rejoice! Video Background Pro now offers "
26
- "multi-site licenses! <a href=\"http://pushlabs.co/video-background-pro\" rel="
27
- "\"nofollow\" target=\"_blank\">Check out Video Background Pro!</a>"
28
  msgstr ""
29
 
30
- #: candide-vidbg.php:71
31
  msgid "Show Advanced Options"
32
  msgstr ""
33
 
34
- #: candide-vidbg.php:72
35
  msgid "Hide Advanced Options"
36
  msgstr ""
37
 
38
  #. Plugin Name of the plugin/theme
39
- #: candide-vidbg.php:170
40
  msgid "Video Background"
41
  msgstr ""
42
 
43
- #: candide-vidbg.php:177
44
  msgid "Container"
45
  msgstr ""
46
 
47
- #: candide-vidbg.php:178
48
  msgid ""
49
  "Please specify the container you would like your video background to be in."
50
  "<br>ex: <code>.header</code> or <code>body</code>"
51
  msgstr ""
52
 
53
- #: candide-vidbg.php:182
54
  msgid "YouTube Link"
55
  msgstr ""
56
 
57
- #: candide-vidbg.php:185
58
  msgid ""
59
  "To create YouTube video backgrounds, <a href=\"http://pushlabs.co/video-"
60
  "background-pro\" rel=\"nofollow\" target=\"_blank\">please download the pro "
61
  "version!</a>"
62
  msgstr ""
63
 
64
- #: candide-vidbg.php:190
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  msgid "Link to .mp4"
66
  msgstr ""
67
 
68
- #: candide-vidbg.php:191
69
  msgid ""
70
  "Please specify the link to the .mp4 file. You can either enter a URL or "
71
  "upload a file.<br>For browser compatability, please enter an .mp4 and .webm "
72
  "file for video backgrounds."
73
  msgstr ""
74
 
75
- #: candide-vidbg.php:195
76
  msgid "Upload .mp4 file"
77
  msgstr ""
78
 
79
- #: candide-vidbg.php:200
80
  msgid "Link to .webm"
81
  msgstr ""
82
 
83
- #: candide-vidbg.php:201
84
  msgid ""
85
  "Please specify the link to the .webm file. You can either enter a URL or "
86
  "upload a file.<br>For browser compatability, please enter an .mp4 and .webm "
87
  "file for video backgrounds."
88
  msgstr ""
89
 
90
- #: candide-vidbg.php:205
91
  msgid "Upload .webm file"
92
  msgstr ""
93
 
94
- #: candide-vidbg.php:210
95
  msgid "Link to fallback image"
96
  msgstr ""
97
 
98
- #: candide-vidbg.php:211
99
  msgid ""
100
  "Please specify a link to the fallback image in case the browser does not "
101
  "support video backgrounds. You can either enter a URL or upload a file."
102
  msgstr ""
103
 
104
- #: candide-vidbg.php:215
105
  msgid "Upload fallback image"
106
  msgstr ""
107
 
108
- #: candide-vidbg.php:220
109
  msgid "Overlay"
110
  msgstr ""
111
 
112
- #: candide-vidbg.php:221
113
  msgid ""
114
  "Add an overlay over the video. This is useful if your text isn't readable "
115
  "with a video background."
116
  msgstr ""
117
 
118
- #: candide-vidbg.php:226 candide-vidbg.php:263 candide-vidbg.php:275
119
  msgid "Off"
120
  msgstr ""
121
 
122
- #: candide-vidbg.php:227 candide-vidbg.php:264 candide-vidbg.php:276
123
  msgid "On"
124
  msgstr ""
125
 
126
- #: candide-vidbg.php:233
127
  msgid "Overlay Color"
128
  msgstr ""
129
 
130
- #: candide-vidbg.php:234
131
  msgid ""
132
  "If overlay is enabled, a color will be used for the overlay. You can specify "
133
  "the color here."
134
  msgstr ""
135
 
136
- #: candide-vidbg.php:241
137
  msgid "Overlay Opacity"
138
  msgstr ""
139
 
140
- #: candide-vidbg.php:242
141
  msgid ""
142
  "Specify the opacity of the overlay with the left being mostly transparent "
143
  "and the right being hardly transparent."
144
  msgstr ""
145
 
146
- #: candide-vidbg.php:249
147
  msgid "Overlay Texture"
148
  msgstr ""
149
 
150
- #: candide-vidbg.php:252
151
  msgid ""
152
  "To add overlay textures to your video background, <a href=\"http://pushlabs."
153
  "co/video-background-pro\" rel=\"nofollow\" target=\"_blank\">please download "
154
  "the pro version!</a>"
155
  msgstr ""
156
 
157
- #: candide-vidbg.php:257
158
  msgid "Turn off loop?"
159
  msgstr ""
160
 
161
- #: candide-vidbg.php:258
162
  msgid ""
163
  "Turn off the loop for Video Background. Once the video is complete, it will "
164
  "display the last frame of the video."
165
  msgstr ""
166
 
167
- #: candide-vidbg.php:269
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
168
  msgid "Play the audio?"
169
  msgstr ""
170
 
171
- #: candide-vidbg.php:270
172
  msgid "Enabling this will play the audio of the video."
173
  msgstr ""
174
 
175
- #: candide-vidbg.php:279
176
  msgid "Enable Play/Pause button"
177
  msgstr ""
178
 
179
- #: candide-vidbg.php:282
180
  msgid ""
181
  "To enable a play/pause button on the frontend, <a href=\"http://pushlabs.co/"
182
  "video-background-pro\" rel=\"nofollow\" target=\"_blank\">please download "
183
  "the pro version!</a>"
184
  msgstr ""
185
 
186
- #: candide-vidbg.php:284
187
  msgid "Enable Mute/Unmute button"
188
  msgstr ""
189
 
190
- #: candide-vidbg.php:287
191
  msgid ""
192
  "To enable a mute/unmute button on the frontend, <a href=\"http://pushlabs.co/"
193
  "video-background-pro\" rel=\"nofollow\" target=\"_blank\">please download "
194
  "the pro version!</a>"
195
  msgstr ""
196
 
197
- #: candide-vidbg.php:292
198
  msgid ""
199
  "<a href=\"#vidbg_advanced_options\" class=\"button vidbg-button advanced-"
200
  "options-button\">Show Advanced options</a>"
201
  msgstr ""
202
 
203
- #: candide-vidbg.php:491 candide-vidbg.php:498
204
  msgid "Hide Muted Pro Fields"
205
  msgstr ""
206
 
207
- #: candide-vidbg.php:536
208
  msgid ""
209
  "Okay, Okay, some of you don't want/need Video Background Pro. I get that. "
210
  "That's why you can hide the muted pro fields below :)"
211
  msgstr ""
212
 
213
- #: candide-vidbg.php:551
214
  msgid "<h2>Video Background</h2>"
215
  msgstr ""
216
 
217
- #: candide-vidbg.php:552
218
  msgid ""
219
  "<p>Video background makes it easy to add responsive, great looking video "
220
  "backgrounds to any element on your website.</p>"
221
  msgstr ""
222
 
223
- #: candide-vidbg.php:553
224
  msgid "<h3>Getting Started</h3>"
225
  msgstr ""
226
 
227
- #: candide-vidbg.php:554
228
  msgid ""
229
  "<p>To implement Video Background on your website, please follow the "
230
  "instructions below."
231
  msgstr ""
232
 
233
- #: candide-vidbg.php:556
234
  msgid ""
235
  "<li>Edit the page or post you would like the video background to appear on.</"
236
  "li>"
237
  msgstr ""
238
 
239
- #: candide-vidbg.php:557
240
  msgid ""
241
  "<li>Below the content editor, you should see a metabox titled <b>Video "
242
  "Background</b>. Enter the values for the required fields and publish/update "
243
  "the page.</li>"
244
  msgstr ""
245
 
246
- #: candide-vidbg.php:558
247
  msgid "<li>Enjoy.</li>"
248
  msgstr ""
249
 
250
- #: candide-vidbg.php:560
251
  msgid ""
252
  "<p>Alternatively, you can use the shortcode by placing the following code at "
253
  "the bottom of the content editor of the page or post you would like the "
254
  "video background to appear on. Here is how it works:</p>"
255
  msgstr ""
256
 
257
- #: candide-vidbg.php:562
258
  msgid ""
259
- "<a href=\"http://blakewilson.me/projects/video-background/\" class=\"button"
260
- "\" target=\"_blank\">Further Documentation</a>"
261
  msgstr ""
262
 
263
- #: candide-vidbg.php:563
264
  msgid "<h3>Questions?</h3>"
265
  msgstr ""
266
 
267
- #: candide-vidbg.php:564
268
  msgid ""
269
  "<p>If you have any feedback/questions regarding the plugin you can reach me "
270
  "<a href=\"https://wordpress.org/support/plugin/video-background\" target="
271
  "\"_blank\">here.</a>"
272
  msgstr ""
273
 
274
- #: candide-vidbg.php:565
275
  msgid "<h3>Supporting the Plugin</h3>"
276
  msgstr ""
277
 
278
- #: candide-vidbg.php:566
279
  msgid ""
280
  "<p>If you like Video Background and want to show your support, consider "
281
  "purchasing the <a href=\"http://pushlabs.co/video-background-pro\" rel="
@@ -283,257 +327,260 @@ msgid ""
283
  "helpful features that make your life easier like:</p>"
284
  msgstr ""
285
 
286
- #: candide-vidbg.php:568
 
 
 
 
287
  msgid "<li>YouTube Integration</li>"
288
  msgstr ""
289
 
290
- #: candide-vidbg.php:569
291
  msgid "<li>Visual Composer Integration</li>"
292
  msgstr ""
293
 
294
- #: candide-vidbg.php:570
295
  msgid "<li>Page Builder by SiteOrigin Integration</li>"
296
  msgstr ""
297
 
298
- #: candide-vidbg.php:571
299
  msgid "<li>Frontend Play/Pause Button Option</li>"
300
  msgstr ""
301
 
302
- #: candide-vidbg.php:572
303
  msgid "<li>Frontend Volume Button Option</li>"
304
  msgstr ""
305
 
306
- #: candide-vidbg.php:573
307
  msgid "<li>Overlay Image Textures</li>"
308
  msgstr ""
309
 
310
- #: candide-vidbg.php:574
311
  msgid "<li>Extensive Documentation</li>"
312
  msgstr ""
313
 
314
- #: candide-vidbg.php:575
315
  msgid "<li>Video Tutorials</li>"
316
  msgstr ""
317
 
318
- #: candide-vidbg.php:576
319
  msgid "<li>And Much More!</li>"
320
  msgstr ""
321
 
322
- #: candide-vidbg.php:578
323
  msgid ""
324
  "<a href=\"http://pushlabs.co/video-background-pro\" class=\"button button-"
325
  "primary\" rel=\"nofollow\" target=\"_blank\">Learn More About Video "
326
  "Background Pro</a>"
327
  msgstr ""
328
 
329
- #: candide-vidbg.php:579
330
- msgid ""
331
- " <a href=\"https://twitter.com/intent/follow?screen_name=blakewilsonme\" "
332
- "class=\"button button-primary vidbg-twitter\" target=\"_blank\">Get Updates "
333
- "on Twitter</a>"
334
- msgstr ""
335
-
336
- #: candide-vidbg.php:596
337
  msgid "<a href=\"options-general.php?page=html5-vidbg\">Getting Started</a>"
338
  msgstr ""
339
 
340
- #: framework/includes/CMB2.php:122
341
  msgid "Metabox configuration is required to have an ID parameter"
342
  msgstr ""
343
 
344
- #: framework/includes/CMB2.php:375
345
  msgid "Click to toggle"
346
  msgstr ""
347
 
348
- #: framework/includes/CMB2_Ajax.php:65
349
  msgid "Please Try Again"
350
  msgstr ""
351
 
352
- #: framework/includes/CMB2_Ajax.php:155
353
  msgid "Remove Embed"
354
  msgstr ""
355
 
356
- #: framework/includes/CMB2_Ajax.php:159
357
  #, php-format
358
  msgid "No oEmbed Results Found for %s. View more info at"
359
  msgstr ""
360
 
361
- #: framework/includes/CMB2_Field.php:1030
362
  msgid "Add Group"
363
  msgstr ""
364
 
365
- #: framework/includes/CMB2_Field.php:1031
366
  msgid "Remove Group"
367
  msgstr ""
368
 
369
- #: framework/includes/CMB2_Field.php:1053
370
- #: framework/includes/CMB2_Field.php:1057
371
  msgid "None"
372
  msgstr ""
373
 
374
- #: framework/includes/CMB2_JS.php:86 framework/includes/CMB2_JS.php:119
 
375
  msgid "Clear"
376
  msgstr ""
377
 
378
- #: framework/includes/CMB2_JS.php:87
379
  msgid "Default"
380
  msgstr ""
381
 
382
- #: framework/includes/CMB2_JS.php:88
383
  msgid "Select Color"
384
  msgstr ""
385
 
386
- #: framework/includes/CMB2_JS.php:89
387
  msgid "Current Color"
388
  msgstr ""
389
 
390
- #: framework/includes/CMB2_JS.php:109
391
  msgctxt "Valid formatDate string for jquery-ui datepicker"
392
  msgid "mm/dd/yy"
393
  msgstr ""
394
 
395
- #: framework/includes/CMB2_JS.php:110
396
  msgid "Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday"
397
  msgstr ""
398
 
399
- #: framework/includes/CMB2_JS.php:111
400
  msgid "Su, Mo, Tu, We, Th, Fr, Sa"
401
  msgstr ""
402
 
403
- #: framework/includes/CMB2_JS.php:112
404
  msgid "Sun, Mon, Tue, Wed, Thu, Fri, Sat"
405
  msgstr ""
406
 
407
- #: framework/includes/CMB2_JS.php:113
408
  msgid ""
409
  "January, February, March, April, May, June, July, August, September, "
410
  "October, November, December"
411
  msgstr ""
412
 
413
- #: framework/includes/CMB2_JS.php:114
414
  msgid "Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec"
415
  msgstr ""
416
 
417
- #: framework/includes/CMB2_JS.php:115
418
  msgid "Next"
419
  msgstr ""
420
 
421
- #: framework/includes/CMB2_JS.php:116
422
  msgid "Prev"
423
  msgstr ""
424
 
425
- #: framework/includes/CMB2_JS.php:117
426
  msgid "Today"
427
  msgstr ""
428
 
429
- #: framework/includes/CMB2_JS.php:118 framework/includes/CMB2_JS.php:128
 
430
  msgid "Done"
431
  msgstr ""
432
 
433
- #: framework/includes/CMB2_JS.php:122
434
  msgid "Choose Time"
435
  msgstr ""
436
 
437
- #: framework/includes/CMB2_JS.php:123
438
  msgid "Time"
439
  msgstr ""
440
 
441
- #: framework/includes/CMB2_JS.php:124
442
  msgid "Hour"
443
  msgstr ""
444
 
445
- #: framework/includes/CMB2_JS.php:125
446
  msgid "Minute"
447
  msgstr ""
448
 
449
- #: framework/includes/CMB2_JS.php:126
450
  msgid "Second"
451
  msgstr ""
452
 
453
- #: framework/includes/CMB2_JS.php:127
454
  msgid "Now"
455
  msgstr ""
456
 
457
- #: framework/includes/CMB2_JS.php:129
458
  msgctxt ""
459
  "Valid formatting string, as per http://trentrichardson.com/examples/"
460
  "timepicker/"
461
  msgid "hh:mm TT"
462
  msgstr ""
463
 
464
- #: framework/includes/CMB2_JS.php:135
465
  msgid "Use this file"
466
  msgstr ""
467
 
468
- #: framework/includes/CMB2_JS.php:136
469
  msgid "Use these files"
470
  msgstr ""
471
 
472
- #: framework/includes/CMB2_JS.php:137 framework/includes/CMB2_Types.php:1021
 
473
  msgid "Remove Image"
474
  msgstr ""
475
 
476
- #: framework/includes/CMB2_JS.php:138 framework/includes/CMB2_Types.php:357
477
- #: framework/includes/CMB2_Types.php:1040
 
478
  msgid "Remove"
479
  msgstr ""
480
 
481
- #: framework/includes/CMB2_JS.php:139 framework/includes/CMB2_Types.php:1035
 
482
  msgid "File:"
483
  msgstr ""
484
 
485
- #: framework/includes/CMB2_JS.php:140 framework/includes/CMB2_Types.php:1038
 
486
  msgid "Download"
487
  msgstr ""
488
 
489
- #: framework/includes/CMB2_JS.php:141
490
  msgid "Select / Deselect All"
491
  msgstr ""
492
 
493
- #: framework/includes/CMB2_Types.php:298
494
  msgid "Add Row"
495
  msgstr ""
496
 
497
- #: framework/includes/CMB2_Types.php:768 framework/includes/CMB2_Types.php:816
 
498
  msgid "No terms"
499
  msgstr ""
500
 
501
- #: framework/includes/CMB2_Types.php:884
502
  msgid "Add or Upload Files"
503
  msgstr ""
504
 
505
- #: framework/includes/CMB2_Types.php:945
506
  msgid "Add or Upload File"
507
  msgstr ""
508
 
509
- #: framework/includes/CMB2_hookup.php:120
510
  msgid ""
511
  "Term Metadata is a WordPress > 4.4 feature. Please upgrade your WordPress "
512
  "install."
513
  msgstr ""
514
 
515
- #: framework/includes/CMB2_hookup.php:124
516
  msgid "Term metaboxes configuration requires a 'taxonomies' parameter"
517
  msgstr ""
518
 
519
- #: framework/includes/helper-functions.php:250
520
  msgid "Save"
521
  msgstr ""
522
 
523
  #. Plugin URI of the plugin/theme
524
- msgid "http://blakewilson.me/projects/video-background/"
525
  msgstr ""
526
 
527
  #. Description of the plugin/theme
528
  msgid ""
529
- "jQuery WordPress plugin to easily assign a video background to any element. "
530
- "Awesome."
531
  msgstr ""
532
 
533
  #. Author of the plugin/theme
534
- msgid "Blake Wilson"
535
  msgstr ""
536
 
537
  #. Author URI of the plugin/theme
538
- msgid "http://blakewilson.me"
539
  msgstr ""
3
  msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: Video Background\n"
6
+ "POT-Creation-Date: 2017-09-25 20:55-0700\n"
7
  "PO-Revision-Date: 2016-03-30 22:31-0700\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 1.8.12\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-WPHeader: candide-vidbg.php\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
22
 
23
  #: admin_premium_notice.php:11
24
  msgid ""
25
+ "Video Background Pro now plays video backgrounds on supported mobile "
26
+ "devices! <a href=\"http://pushlabs.co/video-background-pro\" rel=\"nofollow"
27
+ "\" target=\"_blank\">Check out Video Background Pro</a>"
28
  msgstr ""
29
 
30
+ #: candide-vidbg.php:97
31
  msgid "Show Advanced Options"
32
  msgstr ""
33
 
34
+ #: candide-vidbg.php:98
35
  msgid "Hide Advanced Options"
36
  msgstr ""
37
 
38
  #. Plugin Name of the plugin/theme
39
+ #: candide-vidbg.php:230
40
  msgid "Video Background"
41
  msgstr ""
42
 
43
+ #: candide-vidbg.php:237
44
  msgid "Container"
45
  msgstr ""
46
 
47
+ #: candide-vidbg.php:238
48
  msgid ""
49
  "Please specify the container you would like your video background to be in."
50
  "<br>ex: <code>.header</code> or <code>body</code>"
51
  msgstr ""
52
 
53
+ #: candide-vidbg.php:242
54
  msgid "YouTube Link"
55
  msgstr ""
56
 
57
+ #: candide-vidbg.php:245
58
  msgid ""
59
  "To create YouTube video backgrounds, <a href=\"http://pushlabs.co/video-"
60
  "background-pro\" rel=\"nofollow\" target=\"_blank\">please download the pro "
61
  "version!</a>"
62
  msgstr ""
63
 
64
+ #: candide-vidbg.php:247
65
+ msgid "YouTube Start Second"
66
+ msgstr ""
67
+
68
+ #: candide-vidbg.php:250
69
+ msgid ""
70
+ "To use the YouTube Start Second feature, <a href=\"http://pushlabs.co/video-"
71
+ "background-pro\" rel=\"nofollow\" target=\"_blank\">please download the pro "
72
+ "version!</a>"
73
+ msgstr ""
74
+
75
+ #: candide-vidbg.php:252
76
+ msgid "YouTube End Second"
77
+ msgstr ""
78
+
79
+ #: candide-vidbg.php:255
80
+ msgid ""
81
+ "To use the YouTube End Second feature, <a href=\"http://pushlabs.co/video-"
82
+ "background-pro\" rel=\"nofollow\" target=\"_blank\">please download the pro "
83
+ "version!</a>"
84
+ msgstr ""
85
+
86
+ #: candide-vidbg.php:260
87
  msgid "Link to .mp4"
88
  msgstr ""
89
 
90
+ #: candide-vidbg.php:261
91
  msgid ""
92
  "Please specify the link to the .mp4 file. You can either enter a URL or "
93
  "upload a file.<br>For browser compatability, please enter an .mp4 and .webm "
94
  "file for video backgrounds."
95
  msgstr ""
96
 
97
+ #: candide-vidbg.php:265
98
  msgid "Upload .mp4 file"
99
  msgstr ""
100
 
101
+ #: candide-vidbg.php:270
102
  msgid "Link to .webm"
103
  msgstr ""
104
 
105
+ #: candide-vidbg.php:271
106
  msgid ""
107
  "Please specify the link to the .webm file. You can either enter a URL or "
108
  "upload a file.<br>For browser compatability, please enter an .mp4 and .webm "
109
  "file for video backgrounds."
110
  msgstr ""
111
 
112
+ #: candide-vidbg.php:275
113
  msgid "Upload .webm file"
114
  msgstr ""
115
 
116
+ #: candide-vidbg.php:280
117
  msgid "Link to fallback image"
118
  msgstr ""
119
 
120
+ #: candide-vidbg.php:281
121
  msgid ""
122
  "Please specify a link to the fallback image in case the browser does not "
123
  "support video backgrounds. You can either enter a URL or upload a file."
124
  msgstr ""
125
 
126
+ #: candide-vidbg.php:285
127
  msgid "Upload fallback image"
128
  msgstr ""
129
 
130
+ #: candide-vidbg.php:290
131
  msgid "Overlay"
132
  msgstr ""
133
 
134
+ #: candide-vidbg.php:291
135
  msgid ""
136
  "Add an overlay over the video. This is useful if your text isn't readable "
137
  "with a video background."
138
  msgstr ""
139
 
140
+ #: candide-vidbg.php:296 candide-vidbg.php:333 candide-vidbg.php:356
141
  msgid "Off"
142
  msgstr ""
143
 
144
+ #: candide-vidbg.php:297 candide-vidbg.php:334 candide-vidbg.php:357
145
  msgid "On"
146
  msgstr ""
147
 
148
+ #: candide-vidbg.php:303
149
  msgid "Overlay Color"
150
  msgstr ""
151
 
152
+ #: candide-vidbg.php:304
153
  msgid ""
154
  "If overlay is enabled, a color will be used for the overlay. You can specify "
155
  "the color here."
156
  msgstr ""
157
 
158
+ #: candide-vidbg.php:311
159
  msgid "Overlay Opacity"
160
  msgstr ""
161
 
162
+ #: candide-vidbg.php:312
163
  msgid ""
164
  "Specify the opacity of the overlay with the left being mostly transparent "
165
  "and the right being hardly transparent."
166
  msgstr ""
167
 
168
+ #: candide-vidbg.php:319
169
  msgid "Overlay Texture"
170
  msgstr ""
171
 
172
+ #: candide-vidbg.php:322
173
  msgid ""
174
  "To add overlay textures to your video background, <a href=\"http://pushlabs."
175
  "co/video-background-pro\" rel=\"nofollow\" target=\"_blank\">please download "
176
  "the pro version!</a>"
177
  msgstr ""
178
 
179
+ #: candide-vidbg.php:327
180
  msgid "Turn off loop?"
181
  msgstr ""
182
 
183
+ #: candide-vidbg.php:328
184
  msgid ""
185
  "Turn off the loop for Video Background. Once the video is complete, it will "
186
  "display the last frame of the video."
187
  msgstr ""
188
 
189
+ #: candide-vidbg.php:337
190
+ msgid "End video on fallback image?"
191
+ msgstr ""
192
+
193
+ #: candide-vidbg.php:340
194
+ msgid ""
195
+ "To enable the end video on fallback image feature, <a href=\"http://pushlabs."
196
+ "co/video-background-pro\" rel=\"nofollow\" target=\"_blank\">please download "
197
+ "the pro version!</a>"
198
+ msgstr ""
199
+
200
+ #: candide-vidbg.php:342
201
+ msgid "Enable CSS loader?"
202
+ msgstr ""
203
+
204
+ #: candide-vidbg.php:345
205
+ msgid ""
206
+ "To enable the CSS loader feature, <a href=\"http://pushlabs.co/video-"
207
+ "background-pro\" rel=\"nofollow\" target=\"_blank\">please download the pro "
208
+ "version!</a>"
209
+ msgstr ""
210
+
211
+ #: candide-vidbg.php:350
212
  msgid "Play the audio?"
213
  msgstr ""
214
 
215
+ #: candide-vidbg.php:351
216
  msgid "Enabling this will play the audio of the video."
217
  msgstr ""
218
 
219
+ #: candide-vidbg.php:360
220
  msgid "Enable Play/Pause button"
221
  msgstr ""
222
 
223
+ #: candide-vidbg.php:363
224
  msgid ""
225
  "To enable a play/pause button on the frontend, <a href=\"http://pushlabs.co/"
226
  "video-background-pro\" rel=\"nofollow\" target=\"_blank\">please download "
227
  "the pro version!</a>"
228
  msgstr ""
229
 
230
+ #: candide-vidbg.php:365
231
  msgid "Enable Mute/Unmute button"
232
  msgstr ""
233
 
234
+ #: candide-vidbg.php:368
235
  msgid ""
236
  "To enable a mute/unmute button on the frontend, <a href=\"http://pushlabs.co/"
237
  "video-background-pro\" rel=\"nofollow\" target=\"_blank\">please download "
238
  "the pro version!</a>"
239
  msgstr ""
240
 
241
+ #: candide-vidbg.php:373
242
  msgid ""
243
  "<a href=\"#vidbg_advanced_options\" class=\"button vidbg-button advanced-"
244
  "options-button\">Show Advanced options</a>"
245
  msgstr ""
246
 
247
+ #: candide-vidbg.php:526 candide-vidbg.php:533
248
  msgid "Hide Muted Pro Fields"
249
  msgstr ""
250
 
251
+ #: candide-vidbg.php:571
252
  msgid ""
253
  "Okay, Okay, some of you don't want/need Video Background Pro. I get that. "
254
  "That's why you can hide the muted pro fields below :)"
255
  msgstr ""
256
 
257
+ #: candide-vidbg.php:586
258
  msgid "<h2>Video Background</h2>"
259
  msgstr ""
260
 
261
+ #: candide-vidbg.php:587
262
  msgid ""
263
  "<p>Video background makes it easy to add responsive, great looking video "
264
  "backgrounds to any element on your website.</p>"
265
  msgstr ""
266
 
267
+ #: candide-vidbg.php:588
268
  msgid "<h3>Getting Started</h3>"
269
  msgstr ""
270
 
271
+ #: candide-vidbg.php:589
272
  msgid ""
273
  "<p>To implement Video Background on your website, please follow the "
274
  "instructions below."
275
  msgstr ""
276
 
277
+ #: candide-vidbg.php:591
278
  msgid ""
279
  "<li>Edit the page or post you would like the video background to appear on.</"
280
  "li>"
281
  msgstr ""
282
 
283
+ #: candide-vidbg.php:592
284
  msgid ""
285
  "<li>Below the content editor, you should see a metabox titled <b>Video "
286
  "Background</b>. Enter the values for the required fields and publish/update "
287
  "the page.</li>"
288
  msgstr ""
289
 
290
+ #: candide-vidbg.php:593
291
  msgid "<li>Enjoy.</li>"
292
  msgstr ""
293
 
294
+ #: candide-vidbg.php:595
295
  msgid ""
296
  "<p>Alternatively, you can use the shortcode by placing the following code at "
297
  "the bottom of the content editor of the page or post you would like the "
298
  "video background to appear on. Here is how it works:</p>"
299
  msgstr ""
300
 
301
+ #: candide-vidbg.php:597
302
  msgid ""
303
+ "<a href=\"https://pushlabs.co/docs/video-background/\" class=\"button\" "
304
+ "target=\"_blank\">Further Documentation</a>"
305
  msgstr ""
306
 
307
+ #: candide-vidbg.php:598
308
  msgid "<h3>Questions?</h3>"
309
  msgstr ""
310
 
311
+ #: candide-vidbg.php:599
312
  msgid ""
313
  "<p>If you have any feedback/questions regarding the plugin you can reach me "
314
  "<a href=\"https://wordpress.org/support/plugin/video-background\" target="
315
  "\"_blank\">here.</a>"
316
  msgstr ""
317
 
318
+ #: candide-vidbg.php:600
319
  msgid "<h3>Supporting the Plugin</h3>"
320
  msgstr ""
321
 
322
+ #: candide-vidbg.php:601
323
  msgid ""
324
  "<p>If you like Video Background and want to show your support, consider "
325
  "purchasing the <a href=\"http://pushlabs.co/video-background-pro\" rel="
327
  "helpful features that make your life easier like:</p>"
328
  msgstr ""
329
 
330
+ #: candide-vidbg.php:603
331
+ msgid "<li>Mobile video background playback on supported browsers</li>"
332
+ msgstr ""
333
+
334
+ #: candide-vidbg.php:604
335
  msgid "<li>YouTube Integration</li>"
336
  msgstr ""
337
 
338
+ #: candide-vidbg.php:605
339
  msgid "<li>Visual Composer Integration</li>"
340
  msgstr ""
341
 
342
+ #: candide-vidbg.php:606
343
  msgid "<li>Page Builder by SiteOrigin Integration</li>"
344
  msgstr ""
345
 
346
+ #: candide-vidbg.php:607
347
  msgid "<li>Frontend Play/Pause Button Option</li>"
348
  msgstr ""
349
 
350
+ #: candide-vidbg.php:608
351
  msgid "<li>Frontend Volume Button Option</li>"
352
  msgstr ""
353
 
354
+ #: candide-vidbg.php:609
355
  msgid "<li>Overlay Image Textures</li>"
356
  msgstr ""
357
 
358
+ #: candide-vidbg.php:610
359
  msgid "<li>Extensive Documentation</li>"
360
  msgstr ""
361
 
362
+ #: candide-vidbg.php:611
363
  msgid "<li>Video Tutorials</li>"
364
  msgstr ""
365
 
366
+ #: candide-vidbg.php:612
367
  msgid "<li>And Much More!</li>"
368
  msgstr ""
369
 
370
+ #: candide-vidbg.php:614
371
  msgid ""
372
  "<a href=\"http://pushlabs.co/video-background-pro\" class=\"button button-"
373
  "primary\" rel=\"nofollow\" target=\"_blank\">Learn More About Video "
374
  "Background Pro</a>"
375
  msgstr ""
376
 
377
+ #: candide-vidbg.php:631
 
 
 
 
 
 
 
378
  msgid "<a href=\"options-general.php?page=html5-vidbg\">Getting Started</a>"
379
  msgstr ""
380
 
381
+ #: inc/vendor/cmb2/includes/CMB2.php:122
382
  msgid "Metabox configuration is required to have an ID parameter"
383
  msgstr ""
384
 
385
+ #: inc/vendor/cmb2/includes/CMB2.php:375
386
  msgid "Click to toggle"
387
  msgstr ""
388
 
389
+ #: inc/vendor/cmb2/includes/CMB2_Ajax.php:65
390
  msgid "Please Try Again"
391
  msgstr ""
392
 
393
+ #: inc/vendor/cmb2/includes/CMB2_Ajax.php:155
394
  msgid "Remove Embed"
395
  msgstr ""
396
 
397
+ #: inc/vendor/cmb2/includes/CMB2_Ajax.php:159
398
  #, php-format
399
  msgid "No oEmbed Results Found for %s. View more info at"
400
  msgstr ""
401
 
402
+ #: inc/vendor/cmb2/includes/CMB2_Field.php:1030
403
  msgid "Add Group"
404
  msgstr ""
405
 
406
+ #: inc/vendor/cmb2/includes/CMB2_Field.php:1031
407
  msgid "Remove Group"
408
  msgstr ""
409
 
410
+ #: inc/vendor/cmb2/includes/CMB2_Field.php:1053
411
+ #: inc/vendor/cmb2/includes/CMB2_Field.php:1057
412
  msgid "None"
413
  msgstr ""
414
 
415
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:86
416
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:119
417
  msgid "Clear"
418
  msgstr ""
419
 
420
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:87
421
  msgid "Default"
422
  msgstr ""
423
 
424
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:88
425
  msgid "Select Color"
426
  msgstr ""
427
 
428
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:89
429
  msgid "Current Color"
430
  msgstr ""
431
 
432
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:109
433
  msgctxt "Valid formatDate string for jquery-ui datepicker"
434
  msgid "mm/dd/yy"
435
  msgstr ""
436
 
437
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:110
438
  msgid "Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday"
439
  msgstr ""
440
 
441
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:111
442
  msgid "Su, Mo, Tu, We, Th, Fr, Sa"
443
  msgstr ""
444
 
445
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:112
446
  msgid "Sun, Mon, Tue, Wed, Thu, Fri, Sat"
447
  msgstr ""
448
 
449
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:113
450
  msgid ""
451
  "January, February, March, April, May, June, July, August, September, "
452
  "October, November, December"
453
  msgstr ""
454
 
455
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:114
456
  msgid "Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec"
457
  msgstr ""
458
 
459
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:115
460
  msgid "Next"
461
  msgstr ""
462
 
463
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:116
464
  msgid "Prev"
465
  msgstr ""
466
 
467
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:117
468
  msgid "Today"
469
  msgstr ""
470
 
471
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:118
472
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:128
473
  msgid "Done"
474
  msgstr ""
475
 
476
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:122
477
  msgid "Choose Time"
478
  msgstr ""
479
 
480
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:123
481
  msgid "Time"
482
  msgstr ""
483
 
484
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:124
485
  msgid "Hour"
486
  msgstr ""
487
 
488
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:125
489
  msgid "Minute"
490
  msgstr ""
491
 
492
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:126
493
  msgid "Second"
494
  msgstr ""
495
 
496
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:127
497
  msgid "Now"
498
  msgstr ""
499
 
500
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:129
501
  msgctxt ""
502
  "Valid formatting string, as per http://trentrichardson.com/examples/"
503
  "timepicker/"
504
  msgid "hh:mm TT"
505
  msgstr ""
506
 
507
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:135
508
  msgid "Use this file"
509
  msgstr ""
510
 
511
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:136
512
  msgid "Use these files"
513
  msgstr ""
514
 
515
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:137
516
+ #: inc/vendor/cmb2/includes/CMB2_Types.php:1021
517
  msgid "Remove Image"
518
  msgstr ""
519
 
520
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:138
521
+ #: inc/vendor/cmb2/includes/CMB2_Types.php:357
522
+ #: inc/vendor/cmb2/includes/CMB2_Types.php:1040
523
  msgid "Remove"
524
  msgstr ""
525
 
526
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:139
527
+ #: inc/vendor/cmb2/includes/CMB2_Types.php:1035
528
  msgid "File:"
529
  msgstr ""
530
 
531
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:140
532
+ #: inc/vendor/cmb2/includes/CMB2_Types.php:1038
533
  msgid "Download"
534
  msgstr ""
535
 
536
+ #: inc/vendor/cmb2/includes/CMB2_JS.php:141
537
  msgid "Select / Deselect All"
538
  msgstr ""
539
 
540
+ #: inc/vendor/cmb2/includes/CMB2_Types.php:298
541
  msgid "Add Row"
542
  msgstr ""
543
 
544
+ #: inc/vendor/cmb2/includes/CMB2_Types.php:768
545
+ #: inc/vendor/cmb2/includes/CMB2_Types.php:816
546
  msgid "No terms"
547
  msgstr ""
548
 
549
+ #: inc/vendor/cmb2/includes/CMB2_Types.php:884
550
  msgid "Add or Upload Files"
551
  msgstr ""
552
 
553
+ #: inc/vendor/cmb2/includes/CMB2_Types.php:945
554
  msgid "Add or Upload File"
555
  msgstr ""
556
 
557
+ #: inc/vendor/cmb2/includes/CMB2_hookup.php:120
558
  msgid ""
559
  "Term Metadata is a WordPress > 4.4 feature. Please upgrade your WordPress "
560
  "install."
561
  msgstr ""
562
 
563
+ #: inc/vendor/cmb2/includes/CMB2_hookup.php:124
564
  msgid "Term metaboxes configuration requires a 'taxonomies' parameter"
565
  msgstr ""
566
 
567
+ #: inc/vendor/cmb2/includes/helper-functions.php:250
568
  msgid "Save"
569
  msgstr ""
570
 
571
  #. Plugin URI of the plugin/theme
572
+ msgid "https://pushlabs.co/documentation/video-background"
573
  msgstr ""
574
 
575
  #. Description of the plugin/theme
576
  msgid ""
577
+ "WordPress plugin to easily assign a video background to any element. Awesome."
 
578
  msgstr ""
579
 
580
  #. Author of the plugin/theme
581
+ msgid "Push Labs"
582
  msgstr ""
583
 
584
  #. Author URI of the plugin/theme
585
+ msgid "https://pushlabs.co"
586
  msgstr ""
readme.txt CHANGED
@@ -1,12 +1,11 @@
1
  === Plugin Name ===
2
- Contributors: blakedotvegas
3
  Tags: html5, video background, mp4, webm, responsive, shortcode, overlay, fullscreen background, fullscreen, html5 video background, metabox, blake wilson, loop, mute, unmute
4
- Requires at least: 3.8.0
5
- Tested up to: 4.5.3
6
- Stable tag: 2.5.8
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
- Donate link: https://www.paypal.me/blakewilsonme
10
 
11
  jQuery WordPress plugin to easily assign a video background to any element. Awesome.
12
 
@@ -39,7 +38,7 @@ There is now a more detailed shortcode for video background. Input this shortcod
39
 
40
 
41
  Demo:
42
- <http://blakewilson.me/projects/video-background>
43
 
44
  == Installation ==
45
 
@@ -85,6 +84,13 @@ You sure can! Simply go to the "Settings > Video Background" menu tab and check
85
 
86
  == Changelog ==
87
 
 
 
 
 
 
 
 
88
  = 2.5.8 =
89
  * Fixed: Conditionally enqueue vidbg script
90
 
1
  === Plugin Name ===
2
+ Contributors: blakedotvegas, pushlabs
3
  Tags: html5, video background, mp4, webm, responsive, shortcode, overlay, fullscreen background, fullscreen, html5 video background, metabox, blake wilson, loop, mute, unmute
4
+ Requires at least: 4.2
5
+ Tested up to: 4.8.2
6
+ Stable tag: 2.6
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
 
9
 
10
  jQuery WordPress plugin to easily assign a video background to any element. Awesome.
11
 
38
 
39
 
40
  Demo:
41
+ <https://pushlabs.co/docs/video-background/>
42
 
43
  == Installation ==
44
 
84
 
85
  == Changelog ==
86
 
87
+ = 2.6.0 =
88
+ * Fixed: Compatibility issue with IOS 11 and High Sierra
89
+ * Added: Reengineered vidbg scripts for more consistency across websites and faster loading speeds
90
+ * Added: All instances of Video Background are now ran straight from the shortcode for more consistency.
91
+ * Fixed: Compatibility issues in the opacity slider
92
+ * Added: WordPress required version is now 4.2
93
+
94
  = 2.5.8 =
95
  * Fixed: Conditionally enqueue vidbg script
96