ARVE Advanced Responsive Video Embedder (YouTube, Vimeo, HTML5 Video …) - Version 8.7.3

Version Description

Download this release

Release Info

Developer nico23
Plugin Icon 128x128 ARVE Advanced Responsive Video Embedder (YouTube, Vimeo, HTML5 Video …)
Version 8.7.3
Comparing to
See all releases

Code changes from version 8.9.5 to 8.7.3

Files changed (171) hide show
  1. CHANGELOG.md +904 -0
  2. admin/arve-shortcode-ui.js +2 -2
  3. admin/{class-nextgenthemes-plugin-updater.php → class-edd-sl-plugin-updater.php} +1 -1
  4. admin/functions-admin.php +34 -48
  5. admin/functions-licensing.php +103 -95
  6. admin/html-settings-page.php +2 -27
  7. advanced-responsive-video-embedder.php +12 -6
  8. composer.lock +0 -184
  9. index.php +1 -0
  10. public/functions-enqueue.php +0 -13
  11. public/functions-html-output.php +1 -5
  12. public/functions-shortcode-data.php +1 -3
  13. public/functions-shortcode-filters.php +51 -76
  14. public/functions-shortcodes.php +40 -61
  15. readme.txt → readme.md +58 -119
  16. readme/01-top.md +26 -0
  17. readme/10-description-features.md +21 -0
  18. readme/12-description-supported-providers.md +44 -0
  19. readme/13-description-reviews.md +17 -0
  20. readme/19-description-features-pro-intro.md +2 -0
  21. readme/20-description-features-pro.md +21 -0
  22. readme/25-description-features-amp.md +11 -0
  23. readme/35-description-thanks.md +13 -0
  24. readme/50-installation-faq-screenshots.md +40 -0
  25. readme/html/01-top.html +19 -0
  26. readme/html/10-description-features.html +22 -0
  27. readme/html/12-description-supported-providers.html +45 -0
  28. readme/html/13-description-reviews.html +19 -0
  29. readme/html/19-description-features-pro-intro.html +1 -0
  30. readme/html/20-description-features-pro.html +22 -0
  31. readme/html/25-description-features-amp.html +12 -0
  32. readme/html/35-description-thanks.html +16 -0
  33. readme/html/50-installation-faq-screenshots.html +43 -0
  34. readme/prep/description-perfectdropinreplacement.md +11 -0
  35. readme/prep/description-reasons.html +9 -0
  36. readme/prep/description-whatitis.md +6 -0
  37. shared/functions-shared.php +35 -113
  38. vendor/autoload.php +0 -7
  39. vendor/composer/ClassLoader.php +0 -445
  40. vendor/composer/LICENSE +0 -21
  41. vendor/composer/autoload_classmap.php +0 -9
  42. vendor/composer/autoload_namespaces.php +0 -9
  43. vendor/composer/autoload_psr4.php +0 -11
  44. vendor/composer/autoload_real.php +0 -52
  45. vendor/composer/autoload_static.php +0 -39
  46. vendor/composer/installed.json +0 -172
  47. vendor/composer/installers/CHANGELOG.md +0 -86
  48. vendor/composer/installers/CONTRIBUTING.md +0 -24
  49. vendor/composer/installers/LICENSE +0 -19
  50. vendor/composer/installers/README.md +0 -221
  51. vendor/composer/installers/_config.yml +0 -1
  52. vendor/composer/installers/phpunit.xml.dist +0 -25
  53. vendor/composer/installers/src/Composer/Installers/AglInstaller.php +0 -21
  54. vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php +0 -9
  55. vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php +0 -11
  56. vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php +0 -49
  57. vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php +0 -9
  58. vendor/composer/installers/src/Composer/Installers/BaseInstaller.php +0 -136
  59. vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php +0 -126
  60. vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php +0 -9
  61. vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php +0 -82
  62. vendor/composer/installers/src/Composer/Installers/ChefInstaller.php +0 -11
  63. vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php +0 -10
  64. vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php +0 -34
  65. vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php +0 -11
  66. vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php +0 -13
  67. vendor/composer/installers/src/Composer/Installers/CraftInstaller.php +0 -35
  68. vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php +0 -21
  69. vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php +0 -10
  70. vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php +0 -50
  71. vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php +0 -16
  72. vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php +0 -16
  73. vendor/composer/installers/src/Composer/Installers/ElggInstaller.php +0 -9
  74. vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php +0 -12
  75. vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php +0 -29
  76. vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php +0 -10
  77. vendor/composer/installers/src/Composer/Installers/FuelInstaller.php +0 -11
  78. vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php +0 -9
  79. vendor/composer/installers/src/Composer/Installers/GravInstaller.php +0 -30
  80. vendor/composer/installers/src/Composer/Installers/HuradInstaller.php +0 -25
  81. vendor/composer/installers/src/Composer/Installers/ImageCMSInstaller.php +0 -11
  82. vendor/composer/installers/src/Composer/Installers/Installer.php +0 -200
  83. vendor/composer/installers/src/Composer/Installers/ItopInstaller.php +0 -9
  84. vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php +0 -15
  85. vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php +0 -18
  86. vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php +0 -11
  87. vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php +0 -10
  88. vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php +0 -9
  89. vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php +0 -27
  90. vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php +0 -9
  91. vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php +0 -10
  92. vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php +0 -10
  93. vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php +0 -9
  94. vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php +0 -16
  95. vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php +0 -11
  96. vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php +0 -37
  97. vendor/composer/installers/src/Composer/Installers/MakoInstaller.php +0 -9
  98. vendor/composer/installers/src/Composer/Installers/MauticInstaller.php +0 -25
  99. vendor/composer/installers/src/Composer/Installers/MayaInstaller.php +0 -33
  100. vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php +0 -50
  101. vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php +0 -111
  102. vendor/composer/installers/src/Composer/Installers/ModxInstaller.php +0 -12
  103. vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php +0 -57
  104. vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php +0 -46
  105. vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php +0 -24
  106. vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php +0 -14
  107. vendor/composer/installers/src/Composer/Installers/OxidInstaller.php +0 -59
  108. vendor/composer/installers/src/Composer/Installers/PPIInstaller.php +0 -9
  109. vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php +0 -11
  110. vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php +0 -11
  111. vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php +0 -21
  112. vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php +0 -32
  113. vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php +0 -29
  114. vendor/composer/installers/src/Composer/Installers/Plugin.php +0 -17
  115. vendor/composer/installers/src/Composer/Installers/PortoInstaller.php +0 -9
  116. vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php +0 -10
  117. vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php +0 -11
  118. vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php +0 -63
  119. vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php +0 -24
  120. vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php +0 -10
  121. vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php +0 -10
  122. vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php +0 -22
  123. vendor/composer/installers/src/Composer/Installers/SMFInstaller.php +0 -10
  124. vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php +0 -60
  125. vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php +0 -35
  126. vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php +0 -25
  127. vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php +0 -49
  128. vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php +0 -26
  129. vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php +0 -16
  130. vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php +0 -38
  131. vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php +0 -12
  132. vendor/composer/installers/src/Composer/Installers/TuskInstaller.php +0 -14
  133. vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php +0 -9
  134. vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php +0 -10
  135. vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php +0 -49
  136. vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php +0 -10
  137. vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php +0 -9
  138. vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php +0 -12
  139. vendor/composer/installers/src/Composer/Installers/YawikInstaller.php +0 -32
  140. vendor/composer/installers/src/Composer/Installers/ZendInstaller.php +0 -11
  141. vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php +0 -10
  142. vendor/composer/installers/src/bootstrap.php +0 -13
  143. vendor/composer/installers/tests/Composer/Installers/Test/AsgardInstallerTest.php +0 -80
  144. vendor/composer/installers/tests/Composer/Installers/Test/BitrixInstallerTest.php +0 -75
  145. vendor/composer/installers/tests/Composer/Installers/Test/CakePHPInstallerTest.php +0 -114
  146. vendor/composer/installers/tests/Composer/Installers/Test/CraftInstallerTest.php +0 -83
  147. vendor/composer/installers/tests/Composer/Installers/Test/DokuWikiInstallerTest.php +0 -90
  148. vendor/composer/installers/tests/Composer/Installers/Test/GravInstallerTest.php +0 -63
  149. vendor/composer/installers/tests/Composer/Installers/Test/InstallerTest.php +0 -552
  150. vendor/composer/installers/tests/Composer/Installers/Test/MayaInstallerTest.php +0 -62
  151. vendor/composer/installers/tests/Composer/Installers/Test/MediaWikiInstallerTest.php +0 -67
  152. vendor/composer/installers/tests/Composer/Installers/Test/OctoberInstallerTest.php +0 -67
  153. vendor/composer/installers/tests/Composer/Installers/Test/OntoWikiInstallerTest.php +0 -84
  154. vendor/composer/installers/tests/Composer/Installers/Test/PimcoreInstallerTest.php +0 -44
  155. vendor/composer/installers/tests/Composer/Installers/Test/PiwikInstallerTest.php +0 -63
  156. vendor/composer/installers/tests/Composer/Installers/Test/SiteDirectInstallerTest.php +0 -120
  157. vendor/composer/installers/tests/Composer/Installers/Test/SyDESInstallerTest.php +0 -82
  158. vendor/composer/installers/tests/Composer/Installers/Test/TestCase.php +0 -65
  159. vendor/composer/installers/tests/Composer/Installers/Test/VgmcpInstallerTest.php +0 -80
  160. vendor/composer/installers/tests/Composer/Installers/Test/YawikInstallerTest.php +0 -64
  161. vendor/composer/installers/tests/bootstrap.php +0 -4
  162. vendor/vimeo/vimeo-api/.styleci.yml +0 -19
  163. vendor/vimeo/vimeo-api/CHANGELOG.md +0 -19
  164. vendor/vimeo/vimeo-api/LICENSE +0 -177
  165. vendor/vimeo/vimeo-api/README.md +0 -254
  166. vendor/vimeo/vimeo-api/autoload.php +0 -29
  167. vendor/vimeo/vimeo-api/certificates/vimeo-api.pem +0 -47
  168. vendor/vimeo/vimeo-api/src/Vimeo/Exceptions/ExceptionInterface.php +0 -9
  169. vendor/vimeo/vimeo-api/src/Vimeo/Exceptions/VimeoRequestException.php +0 -9
  170. vendor/vimeo/vimeo-api/src/Vimeo/Exceptions/VimeoUploadException.php +0 -9
  171. vendor/vimeo/vimeo-api/src/Vimeo/Vimeo.php +0 -598
CHANGELOG.md ADDED
@@ -0,0 +1,904 @@
1
+
2
+ ## Changelog ##
3
+
4
+ * [ARVE Pro addon changelog](https://nextgenthemes.com/plugins/advanced-responsive-video-embedder-pro/changelog/)
5
+ * [ARVE AMP addon changelog](https://nextgenthemes.com/plugins/arve-amp/)
6
+
7
+ ### 2017-12-13 - 8.7.3 ###
8
+
9
+ * Updated EDD Plugin Updater class.
10
+ * Fixed some links in the readme.
11
+
12
+ ### 2017-08-16 - 8.7.2 ###
13
+
14
+ * Fix: Same Video with different start times in lightboxes.
15
+
16
+ ### 2017-07-12 - 8.7.1 ###
17
+
18
+ * Fix: Throw no PHP notice on admin when WP_DEBUG is enabled.
19
+ * Fix: Fix related to upcoming Pro Addon update and private vimeo videos.
20
+
21
+ ### 2017-07-10 - 8.7.0 ###
22
+
23
+ * Fix: web.facebook.com/... video urls not getting detected
24
+
25
+ ### 2017-06-17 - 8.6.6 ###
26
+
27
+ * Fix: Message dismissal not working.
28
+
29
+ ### 2017-06-17 - 8.6.5 ###
30
+
31
+ * Fix: Added `allow-presentation` to iframe sandbox to fix Chrome 59 not loading iframes. Thanks njs
32
+ * Improved: Admin message and dashboard ad size reduced, added links to dashboard widget, settings page ad is now sidebar-like on big screens.
33
+
34
+ ### 2017-06-15 - 8.6.4 ###
35
+
36
+ * Fix: Removes a .video-wrap element from ARVE's HTML that is added by a theme and caused videos to be invisible.
37
+ * Fix: PHP error in some cases.
38
+ * Improved: If mode is not supported fall back to normal without error message (for now).
39
+ * Improved: Changed embed URL for Alugha
40
+
41
+ ### 2017-05-17 - 8.6.3 ###
42
+
43
+ * Fixed issue with width and height attributes
44
+
45
+ ### 2017-05-17 - 8.6.2 ###
46
+
47
+ * Fixed license activation issues.
48
+
49
+ ### 2017-05-10 - 8.6.1 ###
50
+
51
+ * Minor code change.
52
+
53
+ ### 2017-05-10 - 8.6.0 ###
54
+
55
+ * New: `controlslist` shortcode attribute and option to control the Chrome HTML5 player `nodownload` is default, it hides the download button on the player.
56
+
57
+ ### 2017-05-05 - 8.5.2 ###
58
+
59
+ * Improved: Embed Liveleak with https. Remove the default parameter.
60
+
61
+ ### 2017-05-05 - 8.5.1 ###
62
+
63
+ * Improved: Mark Liveleak that it not requires flash anymore. This makes the 'disable links' option of the Pro Addon possible. Becomes very handy as Liveleak annoyingly opens new tabs when clicking outside the play button.
64
+
65
+ ### 2017-05-04 - 8.5.0 ###
66
+
67
+ * New: playsinline, and muted attributes for HTML5 video.
68
+ * Data attributes are no longer prefixed with -arve and various other code improvements.
69
+
70
+ ### 2017-05-01 - 8.4.2 ###
71
+
72
+ * Code improvements for addons.
73
+
74
+ ### 2017-04-30 - 8.4.1 ###
75
+
76
+ * Fix password protected videos on vimeo (sandbox allow-forms)
77
+
78
+ ### 2017-04-25 - 8.4.0 ###
79
+
80
+ * Improved: The 'Take over [video]' option was renamed to 'Use ARVE for HTML5 video embeds' and is now enabled by default. (It never only was the shortcode but also HTML5 video file URLs on their own lines)
81
+ * New: Support for embedding Dropbox hosted HTML5 video files (mp4, webm, ogv). Needs the 'Use ARVE for HTML5 video embeds' to be activated. (Beta feature)
82
+ * Fix: YouTube only playlist URLs embedded without https.
83
+
84
+ ### 2017-04-11 - 8.3.1 ###
85
+
86
+ * Fix: Global CSS id was not correctly added.
87
+
88
+ ### 2017-04-10 - 8.2.5 ###
89
+
90
+ * Fix: Some Brightcove URLs were not correctly detected.
91
+ * Improved: Better automated tests and some minor code enhancements.
92
+ * Improved: Some texts, new link to the settings page below parameter field.
93
+ * Improved: How aspect ratio is handled for HTML 5 video. If not set (default) the browser will detect it based on the video file that is embedded.
94
+ * Improved: Gives the aligned videos a top margin of `0.4em` to try to align them better with text.
95
+ * Improved: The 'by ARVE' promotion links do now open in a new tab/window.
96
+
97
+ ### 2017-03-27 - 8.2.4 ###
98
+
99
+ * Fixed: YouTube cards generate a youtube-nocookie.com url to a channel when the -nocookie.url is used to embedding. tltr; This is actually a YouTube bug but this is fixed in ARVE now by using the normal YouTube url for embeds. I like the additional 'privacy' it provides by not setting cookies as long as the user not plays a video. But considering this is not the first time YouTube has bugs related to this feature, I switched this back and forth in the past, I am considering just not using it anymore.
100
+
101
+ ### 2017-03-25 - 8.2.3 ###
102
+
103
+ * Fixed: 'Disable links' feature from the Pro Addon was not working.
104
+ * Some minor code improvements.
105
+
106
+ ### 2017-03-20 - 8.2.2 ###
107
+
108
+ * Moved the ARVE menu below the settings menu (where most plugins are), sorry xberg. I got complaints about global menus and I like to keep the global Nextgenthemes menu but 2 global menus is a bit to much. I have given the Nextgenthemes menu a video icon now. I hope this is a good compromise.
109
+ * Improved: Finished the German translation.
110
+ * Improved: Made the ARVE Pro promotion on the settings menu close-able, hopefully less people get offended.
111
+
112
+ ### 2017-03-20 - 8.2.0 ###
113
+
114
+ * Fixed: Plugin action links on installed plugin screen
115
+ * Fixed: CSS specificity issues by adding a `id="arve"` to the entire document and based all the CSS on `#arve`. This will end a long time battle with themes styles without using bad practices. If you have custom styles overwriting ARVE CSS you may need to increase specificity (or use `!important`).
116
+ * Improved: styles and scripts and now served minified unless `WP_DEBUG` is set.
117
+ * Improved: styles are now only loaded (to the bottom) when there is a video on the page.
118
+ * Improved: Settings title is now 'Advanced Responsive Video Embedder Settings' again rather then just ARVE.
119
+
120
+ ### 2017-03-12 - 8.1.1 ###
121
+
122
+ * Improved: Added ARVE to menu below plugins so it can be easy found.
123
+ * Improved: Used `wp_add_inline_style` function for inline styles.
124
+ * Removed some code that is not needed.
125
+
126
+ ### 2017-03-03 - 8.0.9 ###
127
+
128
+ * Fix: Admin page error for messing file.
129
+
130
+ ### 2017-03-02 - 8.0.8 ###
131
+
132
+ * Improved: Updated EDD Plugin Updater class
133
+
134
+ ### 2017-02-24 - 8.0.7 ###
135
+
136
+ * Fix: Options not correctly put in debug-info.
137
+ * Improved: Make License input fields a bit wider.
138
+ * Improved: Some small code improvements.
139
+
140
+ ### 2017-02-12 - 8.0.5 ###
141
+
142
+ * Fix: Small size of lightbox when using the [Pro Addon](https://nextgenthemes.com/plugins/advanced-responsive-video-embedder-pro/).
143
+
144
+ ### 2017-02-11 - 8.0.4 ###
145
+
146
+ * CSS improved
147
+ * Updated Addon Updater Class
148
+
149
+ ### 2017-01-03 - 8.0.2 ###
150
+
151
+ * Fix: Errors on settings page when Pro Addon is not installed.
152
+
153
+ ### 2016-12-17 - 8.0.1 ###
154
+
155
+ * Fix: `undefined function is_plugin_active()` error caused by some plugins
156
+ * Improved: Show actual meaningful message if PHP is lower then the required 5.3. Bluehost (oh proud wp.org recommended host) seems to show customers a **wrong** php version in the config and lets them hang on insecure end of life versions.
157
+
158
+ ### 2016-12-09 - Pro Addon 3.6.8 ###
159
+
160
+ * Fix: Wrongly tagged version.
161
+
162
+ ### 2016-12-07 - Pro Addon 3.6.7 ###
163
+
164
+ * Fix: Some thumbnails not loading.
165
+
166
+ ### 2016-12-07 - 8.0.0 ###
167
+
168
+ * Fix: 'Take over [video] shortcode' option not working. (Always acted as on, default is off)
169
+ * Fix: [video] override putting out a error for not reason.
170
+ * Improved code: Dropped 2 micro classes in favor for antonymous functions.
171
+
172
+ ### 2016-12-07 - Pro Addon 3.6.6 ###
173
+
174
+ * Improved: Load the CSS always in the `<head>`, this enables to change its CSS with the new CSS customizer in WP 4.7 and may also fix issues with caching plugins.
175
+
176
+ ### 2016-11-30 - 7.9.23 ###
177
+
178
+ * Fix: Ending up with wrong URLs by disabling auto shortening of URLs when pasting them into the shortcode-ui dialog.
179
+ * Improved: Enable SSL verify for API calls.
180
+ * Improved: License action return messages.
181
+
182
+ ### 2016-11-30 - Pro Addon 3.6.4 ###
183
+
184
+ * Fix: Autoplay without setting
185
+
186
+ ### 2016-11-30 - 7.9.21 ###
187
+
188
+ * Fix: Fatal error.
189
+
190
+ ### 2016-11-29 - Pro Addon 3.6.4 ###
191
+
192
+ * Improved: Licensing field removed from the pro options tab (now in main plugin). This enables resetting pro options settings without deleting license key.
193
+ * Fix: Autoplay not applied property.
194
+ * Fix: HTML5 not autoplaying in lightbox.
195
+ * Improved: New default option for inview lazyload is 'On iOS, Android and Desktops when no thumbnail is found'.
196
+ * Improved: New installations will show a message guiding users to activation screen.
197
+
198
+ ### 2016-11-29 - 7.9.19
199
+
200
+ * Fix: 'Embed Video' Button not working with Advanced Custom Fields (Possibly fixed other 3rd party editor plugins compatibility issues as well) Thanks to David Trenear!
201
+ * Fix: Facebook URL detection for usernames with dots in them.
202
+ * Fix: Invisible HTML5 Lazyload-lightbox videos
203
+ * Fix: Shortcode UI script enqueued to early causing JS erros on admin pages.
204
+ * Improved: Error messages for missing mandatory attributes.
205
+ * Improved: Moved some code logic of the pro addon out of the main plugin.
206
+ * New: `disable_flash` parameter mainly for unlisted providers will be treated as general iframe embeds. With set to true this will enable you to use the 'disable_links' feature of the pro plugin.
207
+ * New: Filters for new cool things coming up
208
+ * New: License page, relocated options page
209
+ * New: YouTube URL detection for playlists without starting video `https://www.youtube.com/playlist?list=PL3Esg-ZzbiUmeSKBAQ3ej1hQxDSsmnp-7`
210
+ * Possible Fix: Videos displayed to small in some Browsers
211
+
212
+ ### 2016-10-29 - 7.9.8 and Pro Addon 3.3.4 ###
213
+
214
+ * Fix: Fix lightbox thumbnail
215
+ * Improved: CSS
216
+
217
+ ### 2016-10-28 - Pro Addon 3.3.1 ###
218
+
219
+ * Fix: Fix thumbnails being displayed wrong in IE.
220
+
221
+ ### 2016-10-28 - Pro Addon 3.3.0 ###
222
+
223
+ * Fix: Restored broken update notifications and semi auto updates.
224
+
225
+ ### 2016-10-28 - 7.9.7 ###
226
+
227
+ * New: Wistia Support.
228
+ * Improved: Allow HTML in title attribute.
229
+ * Improved: Force more CSS Styles.
230
+
231
+ ### 2016-10-27 - Pro Addon 3.2.9 ###
232
+
233
+ * Fix: Twitch API failing (needs Client-ID now)
234
+
235
+ ### 2016-10-27 - Pro Addon 3.2.8 ###
236
+
237
+ * Improved: oembed error message
238
+ * Improved: Skip srcset function for PHP 5.3 and lower
239
+
240
+ ### 2016-10-27 - 7.9.6 ###
241
+
242
+ * Fix: Thumbnail not correctly applied to <video> tag for self hosted videos.
243
+ * Improved: CSS for self hosted videos.
244
+ * Improved: Enabled detection for rubtube and VK and show them as supported providers, even they where supported as general iframe embeds before.
245
+
246
+ ### 2016-10-25 - Pro Addon 3.2.7 ###
247
+
248
+ * Fix: 2 clicks needed to play lazyloaded video on desktops
249
+
250
+ ### 2016-10-24 - Pro Addon 3.2.5 ###
251
+
252
+ * Fix: JavaScript error related to abandoned Script.
253
+ * Fix: Custom Thumbnails not applied.
254
+
255
+ ### 2016-10-24 - 7.9.5 ###
256
+
257
+ * Fix: Custom Thumbnails not applied.
258
+ * Fix: Shortcode UI script only loaded if the plugin is active.
259
+
260
+ ### 2016-10-23 - 7.9.4 and Pro Addon 3.2.3 ###
261
+
262
+ * Fix: Multiple issues about the new HTML5 video embedding (still experimental)
263
+
264
+ ### 2016-10-23 - Pro Addon 3.2.2 ###
265
+
266
+ * Fix: 'Disable Links' not working.
267
+
268
+ ### 2016-10-23 - Pro Addon 3.2.0 ###
269
+
270
+ * Fix: Issue with lazyload and AJAX.
271
+ * Fix: W3TC issue by using yet another lazyload method. Final this time?
272
+ * Fix: YouTube Thumbnail detection when there are no HD images.
273
+ * Improved: Code used to cache thumbnails, this may improve improve performance.
274
+ * Improved: Lots code restructured and improved.
275
+ * New: New Lazyload mode setting to prevent "two touched needed to play video on mobiles" issue. Its also
276
+ * New: Facebook thumbnail detection.
277
+
278
+ ### 2016-10-23 - 7.9.2 ###
279
+
280
+ * Fix: Brightcove Autoplay issue.
281
+ * Fix: Liveleak thumbnail detection issues.
282
+ * Fix: Parameters not being added.
283
+ * Fix: Twitch single videos not using https
284
+ * Fix: Vevo marked to require flash to make it work again.
285
+ * Improved: Better dialog with better description and links about the shortcake UI plugin.
286
+ * Improved: Facebook embed method.
287
+ * Improved: Lots code restructured and improved.
288
+ * Improved: Parameters are always possible no matter the provider.
289
+ * Improved: Restructure of the plugin, abandon OOP mostly.
290
+ * Improved: Revive saving of last setting page tab.
291
+ * New: "Image Cache Time" setting on the setting page. Thumbnail URLs form the media gallery can now be cached with transients, that may improve performance.
292
+ * New: Support for self hosted videos (experimental)
293
+
294
+ ### 2016-10-03 - Pro Addon 2.5.2 ###
295
+
296
+ * Fix: Force button styles to make sure themes styles get overwritten.
297
+
298
+ ### Pro Addon 2.5.1 beta - 2016-09-21 ###
299
+
300
+ * New: Thumbnail support for Liveleak.
301
+ * Fix: Update loop.
302
+
303
+ ### Pro Addon 2.5.0 beta - 2016-09-21 ###
304
+
305
+ * Improved: Thumbnails detection.
306
+ * Improved how license keys are handled when set in wp-config.php.
307
+
308
+ ### 7.5.1 beta - 2016-09-21 ###
309
+
310
+ * Fix: Liveleak seems to require flash for some videos.
311
+
312
+ ### 7.5.0 beta - 2016-09-21 ###
313
+
314
+ * Fix: Youku URL detection and aspect ratio.
315
+ * Improved: `.arve-inner` css class in favor of some more specific classes combining styles.
316
+ * Improved: removed TGMPA class because it was causing horrible issues.
317
+
318
+ ### Pro Addon 2.4.5 beta - 2016-09-19 ###
319
+
320
+ * New: Adds the ability to define the pro key in your wp-config.php file with `define( 'ARVE_PRO_KEY', 'your_key_here' )`. When activating the plugin it now also tries to activate its license when a key is defined.
321
+
322
+ ### 7.4.3 beta - 2016-09-19 ###
323
+
324
+ * Fix: Deal with fluid-vids script messing with this plugin, making videos invisible.
325
+
326
+ ### Pro Addon 2.4.0 beta - 2016-09-18 ###
327
+
328
+ * New: Adds Yahoo auto thumbnail and title support
329
+
330
+ ### 7.4.1 beta - 2016-09-18 ###
331
+
332
+ * New: Adds Yahoo Video support
333
+
334
+ ### 7.3.2 beta - 2016-09-17 ###
335
+
336
+ * Fix: Remove security="restricted" from iframes to make IE work again.
337
+
338
+ ### 7.3.1 beta - 2016-09-17 ###
339
+
340
+ * Fix: Get rid of undefined index warnings when pro addon is not active.
341
+
342
+ ### 7.3.0 beta - 2016-09-17 ###
343
+
344
+ * Improved: Show admin notices only to users who have the 'activate_plugins' capability.
345
+ * Improved: Added notice to the readme for the TGMPA cause white screen of death issue.
346
+
347
+ ### Pro Addon 2.3.2 - 2016-09-17 ###
348
+
349
+ * Possible Fix for not centered play button.
350
+
351
+ ### 7.2.13 beta - 2016-09-16 ###
352
+
353
+ * Fix: Set fitvidsignore class and remove the Fitvids container to prevent it from messing with ARVE embeds.
354
+ * Fix: Remove possible width and height parameters on iframes to prevent scripts from messing with ARVE embeds.
355
+
356
+ ### 7.2.12 beta - 2016-09-16 ###
357
+
358
+ * Improved: replaced static:: with self:: to support older php versions.
359
+
360
+ ### 7.2.10 beta - 2016-09-15 ###
361
+
362
+ * Fix: [iframe] shortcode not working.
363
+
364
+ ### Pro Addon 2.3.1 beta - 2016-09-15 ###
365
+
366
+ * New: Added support for displaying title of videos on top of the thumbnail images.
367
+ * New: Responsive thumbnails using srcset the browser takes the best image resolution for the users device. (HTML5 srcset)
368
+ * New: Choose between 3 hover styles for the thumbnails: 'zoom image' (new default), 'rectangle move in' (old), or 'none' where only the play button changes.
369
+ * New: Choose beween 2 play button styles.
370
+ * Fix: Screenfull error.
371
+ * Fix: License API call.
372
+ * Improved: Rectangle animation.
373
+ * Improved: Updated 'lity' lightbox script.
374
+ * Improved: Thumbnail handling.
375
+ * Improved: Removed the 'Lazyload Maximal Width' setting to simplify things (there still is 'Maximal Width' and 'Aligned Maximal Width').
376
+ * Improved: Removed the 'Fake Thumbnail' feature because the entire idea was bad and real thumbnails should be used.
377
+ * Improved: Updated EDD_SL_Plugin_Updater Class
378
+ * Dropped PHP Class.
379
+
380
+ ### 7.2.9 beta - 2016-09-15 ###
381
+
382
+ * New: Recommend and guide to users to install [Shortcake (Shortcode UI)](https://de.wordpress.org/plugins/shortcode-ui/) via [TGMPA](http://tgmpluginactivation.com/)
383
+ * New: Amazing catch-all shortcode [arve url="..."] that can be used for all supported providers and even with any iframe `src` if all unlisted providers that support responsive iframe embeds.
384
+ * New: Support for kla.tv.
385
+ * New: Support for youku (fulfilled request)
386
+ * New: New Advanced Shortcode Dialog with nice UI for choose thumbnails from your WP Media Gallery, very detailed helping texts, display of default settings, hiding of fields based on need ...
387
+ * New: WYSIWYG Preview of Shortcodes.
388
+ * New: The two above features need the [Shortcake (Shortcode UI)](https://de.wordpress.org/plugins/shortcode-ui/) Plugin that is maybe moving into WordPress core later.
389
+ * New: A default alignment can now be set in the Settings page. (fulfilled request)
390
+ * New: 'iframe_name' shortcode parameter for `<iframe name="xxxxx"`, useful when wanting to target ARVE embeds with links. (fulfilled request)
391
+ * New: ARVE is now SEO friendly giving you the ability to add some schema.org microdata. Googles tools should not complain anymore if you add title, description and upload date. (fulfilled request)
392
+ * Deleted Language files in favor of [wordpress.org managed translations](https://translate.wordpress.org/projects/wp-plugins/advanced-responsive-video-embedder/dev) volunteers are welcome ;)
393
+ * Improved: Got rid of PHP globals.
394
+ * Improved: Added image upload dialog to settings page and shortcode dialog.
395
+ * Improved: Better CSS to overwrite unwanted theme styles.
396
+ * Improved: Lots if code improvements.
397
+ * Improved: SSL enabled and forced when supported by provoders.
398
+ * Fix: Blury Vimeo thumbnails
399
+ * Fix: Prevent Dashboard Widget conflicts with WP Helpers plugin (possibly others). Thanks to Steve Bruner.
400
+ * Fix: Issue with unwanted borders showing on embeds.
401
+ * Fix: youtu.be URLs now detected correct in shortcode dialog.
402
+ * Fix: All Vevo URLs are now detected correctly.
403
+ * Fix: Bool options settings.
404
+ * Removed blip because the service was shutdown.
405
+ * Removed myvideo.de because the service was restructured.
406
+
407
+ ### 6.4.0 ###
408
+
409
+ * Fix: Always prevent scrollbars.
410
+
411
+ ### Pro Addon 1.4.4
412
+
413
+ * Fixed: Infinite update loop.
414
+ * Improved: Updated Updater class.
415
+
416
+ ### Pro Addon 1.4.3
417
+
418
+ * Fixed: rectangle overflow issue.
419
+
420
+ ### Pro Addon 1.4.2
421
+
422
+ * Fixed: license activation problems.
423
+
424
+ ### Pro Addon 1.4.1
425
+
426
+ * Fixed critical bug for auto updates. Please [click here](https://nextgenthemes.com/support/915/add-wont-update-wordpress-says-download-failed-unauthorized?show=1053#a1053) if your update fails.
427
+
428
+ ### 6.3.9 ###
429
+
430
+ * Fix: Facebook (now really, hopefully).
431
+
432
+ ### 6.3.8 ###
433
+
434
+ * Fix: Facebook in lazyload modes.
435
+
436
+ ### 6.3.7 ###
437
+
438
+ * New: Facebook video support.
439
+
440
+ ### 6.3.4 ###
441
+
442
+ * Fix?: Iframes are now created with a fixed 853x480 size in feeds, this probably will fix some feedreaders incorrectly or not displaying videos.
443
+
444
+ ### 6.3.3 ###
445
+
446
+ * Improved: Disabled file URL detection as this solution was bad.
447
+
448
+ ### 6.3.2 ###
449
+
450
+ * Fixed/Improved: [arve_tests] shortcode.
451
+
452
+ ### Pro Addon 1.4 ###
453
+
454
+ * Fix: Fake thumbnails now work for lazyload-lightbox mode.
455
+
456
+ ### 6.3.1 & Pro Addon 1.4.0 ###
457
+
458
+ * Improved: Testing Shortcode.
459
+ * Improved: When there is no thumbnail lazyload mode will fall back to normal mode.
460
+ * New: Added support for alugha.com.
461
+
462
+ ### Pro Addon 1.1.5 ###
463
+
464
+ * New: Added setting and parameter grow="yes/no" to control the grow-on-click behaviour that was introduced in 6.0 to your liking.
465
+
466
+ ### 6.1.2 ###
467
+
468
+ * Improved: Added thumbnail and grow parameters to the Shortcode Creator Dialog.
469
+ * Improved: Updated screenshots.
470
+
471
+ ### Pro Addon 1.1.3 ###
472
+
473
+ * Improved: link-linghtbox mode does not force a newline for the link anymore.
474
+ * Fix: Autoplaying in Background when navigating back in browser.
475
+
476
+ ### Pro Addon 1.1.0 ###
477
+
478
+ * Fix: Various issues reguarding lightbox mode.
479
+
480
+ ### 6.1.0 ###
481
+
482
+ * Fix: Messages about pro addon removed when it is installed.
483
+
484
+ ### Pro Addon 1.0.7 ###
485
+
486
+ * Fix: Video start playing again invisible when closeing lightbox with ESC.
487
+
488
+ ### 6.0.6 Beta ###
489
+
490
+ * Improved: Adds a "Debug Info" tab to the settings page copy pasting when there is are issue.
491
+
492
+ ### Pro Addon 1.0.6 ###
493
+
494
+ * Remove development functions.
495
+
496
+ ### Pro Addon 1.0.4 ###
497
+
498
+ * Possibly Fixes SSL issues during activation.
499
+
500
+ ### Pro Addon 1.0.3 ###
501
+
502
+ * Fix: Maxwidth issue.
503
+
504
+ ### 6.0.5 Beta ###
505
+
506
+ * Fix: Foreach php error
507
+
508
+ ### 6.0.4 Beta ###
509
+
510
+ * Fix: Youtube URL with starttime.
511
+
512
+ ### 6.0.3 Beta, Pro Addon 1.0.3 ###
513
+
514
+ * Fix: Max-width output issue.
515
+
516
+ ### 6.0.2 Beta - 2015/07/24 - work time: ~60 days ###
517
+
518
+ Please check the [migration guide](https://nextgenthemes.com/?p=1875) about upgrading to this version.
519
+
520
+ * Fix: Jackpack Shortcode Embeds module incompatibility.
521
+ * New: URL parameters are now possible via URLs used for embeds (passed to iframe src).
522
+ * Changed: URL parameters to controll arve features are now 'arve[mode]=' style instead of 'arve-mode='.
523
+ * Improved: Enabled HTTPS support for Viddler and MyVideo.
524
+ * Improved: TED Talks shortcodes now support the 'lang' parameter.
525
+ * Improved: New embed URLs for MyVideo.
526
+ * Improved: Better Twitch support.
527
+ * Improved: Dailymotion HTTPS support.
528
+ * Improved: To reduce CSS and keep it simpler aspect ratios are now handled with inline styles.
529
+ * Improved: Moved to complete WP Settings API.
530
+ * Improved: Tabbed and extendable options page.
531
+ * Improved: Massive code improvements.
532
+ * Improved: Replaced all Admin Messages that caused bugs and annoyance for users with a dashboard Widget.
533
+
534
+ ### Pro Addon 1.0.1 ###
535
+
536
+ * New: link-lightbox mode creates a link the triggers a lightbox with a video on click.
537
+
538
+ ### Pro Addon 0.9.7 ###
539
+
540
+ * Fix: Lazyload videos not growing when global maxwidth setting was set.
541
+ * Improved: Finally got rid of the jQuery Colorbox depency, the Pro Addon now includes lity for lightboxes.
542
+
543
+ ### Pro Addon 0.9.5 ###
544
+
545
+ * Fix: Licensing Activation should now finally work correcty. (Multisite may need some tweaks)
546
+ * Fix: Pissibility of unwanted margins/paddings on the transparent button.
547
+
548
+ ### Pro Addon 0.9.0 ###
549
+
550
+ * Changed: 'Lazyload' mode now grows the video size after thumbnails are clicked.
551
+ * Changed: 'Thumbnail' mode is now called 'Lazyload -> Colorbox' and has a sightly different behavior.
552
+ * New: 'Lazyload -> Fullscreen' mode to instandly go Fullscreen after clicking the Lazyloaded preview image.
553
+ * New: 'Lazyload -> Fixed' Fullscreen/-window mode (extremly experimental) with ability to resize fixed video on screen while reading the page.
554
+ * New: 'thumbnail' parameter, take image URL or a ID to a media libray image to be used as thumbnail image.
555
+ * Improved: Enabled fake thumbnails for USTREAM and myvideo.de.
556
+ * Depricated: Providers that only support `<object>` are from now only supported in normal mode, will switch automatically. This effects only recorded Twitch videos, flickr and veoh.
557
+
558
+ ### 5.3.4 Beta - 2015/03/15 ###
559
+
560
+ * Fix: ID detection for youtu.be and dai.ly URLs, will now work with https://(www.) as well.
561
+ * Fix: Myvideo.de videos with 7 and 8 digit IDs.
562
+
563
+ ### 5.3.3 Beta ###
564
+
565
+ * Fix: Workarround for a currently ongoing YouTube issue causing YouTube embeds to fail with erros on mobile devives. This was not a 'bug' caused by this plugin btw.
566
+
567
+ ### 5.3.2 Beta ###
568
+
569
+ * Fix: Die 'Array' errors DIE!
570
+
571
+ ### 5.3.1 Beta ###
572
+
573
+ * Improved: Added shortcode example to youtube starttime examples.
574
+ * Improved: Clarified from who the admin messages come.
575
+
576
+ ### 5.3.0 Beta ###
577
+
578
+ * **If you get a error '... array ...' please reset your options on the options page and redo the options you had before**
579
+ * Fix: '... expected array' error when saving options on some cases. If you get a error please reset your
580
+ * Fix: ttp://youtu.be/... shortlinks are not detected correctly in the shortcode creator dialog.
581
+ * Improved: Ported code to WordPress Plugin Boilerplate 3.0 style.
582
+ * Improved: Switched vevo and xtube from object to iframe embeds.
583
+ * Improved: Lots of minor code enhancements.
584
+
585
+ ### 5.1.1 ###
586
+
587
+ * Fix: Removed mixed content warnungs for youtube and vimeo.
588
+ * Translation updates.
589
+
590
+ ### 5.1.0 ###
591
+
592
+ * New: Vimeo HTTPS support (works automatically if your site is HTTPS)
593
+
594
+ ### 5.0.2 Beta ###
595
+
596
+ * Improved: Marked as working with WP 4.0
597
+
598
+ ### 5.0.1 Beta ###
599
+
600
+ * Fix: Options var error
601
+
602
+ ### 5.0.0 Beta ###
603
+
604
+ * Fix: Max-width options should now work in all circumstances
605
+ * Improved: Various CSS improvements
606
+ * Improved: Changed play overlay image to a Google+ style image
607
+
608
+ ### 4.9.0 Beta ###
609
+
610
+ * Improved: All Javascript is loaded from files now and they are only loaded when there are embeds on the page. This improves page load times on pages with no embeds.
611
+ * Fix: Removed autohide#1 from default YouTube Parameters since it causes a YouTube bug in the HTML5 player.
612
+
613
+ ### 4.8.0 ###
614
+
615
+ * Updated: Spanish translation now 80% complete. Thanks Xarkitu!
616
+ * Improved: Do not load admin dialog when doing AJAX
617
+
618
+ ### 4.7.0 ###
619
+
620
+ * Fix: Iframe code detection
621
+
622
+ ### 4.6.0 ###
623
+
624
+ * Improvement: PHP required version lowered to 5.2.4
625
+
626
+ ### 4.5.4 ###
627
+
628
+ * Fix: Save of custom URL parameters
629
+ * New: CHANGES.md file for github updater
630
+
631
+ ### 4.5.3 ###
632
+
633
+ * Fix: Fatal PHP Error on activation.
634
+ * Fix: Readme spellings.
635
+
636
+ ### 4.5.0 ###
637
+
638
+ * Fix: Minor options page spelling and field association fixes.
639
+ * Fix: Added Lazyload to mode select in the shortcode dialog.
640
+ * New: 4players.de support.
641
+ * New: Added parameter input to the shortcode dialog.
642
+ * Improved: Default options are no longer stored in the database.
643
+ * Improved: Transparency fade animation on thumbnail hover.
644
+ * Improved: No more ugly URL hash (#arve-load-video) after clicking links.
645
+ * Improved: Dropped IE 8 support for Lazyload mode.
646
+ * Improved: Lots of code improvements.
647
+
648
+ ### 4.3.0 ###
649
+
650
+ * New: Added Iframe examples.
651
+ * Improved: Limited support for self hosted Videos. Dialog will detect URLS that end up with .webm .mp4 .ogg creates a iframe embed code with them. This is probaly not the best way to do this but it works. Real HTML5 video tag embeds may come later.
652
+ * Improved: Redesigned the button to look like WordPress and move it out of the Tiny MCE Editor. This enables you to embed videos in the code editor as well.
653
+ * Improved: Redesigned the Shortcode Creator dialog. Less clutter, more compact and it now includes the recently introduced `aspect_ratio`.
654
+
655
+ ### 4.2.0 ###
656
+
657
+ * New: As requested: `aspect_ratio` parameter
658
+ * Fix: Vimeo playing problems in Firefox.
659
+
660
+ ### 4.1.1 ###
661
+
662
+ * Fix: Play button not showing.
663
+
664
+ ### 4.1.0 ###
665
+
666
+ * New: Vine support
667
+ * New: Support for starttime from youtube URLs
668
+ * Improved: Include play image inside CSS, -1 http request may speed things up
669
+ * Improved: Tests
670
+
671
+ ### 4.0.0 ###
672
+
673
+ * New: Trigger-able debug output.
674
+ * Improved: The `[arve_tests]` shortcode now includes alignment and maxwidth tests
675
+ * Fix: Thumbnail image now displayed when using lazyload with `maxwidth` parameter
676
+
677
+ ### 3.9.9 ###
678
+
679
+ * Improved: Allowing `maxwidth` parameter in `lazyload` mode
680
+
681
+ ### 3.9.8 ###
682
+
683
+ * Fix: Thumbnail not opening Colorbox
684
+
685
+ ### 3.9.7 ALPHA! ###
686
+
687
+ * New: I am proud to introduce the new 'lazyload' mode. ARVEs new default mode. Load Images only and load the Video only on click. Like Google+ without the title.
688
+ * New: Added MPORA support
689
+ * New: Added (real) thumbnail support for Collegehumor, Twitch, FunnyOrDie, MPORA
690
+ * New: `[arve_tests]` shortcode that is used to test the plugin and provide examples.
691
+ * New: `[arve_supported]` shortcode probably of no use for users. It will generate the a list of providers with supported features.
692
+ * Improved: Enabled fake thumbnails for Comedycentral, Gametrailers and Spike
693
+ * Improved: Remote API calls and handling their errors.
694
+ * Improved: Get high resolution thumbnails from YouTube if available.
695
+ * Improved: The evil admin message is now only shown once to users who can delete plugins (Admins and the like) and if the plugin was activated a week ago or longer.
696
+ * Improved: Lots of smaller code improvements.
697
+
698
+ ### 3.6.1 ###
699
+
700
+ * Fix: Register link in changelog.
701
+
702
+ ### 3.6.0 ###
703
+
704
+ * New: Thanks to [Ilya Grishkov](https://ilyagrishkov.com) thumbnail URLs for Vimeo, Blip and Dailymotion Playlists are now cached (by default 24hours) this drastically reduces page loading times for thumbnail embeds from these providers because it bypasses calling their APIs for that period.
705
+ * Fix: Thumbnails for YouTube playlists.
706
+ * Fix: Shortcode creator ID detection for iframes (src URL)
707
+ * Fix: Updated Dailymoton docs link on Options page
708
+ * Improved: Error messages are now all ready to be translated. Current Translation status: German 50%, French 50%, Spanish 84%. Register at [nextgenthemes.com](https://nextgenthemes.com/wp-login.php?action#register) and then login to [translate.nextgenthemes.com](https://translate.nextgenthemes.com) to help translate.
709
+
710
+ ### 3.5.2 ###
711
+
712
+ * New: Twitch.tv support
713
+ * New: Spanish Translation from Andrew Kurtis webhostinghub.com
714
+ * Improved: Support for `https://new.ted.com/...` URLs
715
+ * Improved: Some code improvements, among them IDs of hidden objects are now generated with a simple `static` counter instead of some random generated string.
716
+
717
+ ### 3.5.1 ###
718
+
719
+ * Fix: Bug causing the Shortcode Creator not detecting shortcode tags when customized
720
+ * Improved how embeds `<object>` embed codes are generated.
721
+ * Updated FAQ
722
+ * New: Xtube support (On request)
723
+
724
+ ### 3.5.0 ###
725
+
726
+ * New: Custom parameters!
727
+ * Fix: Youtube playlists now work correctly
728
+ * Fix: Translations are working again (incomplete German and French)
729
+ * Deprecated: `start` and `end` shortcode parametets should not be used anymore with youtube, instead use the new parameters feature like `[youtube id#"123456" parameters#"start#60 end#120"]`
730
+
731
+ ### 3.1.2 ###
732
+
733
+ * Fix: IE8 JavaScript errors
734
+ * Improved: The evil message at the admin.
735
+
736
+ ### 3.1.1 (github only) ###
737
+
738
+ * Improved: Added `px` suffix to values on options page
739
+
740
+ ### 3.1.0 (beta) ###
741
+
742
+ * New: Development versions now available via [Github Plugin Updater](https://github.com/afragen/github-updater) please install this to test cutting edge versions
743
+ * New: Introducing 'Align Maximal Width' option
744
+ * Fix: Invisible normal mode embeds with align
745
+ * Fix: Yahoo detection
746
+ * Fix: Kickstarter detection
747
+ * Fix: Daylimoition Playlist
748
+ * Fix: Colleghumor
749
+ * Improved: Screenshots updated
750
+ * Improved: Beginning process of provider based aspect ratios.
751
+ * Improved: Dailymotion playlists/jukeboxes now show Native thumbnails
752
+ * Improved: Iframe embed code detection with with single quoted `src#''`
753
+
754
+ ### 3.0.4 (beta) ###
755
+
756
+ * Javascript Fix
757
+
758
+ ### 3.0.0 (beta) ###
759
+
760
+ * New: Support for embedding via simply pasting of URLs into posts (need to be on their own line, no button or shortcodes needed)
761
+ * New: Thumbnails are now responsive
762
+ * New: Vevo support
763
+ * New: TED Talks support
764
+ * New: IGN support
765
+ * New: Kickstarter support
766
+ * Improved: request large thumbnail from vimeo instead of medium
767
+ * Improved: 'youtubelist' shortcode deprecated YouTube playlists are now handled via the normal youtube shortcode with support for starting video
768
+ * Improved: 'bliptv' shortcode deprecated on favor of 'blip' that uses the ids from blip.tv URLs instead of the ones from embed codes
769
+ * Improved: Moved code to newest Plugin Boilerplate
770
+ * Improved: Massive code improvements
771
+
772
+ ### 2.7.4 ###
773
+
774
+ * Fix: Dropped mb_detect_encoding now using just preg_match to support rare php setups.
775
+
776
+ ### 2.7.3 ###
777
+
778
+ * New: Added French Translation from Karel - neo7.fr
779
+
780
+ ### 2.7.2 ###
781
+
782
+ * Fix: Permissions for the button, now authors who
783
+
784
+ ### 2.7.0 ###
785
+
786
+ * Fix: Admin page capabilities
787
+ * Improved: Reintroduced the manual provider and ID input to be used then not detected correctly.
788
+
789
+ ### 2.6.4 ###
790
+
791
+ * Fix: Black bar issue. (Dropped IE6 hacks/workarounds)
792
+
793
+ ### 2.6.3 ###
794
+
795
+ * Fix: Normal embeds not sizing correctly
796
+ * New: Added scrolling#"no" to Iframes
797
+ * Improved: Init shortcodes at a late stage to dominate conflicts
798
+ * Improved: Improved Iframe parameter handling
799
+ * Improved: Metacafe, Myspace, Videojug are now handled via Iframe
800
+
801
+ ### 2.6.2 ###
802
+
803
+ * Fix: Objects open correctly in Colorbox
804
+ * Fix: Iframe autoplay parameters startign with '&'
805
+ * New: Added screenshot for options page
806
+ * Improved: Youtube Videos with now me embedded with the same protocol your website is on, meaning if your website is https youtube embeds will be in https as well.
807
+
808
+ ### 2.6.1 ###
809
+
810
+ * Fix: Colorbox args script not having colorbox in depenency array
811
+ * Fix: Maxwidth shortcode generator field now has default value#""
812
+ * Fix: Blip embed code detection
813
+
814
+ ### 2.6.0 ###
815
+
816
+ * Improved: Move to a class structure with help of the great https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate
817
+ * Improved: Some smaller Improvements
818
+ * New: Shortcode Dialog now has Autoplay option
819
+ * New: Guessing of autoplay parameters for the Iframe shortcodes.
820
+ * Hopefully fixed issues with other plugins and some themes, Javascript was messed up and is fine now.
821
+
822
+ ### 2.5 ###
823
+
824
+ * Fix: Objects in Colorboxes, now always have width and height 100%
825
+ * new shortcode attribute 'autoplay' for single videos
826
+ * support for start at given time for vimeo
827
+
828
+ ### 2.4 ###
829
+
830
+ * propper licence
831
+ * Class renamed
832
+
833
+ ### 2.3 beta ###
834
+
835
+ * fix for maxwidth wrapper no maxwidth option is set
836
+
837
+ ### 2.1 beta ###
838
+
839
+ * Security and general code improvements
840
+ * Added autoplay option
841
+
842
+ ### 2.0 beta ###
843
+
844
+ * added Yahoo!
845
+ * spike bugfix
846
+ * small improvements to code
847
+ * removed the fixed mode
848
+
849
+ ### 1.9 beta ###
850
+
851
+ * added youtubes modestbranding mode
852
+ * added missing veoh id detection
853
+ * fixed vimeo id detection
854
+ * added now custom thumbnail feature
855
+ * fixed the align class creation
856
+ * renamed the shortcode dialog
857
+ * removed the text field for teh fixed width option (beginning of the removal process)
858
+
859
+ ### 1.8 beta ###
860
+
861
+ * added new tinymce botton with dialog to detect ids from URL's and embed codes and automatically create shortcodes
862
+ * removed the image resizer (Faster and more secure for servers), now uses just CSS. Polyfill for for IE to support 'background-size' included.
863
+ * changed the play overlay image to a bigger one
864
+ * added comedycentral, spike
865
+ * removed google video, it died
866
+ * lots of improvements and fixes
867
+
868
+ ### 1.7 ###
869
+
870
+ * fixed gametrailers and collegehumor
871
+ * fixed options handling for updateded options
872
+ * added ustream support
873
+ * renamed a function to prevent issues with other plugins
874
+
875
+ ### 1.6 ###
876
+
877
+ * corrected readme errors, typos and added better description to shortcode options
878
+
879
+ ### 1.5 ###
880
+
881
+ * lots of code improvements, now uses wordpress settings api, and propper sanitising
882
+
883
+ ### 1.4.5 ###
884
+
885
+ * added flickr video, archive.org
886
+ * inproved how flashvars were implemented
887
+
888
+ ### 1.4.4 ###
889
+
890
+ * fixes
891
+
892
+ ### 1.4.2 ###
893
+
894
+ * Options dialog overhaul
895
+ * replaced Fancybox with Colorbox
896
+
897
+ ### 1.0 ###
898
+
899
+ * Removed Services that went down over the years
900
+ * Changed the way shortcodes were implemented from regexp to wordpress 'add shortcode' function
901
+
902
+ ### 0.1 ###
903
+
904
+ * Started by improving the Wordpress 'Video Embedder Plugin' but now complete new code
admin/arve-shortcode-ui.js CHANGED
@@ -17,9 +17,9 @@ function arve_extract_url( changed, collection, shortcode ) {
17
return;
18
}
19
20
- if( val.match(/src="?([^\s"]+)/) ) {
21
22
- var test_url = val.match(/src="?([^\s"]+)/),
23
only_url = test_url && test_url[1];
24
25
input.val( only_url ).trigger( 'input' );
17
return;
18
}
19
20
+ if( val.match(/src="([^"]+)/) ) {
21
22
+ var test_url = val.match(/src="([^"]+)/),
23
only_url = test_url && test_url[1];
24
25
input.val( only_url ).trigger( 'input' );
admin/{class-nextgenthemes-plugin-updater.php → class-edd-sl-plugin-updater.php} RENAMED
@@ -9,7 +9,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
9
* @author Easy Digital Downloads
10
* @version 1.6.14
11
*/
12
- class Nextgenthemes_Plugin_Updater {
13
14
private $api_url = '';
15
private $api_data = array();
9
* @author Easy Digital Downloads
10
* @version 1.6.14
11
*/
12
+ class EDD_SL_Plugin_Updater {
13
14
private $api_url = '';
15
private $api_data = array();
admin/functions-admin.php CHANGED
@@ -2,20 +2,6 @@
2
3
function arve_action_admin_init_setup_messages() {
4
5
- if( defined( 'ARVE_PRO_VERSION' ) || defined( 'ARVE_AMP_VERSION' ) ) {
6
-
7
- $msg = sprintf(
8
- __( 'ARVE addons price change. Please read <a href="%s">Taking Business to a Serious Level - The Future NextGenThemes and ARVE.</a>.', ARVE_SLUG ),
9
- 'https://nextgenthemes.com/taking-business-to-a-serious-level-the-future-nextgenthemes-and-arve/'
10
- );
11
-
12
- new ARVE_Admin_Notice_Factory(
13
- 'price_change',
14
- "<p>$msg</p>",
15
- true
16
- );
17
- }
18
-
19
if( defined( 'ARVE_PRO_VERSION' ) && version_compare( ARVE_PRO_VERSION_REQUIRED, ARVE_PRO_VERSION, '>' ) ) {
20
21
$msg = sprintf(
@@ -23,14 +9,14 @@ function arve_action_admin_init_setup_messages() {
23
ARVE_PRO_VERSION_REQUIRED,
24
get_admin_url() . 'admin.php?page=nextgenthemes-licenses',
25
'https://nextgenthemes.com/support/',
26
- 'https://nextgenthemes.com/plugins/arve/documentation/installing-and-license-management/'
27
);
28
new ARVE_Admin_Notice_Factory( 'arve-pro-outdated', "<p>$msg</p>", false );
29
}
30
31
if( arve_display_pro_ad() ) {
32
33
- $pro_ad_message = __( '<p>Hi, this is Nico(las Jonas) the author of the ARVE - Advanced Responsive Video Embedder plugin. If you are interrested in additional features and/or want to support the work I do on this plugin please consider buying the Pro Addon.</p>', ARVE_SLUG );
34
35
$pro_ad_message .= file_get_contents( ARVE_PATH . 'admin/pro-ad.html' );
36
@@ -56,15 +42,13 @@ function arve_display_pro_ad() {
56
57
function arve_widget_text() {
58
59
- printf( '<big><strong><a href="%s">Hiring a Marketing Person</a></strong></big>', 'https://nextgenthemes.com/hiring-a-marketing-person/' );
60
-
61
echo '<p>';
62
- printf( '<a href="%s">Documentation</a>, ', 'https://nextgenthemes.com/plugins/arve/documentation/' );
63
printf( '<a href="%s">Support</a>, ', 'https://nextgenthemes.com/support/' );
64
printf( '<a href="%s">%s</a>', admin_url( 'admin.php?page=advanced-responsive-video-embedder' ), __( 'Settings', ARVE_SLUG ) );
65
echo '</p>';
66
67
- printf( '<a href="%s">ARVE Pro Addon Features</a>:', 'https://nextgenthemes.com/plugins/arve-pro/' );
68
69
echo file_get_contents( ARVE_PATH . 'admin/pro-ad.html' );
70
}
@@ -81,22 +65,23 @@ function arve_add_dashboard_widget() {
81
'arve_widget_text' // Display function.
82
);
83
84
- // Globalize the metaboxes array, this holds all the widgets for wp-admin.
85
global $wp_meta_boxes, $pagenow;
86
87
if( 'index.php' == $pagenow ) {
88
- // Get the regular dashboard widgets array.
89
- // (which has our new widget already but at the end).
90
$normal_dashboard = $wp_meta_boxes['dashboard']['normal']['core'];
91
92
- // Backup and delete our new dashboard widget from the end of the array.
93
$arve_widget_backup = array( 'arve_dashboard_widget' => $normal_dashboard['arve_dashboard_widget'] );
94
unset( $normal_dashboard['arve_dashboard_widget'] );
95
96
- // Merge the two arrays together so our widget is at the beginning.
97
$sorted_dashboard = array_merge( $arve_widget_backup, $normal_dashboard );
98
99
- // Save the sorted array back into the original metaboxes.
100
$wp_meta_boxes['dashboard']['normal']['core'] = $sorted_dashboard;
101
}
102
}
@@ -150,7 +135,7 @@ function arve_add_action_links( $links ) {
150
151
$extra_links['buy_pro_addon'] = sprintf(
152
'<a href="%s"><strong style="display: inline;">%s</strong></a>',
153
- 'https://nextgenthemes.com/plugins/arve-pro/',
154
__( 'Buy Pro Addon', ARVE_SLUG )
155
);
156
}
@@ -179,7 +164,7 @@ function arve_add_media_button() {
179
printf(
180
"<div id='arve-thickbox' style='display:none;'><p>$p1</p><p>$p2</p><p>$p3</p></div>",
181
nextgenthemes_admin_install_search_url( 'Shortcode+UI' ),
182
- esc_url( 'https://nextgenthemes.com/plugins/arve/documentation/' )
183
);
184
185
printf(
@@ -355,8 +340,8 @@ function arve_register_settings() {
355
$value['label'], // title
356
$callback_function, // callback
357
ARVE_SLUG, // page
358
- 'main_section', // section
359
- array( // args
360
'label_for' => ( 'radio' === $value['type'] ) ? null : "arve_options_main[{$value['attr']}]",
361
'input_attr' => $value['meta'] + array(
362
'type' => $value['type'],
@@ -503,10 +488,12 @@ function arve_shortcodes_section_description() {
503
504
function arve_params_section_description() {
505
506
$desc = sprintf(
507
__( 'This parameters will be added to the <code>iframe src</code> urls, you can control the video players behavior with them. Please read <a href="%s" target="_blank">the documentation</a> on.',
508
ARVE_SLUG ),
509
- esc_url( 'https://nextgenthemes.com/arve/documentation' )
510
);
511
512
echo "<p>$desc</p>";
@@ -517,7 +504,7 @@ function arve_params_section_description() {
517
<a target="_blank" href="https://developers.google.com/youtube/player_parameters">Youtube Parameters</a>,
518
<a target="_blank" href="http://www.dailymotion.com/doc/api/player.html#parameters">Dailymotion Parameters</a>,
519
<a target="_blank" href="https://developer.vimeo.com/player/embedding">Vimeo Parameters</a>,
520
- <a target="_blank" href="https://nextgenthemes.com/arve-pro/documentation">Vimeo Parameters</a>,
521
</p>
522
<?php
523
}
@@ -568,43 +555,42 @@ function arve_debug_section_description() {
568
*/
569
function arve_validate_options_main( $input ) {
570
571
- // Storing the Options Section as a empty array will cause the plugin to use defaults
572
if( isset( $input['reset'] ) ) {
573
return array();
574
}
575
576
- $output['align'] = sanitize_text_field( $input['align'] );
577
- $output['mode'] = sanitize_text_field( $input['mode'] );
578
- $output['last_settings_tab'] = sanitize_text_field( $input['last_settings_tab'] );
579
- $output['controlslist'] = sanitize_text_field( $input['controlslist'] );
580
- $output['vimeo_api_token'] = sanitize_text_field( $input['vimeo_api_token'] );
581
582
- $output['always_enqueue_assets'] = ( 'yes' == $input['always_enqueue_assets'] ) ? true : false;
583
- $output['autoplay'] = ( 'yes' == $input['autoplay'] ) ? true : false;
584
- $output['iframe_flash'] = ( 'yes' == $input['iframe_flash'] ) ? true : false;
585
- $output['promote_link'] = ( 'yes' == $input['promote_link'] ) ? true : false;
586
- $output['wp_video_override'] = ( 'yes' == $input['wp_video_override'] ) ? true : false;
587
588
$output['wp_image_cache_time'] = (int) $input['wp_image_cache_time'];
589
590
if( (int) $input['video_maxwidth'] > 100 ) {
591
- $output['video_maxwidth'] = (int) $input['video_maxwidth'];
592
} else {
593
- $output['video_maxwidth'] = '';
594
}
595
596
if( (int) $input['align_maxwidth'] > 100 ) {
597
- $output['align_maxwidth'] = (int) $input['align_maxwidth'];
598
}
599
600
$options_defaults = arve_get_options_defaults( 'main' );
601
- // Store only the options in the database that are different from the defaults.
602
return array_diff_assoc( $output, $options_defaults );
603
}
604
605
function arve_validate_options_params( $input ) {
606
607
- // Storing the Options Section as a empty array will cause the plugin to use defaults
608
if( isset( $input['reset'] ) ) {
609
return array();
610
}
2
3
function arve_action_admin_init_setup_messages() {
4
5
if( defined( 'ARVE_PRO_VERSION' ) && version_compare( ARVE_PRO_VERSION_REQUIRED, ARVE_PRO_VERSION, '>' ) ) {
6
7
$msg = sprintf(
9
ARVE_PRO_VERSION_REQUIRED,
10
get_admin_url() . 'admin.php?page=nextgenthemes-licenses',
11
'https://nextgenthemes.com/support/',
12
+ 'https://nextgenthemes.com/plugins/advanced-responsive-video-embedder-pro/documentation/installing-and-license-management/'
13
);
14
new ARVE_Admin_Notice_Factory( 'arve-pro-outdated', "<p>$msg</p>", false );
15
}
16
17
if( arve_display_pro_ad() ) {
18
19
+ $pro_ad_message = __( '<p>Hi, this is Nico(las Jonas) the author of the ARVE - Advanced Responsive Video Embedder plugin. If you are interrested in additional features and/or want to support the work I do on this plugin please consider buying the Pro Addon. (This is a one time global admin message, there is also a widget on your dashboard you can hide if you want)</p>', ARVE_SLUG );
20
21
$pro_ad_message .= file_get_contents( ARVE_PATH . 'admin/pro-ad.html' );
22
42
43
function arve_widget_text() {
44
45
echo '<p>';
46
+ printf( '<a href="%s">Documentation</a>, ', 'https://nextgenthemes.com/plugins/advanced-responsive-video-embedder-pro/documentation/' );
47
printf( '<a href="%s">Support</a>, ', 'https://nextgenthemes.com/support/' );
48
printf( '<a href="%s">%s</a>', admin_url( 'admin.php?page=advanced-responsive-video-embedder' ), __( 'Settings', ARVE_SLUG ) );
49
echo '</p>';
50
51
+ printf( '<a href="%s">ARVE Pro Addon Features</a>:', 'https://nextgenthemes.com/plugins/advanced-responsive-video-embedder-pro/' );
52
53
echo file_get_contents( ARVE_PATH . 'admin/pro-ad.html' );
54
}
65
'arve_widget_text' // Display function.
66
);
67
68
+ // Globalize the metaboxes array, this holds all the widgets for wp-admin
69
global $wp_meta_boxes, $pagenow;
70
71
if( 'index.php' == $pagenow ) {
72
+
73
+ // Get the regular dashboard widgets array
74
+ // (which has our new widget already but at the end)
75
$normal_dashboard = $wp_meta_boxes['dashboard']['normal']['core'];
76
77
+ // Backup and delete our new dashboard widget from the end of the array
78
$arve_widget_backup = array( 'arve_dashboard_widget' => $normal_dashboard['arve_dashboard_widget'] );
79
unset( $normal_dashboard['arve_dashboard_widget'] );
80
81
+ // Merge the two arrays together so our widget is at the beginning
82
$sorted_dashboard = array_merge( $arve_widget_backup, $normal_dashboard );
83
84
+ // Save the sorted array back into the original metaboxes
85
$wp_meta_boxes['dashboard']['normal']['core'] = $sorted_dashboard;
86
}
87
}
135
136
$extra_links['buy_pro_addon'] = sprintf(
137
'<a href="%s"><strong style="display: inline;">%s</strong></a>',
138
+ 'http://nextgenthemes.com/downloads/advanced-responsive-video-embedder',
139
__( 'Buy Pro Addon', ARVE_SLUG )
140
);
141
}
164
printf(
165
"<div id='arve-thickbox' style='display:none;'><p>$p1</p><p>$p2</p><p>$p3</p></div>",
166
nextgenthemes_admin_install_search_url( 'Shortcode+UI' ),
167
+ esc_url( 'https://nextgenthemes.com/plugins/advanced-responsive-video-embedder-pro/documentation/' )
168
);
169
170
printf(
340
$value['label'], // title
341
$callback_function, // callback
342
ARVE_SLUG, // page
343
+ 'main_section', // section
344
+ array( // args
345
'label_for' => ( 'radio' === $value['type'] ) ? null : "arve_options_main[{$value['attr']}]",
346
'input_attr' => $value['meta'] + array(
347
'type' => $value['type'],
488
489
function arve_params_section_description() {
490
491
+ $url = 'https://nextgenthemes.com/advanced-responsive-video-embedder-pro/documentation';
492
+
493
$desc = sprintf(
494
__( 'This parameters will be added to the <code>iframe src</code> urls, you can control the video players behavior with them. Please read <a href="%s" target="_blank">the documentation</a> on.',
495
ARVE_SLUG ),
496
+ esc_url( 'https://nextgenthemes.com/advanced-responsive-video-embedder-pro/documentation' )
497
);
498
499
echo "<p>$desc</p>";
504
<a target="_blank" href="https://developers.google.com/youtube/player_parameters">Youtube Parameters</a>,
505
<a target="_blank" href="http://www.dailymotion.com/doc/api/player.html#parameters">Dailymotion Parameters</a>,
506
<a target="_blank" href="https://developer.vimeo.com/player/embedding">Vimeo Parameters</a>,
507
+ <a target="_blank" href="https://nextgenthemes.com/advanced-responsive-video-embedder-pro/documentation">Vimeo Parameters</a>,
508
</p>
509
<?php
510
}
555
*/
556
function arve_validate_options_main( $input ) {
557
558
+ //* Storing the Options Section as a empty array will cause the plugin to use defaults
559
if( isset( $input['reset'] ) ) {
560
return array();
561
}
562
563
+ $output = array();
564
565
+ $output['align'] = sanitize_text_field( $input['align'] );
566
+ $output['mode'] = sanitize_text_field( $input['mode'] );
567
+ $output['last_settings_tab'] = sanitize_text_field( $input['last_settings_tab'] );
568
+ $output['controlslist'] = sanitize_text_field( $input['controlslist'] );
569
+
570
+ $output['autoplay'] = ( 'yes' == $input['autoplay'] ) ? true : false;
571
+ $output['promote_link'] = ( 'yes' == $input['promote_link'] ) ? true : false;
572
+ $output['wp_video_override'] = ( 'yes' == $input['wp_video_override'] ) ? true : false;
573
574
$output['wp_image_cache_time'] = (int) $input['wp_image_cache_time'];
575
576
if( (int) $input['video_maxwidth'] > 100 ) {
577
+ $output['video_maxwidth'] = (int) $input['video_maxwidth'];
578
} else {
579
+ $output['video_maxwidth'] = '';
580
}
581
582
if( (int) $input['align_maxwidth'] > 100 ) {
583
+ $output['align_maxwidth'] = (int) $input['align_maxwidth'];
584
}
585
586
$options_defaults = arve_get_options_defaults( 'main' );
587
+ //* Store only the options in the database that are different from the defaults.
588
return array_diff_assoc( $output, $options_defaults );
589
}
590
591
function arve_validate_options_params( $input ) {
592
593
+ //* Storing the Options Section as a empty array will cause the plugin to use defaults
594
if( isset( $input['reset'] ) ) {
595
return array();
596
}
admin/functions-licensing.php CHANGED
@@ -114,7 +114,7 @@ function nextgenthemes_ads_page() { ?>
114
<div id="nextgenthemes-ads">
115
116
<?php if ( ! defined( 'ARVE_PRO_VERSION' ) ) : ?>
117
- <a href="https://nextgenthemes.com/plugins/arve-pro/">
118
<figure><img src="<?php echo $img_dir; ?>arve.svg" alt"ARVE"></figure>
119
<?php nextgenthemes_feature_list_html( ARVE_PATH . 'readme/html/20-description-features-pro.html' ); ?>
120
<span>Paid</span>
@@ -168,25 +168,16 @@ function nextgenthemes_get_products() {
168
169
$products = array(
170
'arve_pro' => array(
171
- 'name' => 'ARVE Pro',
172
- 'id' => 1253,
173
'type' => 'plugin',
174
'author' => 'Nicolas Jonas',
175
- 'url' => 'https://nextgenthemes.com/plugins/arve-pro/',
176
),
177
'arve_amp' => array(
178
- 'name' => 'ARVE AMP',
179
- 'id' => 16941,
180
'type' => 'plugin',
181
'author' => 'Nicolas Jonas',
182
- 'url' => 'https://nextgenthemes.com/plugins/arve-amp/',
183
- ),
184
- 'arve_random_video' => array(
185
- 'name' => 'ARVE Random Video',
186
- 'id' => 31933,
187
- 'type' => 'plugin',
188
- 'author' => 'Nicolas Jonas',
189
- 'url' => 'https://nextgenthemes.com/plugins/arve-random-video/',
190
)
191
);
192
@@ -209,16 +200,6 @@ function nextgenthemes_get_products() {
209
$products[ $key ]['file'] = constant( $file_define );
210
}
211
212
- $version_define = "\\nextgenthemes\\$key\\VERSION";
213
- $file_define = "\\nextgenthemes\\$key\\FILE";
214
-
215
- if( defined( $version_define ) ) {
216
- $products[ $key ]['version'] = constant( $version_define );
217
- }
218
- if( defined( $file_define ) ) {
219
- $products[ $key ]['file'] = constant( $file_define );
220
- }
221
-
222
if ( 'plugin' == $value['type'] ) {
223
224
$file_slug = str_replace( '_', '-', $key );
@@ -253,12 +234,36 @@ function nextgenthemes_is_plugin_installed( $plugin_basename ) {
253
*/
254
function nextgenthemes_menus() {
255
256
- $plugin_screen_hook_suffix = add_options_page(
257
- __( 'ARVE Licenses', ARVE_SLUG ),
258
- __( 'ARVE Licenses', ARVE_SLUG ),
259
- 'manage_options',
260
- 'nextgenthemes-licenses',
261
- 'nextgenthemes_licenses_page'
262
);
263
}
264
@@ -397,13 +402,13 @@ function nextgenthemes_update_key_status( $product, $key ) {
397
update_option( "nextgenthemes_{$product}_key_status", $key );
398
}
399
function nextgenthemes_has_valid_key( $product ) {
400
- return ( 'valid' === nextgenthemes_get_key_status( $product ) ) ? true : false;
401
}
402
403
function nextgenthemes_api_update_key_status( $product, $key, $action ) {
404
405
$products = nextgenthemes_get_products();
406
- $key_status = nextgenthemes_api_action( $products[ $product ]['id'], $key, $action );
407
408
nextgenthemes_update_key_status( $product, $key_status );
409
}
@@ -453,15 +458,14 @@ function nextgenthemes_init_edd_updaters() {
453
function nextgenthemes_init_plugin_updater( $product ) {
454
455
// setup the updater
456
- new Nextgenthemes_Plugin_Updater(
457
- apply_filters( 'nextgenthemes_api_url', 'https://nextgenthemes.com' ),
458
$product['file'],
459
array(
460
- 'version' => $product['version'],
461
- 'license' => nextgenthemes_get_key( $product['slug'] ),
462
- #'item_name' => $product['name'],
463
- 'item_id' => $product['id'],
464
- 'author' => $product['author']
465
)
466
);
467
}
@@ -470,14 +474,14 @@ function nextgenthemes_init_theme_updater( $product ) {
470
471
new EDD_Theme_Updater(
472
array(
473
- 'remote_api_url' => 'https://nextgenthemes.com',
474
- 'version' => $product['version'],
475
- 'license' => nextgenthemes_get_key( $product['slug'] ),
476
- 'item_id' => $product['name'],
477
- 'author' => $product['id'],
478
- 'theme_slug' => $product['slug'],
479
- 'download_id' => $product['download_id'], // Optional, used for generating a license renewal link
480
- #'renew_url' => $product['renew_link'], // Optional, allows for a custom license renewal link
481
),
482
array(
483
'theme-license' => __( 'Theme License', ARVE_SLUG ),
@@ -506,47 +510,67 @@ function nextgenthemes_init_theme_updater( $product ) {
506
);
507
}
508
509
- function nextgenthemes_api_action( $item_id, $key, $action ) {
510
511
if ( ! in_array( $action, array( 'activate', 'deactivate', 'check' ) ) ) {
512
wp_die( 'invalid action' );
513
}
514
515
- // data to send in our API request
516
- $api_params = array(
517
- 'edd_action' => $action . '_license',
518
- 'license' => sanitize_text_field( $key ),
519
- 'item_id' => $item_id,
520
- 'url' => home_url()
521
- );
522
-
523
- // Call the custom API.
524
- $response = wp_remote_post(
525
'https://nextgenthemes.com',
526
- array( 'timeout' => 15, 'sslverify' => true, 'body' => $api_params )
527
);
528
529
- // make sure the response came back okay
530
- if ( is_wp_error( $response ) || 200 !== wp_remote_retrieve_response_code( $response ) ) {
531
532
- if ( is_wp_error( $response ) ) {
533
- $message = $response->get_error_message();
534
- } else {
535
- $message = __( 'An error occurred, please try again.', ARVE_SLUG );
536
- }
537
538
} else {
539
540
$license_data = json_decode( wp_remote_retrieve_body( $response ) );
541
542
- if ( false === $license_data->success ) {
543
544
switch( $license_data->error ) {
545
546
case 'expired' :
547
548
$message = sprintf(
549
- __( 'Your license key expired on %s.' ),
550
date_i18n( get_option( 'date_format' ), strtotime( $license_data->expires, current_time( 'timestamp' ) ) )
551
);
552
break;
@@ -569,46 +593,30 @@ function nextgenthemes_api_action( $item_id, $key, $action ) {
569
570
case 'item_name_mismatch' :
571
572
- $message = sprintf( __( 'This appears to be an invalid license key for %s.' ), ARVE_SLUG );
573
break;
574
575
- case 'no_activations_left':
576
577
$message = __( 'Your license key has reached its activation limit.', ARVE_SLUG );
578
break;
579
580
default :
581
582
- $message = __( 'An error occurred, please try again.', ARVE_SLUG );
583
break;
584
}
585
- }
586
- }
587
-
588
- if ( empty( $message ) ) {
589
-
590
- if ( empty( $license_data->license ) ) {
591
592
- $textarea_dump = arve_textarea_dump( $response );
593
594
- $message = sprintf(
595
- __( 'Error. Please report the following:<br> %s', ARVE_SLUG ),
596
- $textarea_dump
597
- );
598
- } else {
599
- $message = $license_data->license;
600
- }
601
}
602
603
return $message;
604
}
605
-
606
- function arve_dump( $var ) {
607
- ob_start();
608
- var_dump( $var );
609
- return ob_get_clean();
610
- }
611
-
612
- function arve_textarea_dump( $var ) {
613
- return sprintf( '<textarea style="width: 100%; height: 70vh;">%s</textarea>', esc_textarea( arve_dump( $var ) ) );
614
- }
114
<div id="nextgenthemes-ads">
115
116
<?php if ( ! defined( 'ARVE_PRO_VERSION' ) ) : ?>
117
+ <a href="https://nextgenthemes.com/plugins/advanced-responsive-video-embedder-pro/">
118
<figure><img src="<?php echo $img_dir; ?>arve.svg" alt"ARVE"></figure>
119
<?php nextgenthemes_feature_list_html( ARVE_PATH . 'readme/html/20-description-features-pro.html' ); ?>
120
<span>Paid</span>
168
169
$products = array(
170
'arve_pro' => array(
171
+ 'name' => 'Advanced Responsive Video Embedder Pro',
172
'type' => 'plugin',
173
'author' => 'Nicolas Jonas',
174
+ 'url' => 'https://nextgenthemes.com/plugins/advanced-responsive-video-embedder-pro/',
175
),
176
'arve_amp' => array(
177
+ 'name' => 'ARVE Accelerated Mobile Pages Addon',
178
'type' => 'plugin',
179
'author' => 'Nicolas Jonas',
180
+ 'url' => 'https://nextgenthemes.com/plugins/arve-accelerated-mobile-pages-addon/',
181
)
182
);
183
200
$products[ $key ]['file'] = constant( $file_define );
201
}
202
203
if ( 'plugin' == $value['type'] ) {
204
205
$file_slug = str_replace( '_', '-', $key );
234
*/
235
function nextgenthemes_menus() {
236
237
+ $plugin_screen_hook_suffix = add_menu_page(
238
+ __( 'Nextgenthemes', ARVE_SLUG ), # Page Title
239
+ __( 'Nextgenthemes', ARVE_SLUG ), # Menu Tile
240
+ 'manage_options', # capability
241
+ 'nextgenthemes', # menu-slug
242
+ 'nextgenthemes_ads_page', # function
243
+ 'dashicons-video-alt3', # icon_url
244
+ '80.892' # position
245
+ );
246
+
247
+ /*
248
+ add_submenu_page(
249
+ 'nextgenthemes', # parent_slug
250
+ __( 'Addons and Themes', ARVE_SLUG ), # Page Title
251
+ __( 'Addons and Themes', ARVE_SLUG ), # Menu Tile
252
+ 'manage_options', # capability
253
+ 'nextgenthemes', # menu-slug
254
+ function() {
255
+ require_once plugin_dir_path( __FILE__ ) . 'html-ad-page.php';
256
+ }
257
+ );
258
+ */
259
+
260
+ add_submenu_page(
261
+ 'nextgenthemes', # parent_slug
262
+ __( 'Licenses', ARVE_SLUG ), # Page Title
263
+ __( 'Licenses', ARVE_SLUG ), # Menu Tile
264
+ 'manage_options', # capability
265
+ 'nextgenthemes-licenses', # menu-slug
266
+ 'nextgenthemes_licenses_page' # function
267
);
268
}
269
402
update_option( "nextgenthemes_{$product}_key_status", $key );
403
}
404
function nextgenthemes_has_valid_key( $product ) {
405
+ return ( 'valid' == nextgenthemes_get_key_status( $product ) ) ? true : false;
406
}
407
408
function nextgenthemes_api_update_key_status( $product, $key, $action ) {
409
410
$products = nextgenthemes_get_products();
411
+ $key_status = nextgenthemes_api_action( $products[ $product ]['name'], $key, $action );
412
413
nextgenthemes_update_key_status( $product, $key_status );
414
}
458
function nextgenthemes_init_plugin_updater( $product ) {
459
460
// setup the updater
461
+ new EDD_SL_Plugin_Updater(
462
+ 'https://nextgenthemes.com',
463
$product['file'],
464
array(
465
+ 'version' => $product['version'],
466
+ 'license' => nextgenthemes_get_key( $product['slug'] ),
467
+ 'item_name' => $product['name'],
468
+ 'author' => $product['author']
469
)
470
);
471
}
474
475
new EDD_Theme_Updater(
476
array(
477
+ 'remote_api_url' => 'https://nextgenthemes.com',
478
+ 'version' => $product['version'],
479
+ 'license' => nextgenthemes_get_key( $product['slug'] ),
480
+ 'item_name' => $product['name'],
481
+ 'author' => $product['author'],
482
+ 'theme_slug' => $product['slug'],
483
+ 'download_id' => $product['download_id'], // Optional, used for generating a license renewal link
484
+ #'renew_url' => $product['renew_link'], // Optional, allows for a custom license renewal link
485
),
486
array(
487
'theme-license' => __( 'Theme License', ARVE_SLUG ),
510
);
511
}
512
513
+ function nextgenthemes_remote_get( $url, $args ) {
514
+
515
+ $response = wp_remote_post( 'https://nextgenthemes.com', $args );
516
+ $response_code = wp_remote_retrieve_response_code( $response );
517
+
518
+ # retry with wp_remote_GET
519
+ if ( 200 !== $response_code ) {
520
+ $response = wp_remote_get( 'https://nextgenthemes.com', $args );
521
+ $response_code = wp_remote_retrieve_response_code( $response );
522
+ }
523
+
524
+ if ( 200 !== $response_code ) {
525
+
526
+ $response = new WP_Error(
527
+ 'response_code',
528
+ sprintf(
529
+ __( 'Error: Response code should be 200 but was: %s.', ARVE_SLUG ),
530
+ $response_code
531
+ )
532
+ );
533
+ }
534
+
535
+ return $response;
536
+ };
537
+
538
+ function nextgenthemes_api_action( $item_name, $key, $action ) {
539
540
if ( ! in_array( $action, array( 'activate', 'deactivate', 'check' ) ) ) {
541
wp_die( 'invalid action' );
542
}
543
544
+ $response = nextgenthemes_remote_get(
545
'https://nextgenthemes.com',
546
+ array(
547
+ 'timeout' => 15,
548
+ 'sslverify' => true,
549
+ 'body' => array(
550
+ 'edd_action' => $action . '_license',
551
+ 'license' => sanitize_text_field( $key ),
552
+ 'item_name' => urlencode( $item_name ),
553
+ 'url' => home_url(),
554
+ )
555
+ )
556
);
557
558
+ if ( is_wp_error( $response ) ) {
559
560
+ $message = $response->get_error_message();
561
562
} else {
563
564
$license_data = json_decode( wp_remote_retrieve_body( $response ) );
565
566
+ if ( false === $license_data->success ) :
567
568
switch( $license_data->error ) {
569
570
case 'expired' :
571
572
$message = sprintf(
573
+ __( 'Your license key expired on %s.', ARVE_SLUG ),
574
date_i18n( get_option( 'date_format' ), strtotime( $license_data->expires, current_time( 'timestamp' ) ) )
575
);
576
break;
593
594
case 'item_name_mismatch' :
595
596
+ $message = sprintf( __( 'This appears to be an invalid license key for %s.', ARVE_SLUG ), $item_name );
597
break;
598
599
+ case 'no_activations_left' :
600
601
$message = __( 'Your license key has reached its activation limit.', ARVE_SLUG );
602
break;
603
604
default :
605
606
+ $message = sprintf(
607
+ __( 'Error: %s.', ARVE_SLUG ),
608
+ $license_data->error
609
+ );
610
+
611
break;
612
}
613
614
+ endif; // false === $license_data->success
615
+ }
616
617
+ if( empty( $message ) ) {
618
+ $message = $license_data->license;
619
}
620
621
return $message;
622
}
admin/html-settings-page.php CHANGED
@@ -25,33 +25,8 @@ $options = arve_get_options();
25
26
<div class="arve-corner-spacer"></div>
27
28
- <h3>Please rate</h3>
29
- It would really help to get a <a href="https://wordpress.org/support/plugin/advanced-responsive-video-embedder/reviews/#new-post">5 star rating from you.</a>
30
-
31
- <p>This plugin is financed by purchases of the <a href="https://nextgenthemes.com/plugins/arve-pro/">Pro Addon</a>. The development and support of this plugins has become a job for me so I hope you understand that I can not make all features gratis and that you <a href="https://nextgenthemes.com/plugins/arve-pro/">purchase it</a> to get extra features and support the development.</p>
32
-
33
- <h3><a href="https://nextgenthemes.com/plugins/arve-pro/">Pro Addon</a></h3>
34
-
35
- <ul>
36
- <li><strong>Disable links in embeds (killer feature!)</strong><br>
37
- For example: Clicking on a title in a YouTube embed will not open a new popup/tab/window. <strong>Prevent video hosts to lead your visitors away from your site!</strong> Note this also breaks sharing functionality and is not possible when the provider requires flash. Try it on <a href="https://nextgenthemes.com/plugins/arve-pro/">this page</a>. Right click on links still works.</li>
38
- <li><strong>Lazyload mode</strong><br>
39
- Make your site load <strong>faster</strong> by loading only a image instead of the entire video player on pageload. </li>
40
- <li><strong>Lazyload -> Lightbox</strong><br>
41
- Shows the Video in a Lightbox after clicking a preview image</li>
42
- <li><strong>Link -> Lightbox</strong><br>
43
- Use simple links as triggers for lightboxed videos</li>
44
- <li>Automatic or custom thumbnail images</li>
45
- <li>Automatic or custom titles on top of your thumbnails</li>
46
- <li>'Expand on click' feature</li>
47
- <li>3 hover styles</li>
48
- <li>2 play icon styles to choose from</li>
49
- <li>Responsive thumbnails using cutting edge HTML5 technology</li>
50
- <li><strong>Feel good about yourself</strong><br>
51
- for supporting my 5+ years work on this plugin. Tons of hours, weekends … always worked on improving it.</li>
52
- <li>Show the latest video of a YouTube channel by using the channel URL (updated/cached hourly)</li>
53
- <li><strong><a href="https://nextgenthemes.com/plugins/arve-pro/">Get the ARVE Pro Addon</a></strong></li>
54
- </ul>
55
56
</div>
57
25
26
<div class="arve-corner-spacer"></div>
27
28
+ <?php echo file_get_contents( ARVE_PATH . 'readme/html/19-description-features-pro-intro.html' ); ?>
29
+ <?php echo file_get_contents( ARVE_PATH . 'readme/html/20-description-features-pro.html' ); ?>
30
31
</div>
32
advanced-responsive-video-embedder.php CHANGED
@@ -1,9 +1,9 @@
1
<?php
2
/**
3
* Plugin Name: ARVE Advanced Responsive Video Embedder
4
- * Plugin URI: https://nextgenthemes.com/plugins/arve-pro/
5
* Description: Easy responsive video embeds via URL (like WordPress) or Shortcodes. Supports almost anything you can imagine.
6
- * Version: 8.9.5
7
* Author: Nicolas Jonas
8
* Author URI: https://nextgenthemes.com
9
* License: GPL-3.0
@@ -19,7 +19,7 @@ if ( ! defined( 'WPINC' ) ) {
19
}
20
21
define( 'ARVE_SLUG', 'advanced-responsive-video-embedder' );
22
- define( 'ARVE_VERSION', '8.9.5' );
23
define( 'ARVE_PRO_VERSION_REQUIRED', '4.0.0' );
24
25
define( 'ARVE_URL', plugin_dir_url( __FILE__ ) );
@@ -27,8 +27,13 @@ define( 'ARVE_PUBLIC_URL', ARVE_URL . 'public/' );
27
define( 'ARVE_ADMIN_URL', ARVE_URL . 'admin/' );
28
29
define( 'ARVE_PATH', plugin_dir_path( __FILE__ ) );
30
define( 'ARVE_NUM_TRACKS', 10 );
31
32
#add_action( 'init', 'arve_init' );
33
arve_init();
34
@@ -43,8 +48,10 @@ function arve_init() {
43
return;
44
}
45
46
- require_once __DIR__ . '/admin/class-nextgenthemes-plugin-updater.php';
47
- require_once __DIR__ . '/admin/functions-licensing.php';
48
require_once __DIR__ . '/admin/functions-admin.php';
49
require_once __DIR__ . '/public/functions-enqueue.php';
50
require_once __DIR__ . '/public/functions-html-output.php';
@@ -65,7 +72,6 @@ function arve_init() {
65
add_action( 'plugins_loaded', 'arve_oembed_remove_providers', 998 );
66
add_action( 'wp_enqueue_scripts', 'arve_register_styles', 0 );
67
add_action( 'wp_enqueue_scripts', 'arve_register_scripts', 0 );
68
- add_action( 'wp_enqueue_scripts', 'arve_maybe_enqueue_assets' );
69
add_action( 'wp_video_shortcode_override', 'arve_wp_video_shortcode_override', 10, 4 );
70
add_filter( 'widget_text', 'do_shortcode' );
71
add_filter( 'language_attributes', 'arve_html_id' );
1
<?php
2
/**
3
* Plugin Name: ARVE Advanced Responsive Video Embedder
4
+ * Plugin URI: https://nextgenthemes.com/plugins/advanced-responsive-video-embedder-pro/
5
* Description: Easy responsive video embeds via URL (like WordPress) or Shortcodes. Supports almost anything you can imagine.
6
+ * Version: 8.7.3
7
* Author: Nicolas Jonas
8
* Author URI: https://nextgenthemes.com
9
* License: GPL-3.0
19
}
20
21
define( 'ARVE_SLUG', 'advanced-responsive-video-embedder' );
22
+ define( 'ARVE_VERSION', '8.7.3' );
23
define( 'ARVE_PRO_VERSION_REQUIRED', '4.0.0' );
24
25
define( 'ARVE_URL', plugin_dir_url( __FILE__ ) );
27
define( 'ARVE_ADMIN_URL', ARVE_URL . 'admin/' );
28
29
define( 'ARVE_PATH', plugin_dir_path( __FILE__ ) );
30
+
31
define( 'ARVE_NUM_TRACKS', 10 );
32
33
+ if( ! class_exists( 'EDD_SL_Plugin_Updater' ) ) {
34
+ require_once __DIR__ . '/admin/class-edd-sl-plugin-updater.php';
35
+ }
36
+
37
#add_action( 'init', 'arve_init' );
38
arve_init();
39
48
return;
49
}
50
51
+ if ( ! has_action( 'admin_menu', 'nextgenthemes_menus' ) ) {
52
+ require_once __DIR__ . '/admin/functions-licensing.php';
53
+ }
54
+
55
require_once __DIR__ . '/admin/functions-admin.php';
56
require_once __DIR__ . '/public/functions-enqueue.php';
57
require_once __DIR__ . '/public/functions-html-output.php';
72
add_action( 'plugins_loaded', 'arve_oembed_remove_providers', 998 );
73
add_action( 'wp_enqueue_scripts', 'arve_register_styles', 0 );
74
add_action( 'wp_enqueue_scripts', 'arve_register_scripts', 0 );
75
add_action( 'wp_video_shortcode_override', 'arve_wp_video_shortcode_override', 10, 4 );
76
add_filter( 'widget_text', 'do_shortcode' );
77
add_filter( 'language_attributes', 'arve_html_id' );
composer.lock DELETED
@@ -1,184 +0,0 @@
1
- {
2
- "_readme": [
3
- "This file locks the dependencies of your project to a known state",
4
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
5
- "This file is @generated automatically"
6
- ],
7
- "content-hash": "7a1fe94550ac8f3eaab0f9ae184b859e",
8
- "packages": [
9
- {
10
- "name": "composer/installers",
11
- "version": "v1.5.0",
12
- "source": {
13
- "type": "git",
14
- "url": "https://github.com/composer/installers.git",
15
- "reference": "049797d727261bf27f2690430d935067710049c2"
16
- },
17
- "dist": {
18
- "type": "zip",
19
- "url": "https://api.github.com/repos/composer/installers/zipball/049797d727261bf27f2690430d935067710049c2",
20
- "reference": "049797d727261bf27f2690430d935067710049c2",
21
- "shasum": ""
22
- },
23
- "require": {
24
- "composer-plugin-api": "^1.0"
25
- },
26
- "replace": {
27
- "roundcube/plugin-installer": "*",
28
- "shama/baton": "*"
29
- },
30
- "require-dev": {
31
- "composer/composer": "1.0.*@dev",
32
- "phpunit/phpunit": "^4.8.36"
33
- },
34
- "type": "composer-plugin",
35
- "extra": {
36
- "class": "Composer\\Installers\\Plugin",
37
- "branch-alias": {
38
- "dev-master": "1.0-dev"
39
- }
40
- },
41
- "autoload": {
42
- "psr-4": {
43
- "Composer\\Installers\\": "src/Composer/Installers"
44
- }
45
- },
46
- "notification-url": "https://packagist.org/downloads/",
47
- "license": [
48
- "MIT"
49
- ],
50
- "authors": [
51
- {
52
- "name": "Kyle Robinson Young",
53
- "email": "kyle@dontkry.com",
54
- "homepage": "https://github.com/shama"
55
- }
56
- ],
57
- "description": "A multi-framework Composer library installer",
58
- "homepage": "https://composer.github.io/installers/",
59
- "keywords": [
60
- "Craft",
61
- "Dolibarr",
62
- "Eliasis",
63
- "Hurad",
64
- "ImageCMS",
65
- "Kanboard",
66
- "Lan Management System",
67
- "MODX Evo",
68
- "Mautic",
69
- "Maya",
70
- "OXID",
71
- "Plentymarkets",
72
- "Porto",
73
- "RadPHP",
74
- "SMF",
75
- "Thelia",
76
- "WolfCMS",
77
- "agl",
78
- "aimeos",
79
- "annotatecms",
80
- "attogram",
81
- "bitrix",
82
- "cakephp",
83
- "chef",
84
- "cockpit",
85
- "codeigniter",
86
- "concrete5",
87
- "croogo",
88
- "dokuwiki",
89
- "drupal",
90
- "eZ Platform",
91
- "elgg",
92
- "expressionengine",
93
- "fuelphp",
94
- "grav",
95
- "installer",
96
- "itop",
97
- "joomla",
98
- "kohana",
99
- "laravel",
100
- "lavalite",
101
- "lithium",
102
- "magento",
103
- "majima",
104
- "mako",
105
- "mediawiki",
106
- "modulework",
107
- "modx",
108
- "moodle",
109
- "osclass",
110
- "phpbb",
111
- "piwik",
112
- "ppi",
113
- "puppet",
114
- "pxcms",
115
- "reindex",
116
- "roundcube",
117
- "shopware",
118
- "silverstripe",
119
- "sydes",
120
- "symfony",
121
- "typo3",
122
- "wordpress",
123
- "yawik",
124
- "zend",
125
- "zikula"
126
- ],
127
- "time": "2017-12-29T09:13:20+00:00"
128
- },
129
- {
130
- "name": "vimeo/vimeo-api",
131
- "version": "2.0.0",
132
- "source": {
133
- "type": "git",
134
- "url": "https://github.com/vimeo/vimeo.php.git",
135
- "reference": "9fbf705cf4885282183744c04f3fb10793768911"
136
- },
137
- "dist": {
138
- "type": "zip",
139
- "url": "https://api.github.com/repos/vimeo/vimeo.php/zipball/9fbf705cf4885282183744c04f3fb10793768911",
140
- "reference": "9fbf705cf4885282183744c04f3fb10793768911",
141
- "shasum": ""
142
- },
143
- "require": {
144
- "ext-curl": "*",
145
- "ext-json": "*",
146
- "php": ">=5.3.0"
147
- },
148
- "require-dev": {
149
- "phpunit/phpunit": "^4.8"
150
- },
151
- "type": "library",
152
- "autoload": {
153
- "psr-4": {
154
- "Vimeo\\": "src/Vimeo"
155
- }
156
- },
157
- "notification-url": "https://packagist.org/downloads/",
158
- "license": [
159
- "Apache-2.0"
160
- ],
161
- "authors": [
162
- {
163
- "name": "Vimeo",
164
- "homepage": "http://vimeo.com"
165
- }
166
- ],
167
- "description": "Official PHP library for the Vimeo API.",
168
- "homepage": "https://github.com/vimeo/vimeo.php",
169
- "keywords": [
170
- "video",
171
- "vimeo"
172
- ],
173
- "time": "2018-02-06T19:06:58+00:00"
174
- }
175
- ],
176
- "packages-dev": [],
177
- "aliases": [],
178
- "minimum-stability": "stable",
179
- "stability-flags": [],
180
- "prefer-stable": false,
181
- "prefer-lowest": false,
182
- "platform": [],
183
- "platform-dev": []
184
- }
index.php ADDED
@@ -0,0 +1 @@
1
+ <?php // Silence is golden
public/functions-enqueue.php CHANGED
@@ -24,16 +24,3 @@ function arve_register_scripts() {
24
true
25
);
26
}
27
-
28
- function arve_maybe_enqueue_assets() {
29
-
30
- $options = arve_get_options();
31
-
32
- if ( $options['always_enqueue_assets'] ) {
33
- wp_enqueue_style( ARVE_SLUG );
34
- wp_enqueue_script( ARVE_SLUG );
35
-
36
- wp_enqueue_style( 'arve-pro' );
37
- wp_enqueue_script( 'arve-pro' );
38
- }
39
- }
24
true
25
);
26
}
public/functions-html-output.php CHANGED
@@ -80,10 +80,6 @@ function arve_build_meta_html( $atts ) {
80
$meta .= sprintf( '<meta itemprop="uploadDate" content="%s">', esc_attr( $atts['upload_date'] ) );
81
}
82
83
- if ( ! empty( $atts['duration'] ) ) {
84
- $meta .= sprintf( '<meta itemprop="duration" content="PT%s">', esc_attr( $atts['duration'] ) );
85
- }
86
-
87
if( ! empty( $atts['img_src'] ) ) :
88
89
if( in_array( $atts['mode'], array( 'lazyload', 'lazyload-lightbox' ) ) ) {
@@ -132,7 +128,7 @@ function arve_build_promote_link_html( $arve_link ) {
132
if ( $arve_link ) {
133
return sprintf(
134
'<a href="%s" title="%s" class="arve-promote-link" target="_blank">%s</a>',
135
- esc_url( 'https://nextgenthemes.com/plugins/arve-pro/' ),
136
esc_attr( __( 'Embedded with ARVE Advanced Responsive Video Embedder WordPress plugin', ARVE_SLUG) ),
137
esc_html__( 'ARVE', ARVE_SLUG )
138
);
80
$meta .= sprintf( '<meta itemprop="uploadDate" content="%s">', esc_attr( $atts['upload_date'] ) );
81
}
82
83
if( ! empty( $atts['img_src'] ) ) :
84
85
if( in_array( $atts['mode'], array( 'lazyload', 'lazyload-lightbox' ) ) ) {
128
if ( $arve_link ) {
129
return sprintf(
130
'<a href="%s" title="%s" class="arve-promote-link" target="_blank">%s</a>',
131
+ esc_url( 'https://nextgenthemes.com/plugins/advanced-responsive-video-embedder-pro/' ),
132
esc_attr( __( 'Embedded with ARVE Advanced Responsive Video Embedder WordPress plugin', ARVE_SLUG) ),
133
esc_html__( 'ARVE', ARVE_SLUG )
134
);
public/functions-shortcode-data.php CHANGED
@@ -10,7 +10,7 @@ function arve_get_default_aspect_ratio( $aspect_ratio, $provider ) {
10
11
function arve_get_html5_attributes() {
12
13
- return array( 'mp4', 'm4v', 'webm', 'ogv', 'ogg', 'ogm' );
14
}
15
16
function arve_url_query_array( $url ) {
@@ -157,7 +157,6 @@ function arve_add_autoplay_query_arg( $src, $a ) {
157
$on = add_query_arg( 'player_autoplay', 'true', $src );
158
$off = add_query_arg( 'player_autoplay', 'false', $src );
159
break;
160
- /*
161
case 'iframe':
162
# We are spamming all kinds of autoplay parameters here in hope of a effect
163
$on = add_query_arg( array(
@@ -173,7 +172,6 @@ function arve_add_autoplay_query_arg( $src, $a ) {
173
'player_autoStart' => 'false',
174
), $src );
175
break;
176
- */
177
default:
178
# Do nothing for providers that to not support autoplay or fail with parameters
179
$on = $src;
10
11
function arve_get_html5_attributes() {
12
13
+