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

Version Description

Download this release

Release Info

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

Code changes from version 8.9.5 to 8.8.3

Files changed (167) hide show
  1. CHANGELOG.md +953 -0
  2. LICENSE.txt +5 -0
  3. admin/arve-shortcode-ui.js +2 -2
  4. admin/functions-admin.php +5 -6
  5. admin/functions-licensing.php +2 -18
  6. admin/html-settings-page.php +4 -27
  7. advanced-responsive-video-embedder.php +2 -3
  8. public/functions-enqueue.php +0 -13
  9. public/functions-shortcode-filters.php +11 -11
  10. public/functions-shortcodes.php +39 -59
  11. readme.txt → readme.md +9 -57
  12. readme/01-top.md +25 -0
  13. readme/10-description-features.md +21 -0
  14. readme/12-description-supported-providers.md +5 -0
  15. readme/13-description-reviews.md +17 -0
  16. readme/19-description-features-pro-intro.md +2 -0
  17. readme/20-description-features-pro.md +21 -0
  18. readme/25-description-features-amp.md +11 -0
  19. readme/35-description-thanks.md +13 -0
  20. readme/50-installation-faq-screenshots.md +40 -0
  21. readme/html/01-top.html +18 -0
  22. readme/html/10-description-features.html +22 -0
  23. readme/html/12-description-supported-providers.html +3 -0
  24. readme/html/13-description-reviews.html +19 -0
  25. readme/html/19-description-features-pro-intro.html +1 -0
  26. readme/html/20-description-features-pro.html +22 -0
  27. readme/html/25-description-features-amp.html +12 -0
  28. readme/html/35-description-thanks.html +16 -0
  29. readme/html/50-installation-faq-screenshots.html +43 -0
  30. readme/prep/description-perfectdropinreplacement.md +11 -0
  31. readme/prep/description-reasons.html +9 -0
  32. readme/prep/description-whatitis.md +6 -0
  33. shared/functions-shared.php +25 -54
  34. vendor/autoload.php +0 -7
  35. vendor/composer/ClassLoader.php +0 -445
  36. vendor/composer/LICENSE +0 -21
  37. vendor/composer/autoload_classmap.php +0 -9
  38. vendor/composer/autoload_namespaces.php +0 -9
  39. vendor/composer/autoload_psr4.php +0 -11
  40. vendor/composer/autoload_real.php +0 -52
  41. vendor/composer/autoload_static.php +0 -39
  42. vendor/composer/installed.json +0 -172
  43. vendor/composer/installers/CHANGELOG.md +0 -86
  44. vendor/composer/installers/CONTRIBUTING.md +0 -24
  45. vendor/composer/installers/LICENSE +0 -19
  46. vendor/composer/installers/README.md +0 -221
  47. vendor/composer/installers/_config.yml +0 -1
  48. vendor/composer/installers/phpunit.xml.dist +0 -25
  49. vendor/composer/installers/src/Composer/Installers/AglInstaller.php +0 -21
  50. vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php +0 -9
  51. vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php +0 -11
  52. vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php +0 -49
  53. vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php +0 -9
  54. vendor/composer/installers/src/Composer/Installers/BaseInstaller.php +0 -136
  55. vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php +0 -126
  56. vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php +0 -9
  57. vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php +0 -82
  58. vendor/composer/installers/src/Composer/Installers/ChefInstaller.php +0 -11
  59. vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php +0 -10
  60. vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php +0 -34
  61. vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php +0 -11
  62. vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php +0 -13
  63. vendor/composer/installers/src/Composer/Installers/CraftInstaller.php +0 -35
  64. vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php +0 -21
  65. vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php +0 -10
  66. vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php +0 -50
  67. vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php +0 -16
  68. vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php +0 -16
  69. vendor/composer/installers/src/Composer/Installers/ElggInstaller.php +0 -9
  70. vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php +0 -12
  71. vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php +0 -29
  72. vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php +0 -10
  73. vendor/composer/installers/src/Composer/Installers/FuelInstaller.php +0 -11
  74. vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php +0 -9
  75. vendor/composer/installers/src/Composer/Installers/GravInstaller.php +0 -30
  76. vendor/composer/installers/src/Composer/Installers/HuradInstaller.php +0 -25
  77. vendor/composer/installers/src/Composer/Installers/ImageCMSInstaller.php +0 -11
  78. vendor/composer/installers/src/Composer/Installers/Installer.php +0 -200
  79. vendor/composer/installers/src/Composer/Installers/ItopInstaller.php +0 -9
  80. vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php +0 -15
  81. vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php +0 -18
  82. vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php +0 -11
  83. vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php +0 -10
  84. vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php +0 -9
  85. vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php +0 -27
  86. vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php +0 -9
  87. vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php +0 -10
  88. vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php +0 -10
  89. vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php +0 -9
  90. vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php +0 -16
  91. vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php +0 -11
  92. vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php +0 -37
  93. vendor/composer/installers/src/Composer/Installers/MakoInstaller.php +0 -9
  94. vendor/composer/installers/src/Composer/Installers/MauticInstaller.php +0 -25
  95. vendor/composer/installers/src/Composer/Installers/MayaInstaller.php +0 -33
  96. vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php +0 -50
  97. vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php +0 -111
  98. vendor/composer/installers/src/Composer/Installers/ModxInstaller.php +0 -12
  99. vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php +0 -57
  100. vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php +0 -46
  101. vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php +0 -24
  102. vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php +0 -14
  103. vendor/composer/installers/src/Composer/Installers/OxidInstaller.php +0 -59
  104. vendor/composer/installers/src/Composer/Installers/PPIInstaller.php +0 -9
  105. vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php +0 -11
  106. vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php +0 -11
  107. vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php +0 -21
  108. vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php +0 -32
  109. vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php +0 -29
  110. vendor/composer/installers/src/Composer/Installers/Plugin.php +0 -17
  111. vendor/composer/installers/src/Composer/Installers/PortoInstaller.php +0 -9
  112. vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php +0 -10
  113. vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php +0 -11
  114. vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php +0 -63
  115. vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php +0 -24
  116. vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php +0 -10
  117. vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php +0 -10
  118. vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php +0 -22
  119. vendor/composer/installers/src/Composer/Installers/SMFInstaller.php +0 -10
  120. vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php +0 -60
  121. vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php +0 -35
  122. vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php +0 -25
  123. vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php +0 -49
  124. vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php +0 -26
  125. vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php +0 -16
  126. vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php +0 -38
  127. vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php +0 -12
  128. vendor/composer/installers/src/Composer/Installers/TuskInstaller.php +0 -14
  129. vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php +0 -9
  130. vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php +0 -10
  131. vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php +0 -49
  132. vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php +0 -10
  133. vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php +0 -9
  134. vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php +0 -12
  135. vendor/composer/installers/src/Composer/Installers/YawikInstaller.php +0 -32
  136. vendor/composer/installers/src/Composer/Installers/ZendInstaller.php +0 -11
  137. vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php +0 -10
  138. vendor/composer/installers/src/bootstrap.php +0 -13
  139. vendor/composer/installers/tests/Composer/Installers/Test/AsgardInstallerTest.php +0 -80
  140. vendor/composer/installers/tests/Composer/Installers/Test/BitrixInstallerTest.php +0 -75
  141. vendor/composer/installers/tests/Composer/Installers/Test/CakePHPInstallerTest.php +0 -114
  142. vendor/composer/installers/tests/Composer/Installers/Test/CraftInstallerTest.php +0 -83
  143. vendor/composer/installers/tests/Composer/Installers/Test/DokuWikiInstallerTest.php +0 -90
  144. vendor/composer/installers/tests/Composer/Installers/Test/GravInstallerTest.php +0 -63
  145. vendor/composer/installers/tests/Composer/Installers/Test/InstallerTest.php +0 -552
  146. vendor/composer/installers/tests/Composer/Installers/Test/MayaInstallerTest.php +0 -62
  147. vendor/composer/installers/tests/Composer/Installers/Test/MediaWikiInstallerTest.php +0 -67
  148. vendor/composer/installers/tests/Composer/Installers/Test/OctoberInstallerTest.php +0 -67
  149. vendor/composer/installers/tests/Composer/Installers/Test/OntoWikiInstallerTest.php +0 -84
  150. vendor/composer/installers/tests/Composer/Installers/Test/PimcoreInstallerTest.php +0 -44
  151. vendor/composer/installers/tests/Composer/Installers/Test/PiwikInstallerTest.php +0 -63
  152. vendor/composer/installers/tests/Composer/Installers/Test/SiteDirectInstallerTest.php +0 -120
  153. vendor/composer/installers/tests/Composer/Installers/Test/SyDESInstallerTest.php +0 -82
  154. vendor/composer/installers/tests/Composer/Installers/Test/TestCase.php +0 -65
  155. vendor/composer/installers/tests/Composer/Installers/Test/VgmcpInstallerTest.php +0 -80
  156. vendor/composer/installers/tests/Composer/Installers/Test/YawikInstallerTest.php +0 -64
  157. vendor/composer/installers/tests/bootstrap.php +0 -4
  158. vendor/vimeo/vimeo-api/.styleci.yml +0 -19
  159. vendor/vimeo/vimeo-api/CHANGELOG.md +0 -19
  160. vendor/vimeo/vimeo-api/LICENSE +0 -177
  161. vendor/vimeo/vimeo-api/README.md +0 -254
  162. vendor/vimeo/vimeo-api/autoload.php +0 -29
  163. vendor/vimeo/vimeo-api/certificates/vimeo-api.pem +0 -47
  164. vendor/vimeo/vimeo-api/src/Vimeo/Exceptions/ExceptionInterface.php +0 -9
  165. vendor/vimeo/vimeo-api/src/Vimeo/Exceptions/VimeoRequestException.php +0 -9
  166. vendor/vimeo/vimeo-api/src/Vimeo/Exceptions/VimeoUploadException.php +0 -9
  167. vendor/vimeo/vimeo-api/src/Vimeo/Vimeo.php +0 -598
CHANGELOG.md ADDED
@@ -0,0 +1,953 @@
1
+
2
+ ## Changelog ##
3
+
4
+ * [ARVE Pro addon changelog](https://nextgenthemes.com/plugins/arve-pro/changelog/)
5
+ * [ARVE AMP addon changelog](https://nextgenthemes.com/plugins/arve-amp/)
6
+
7
+ ### 2018-02-16 - 8.8.3 ###
8
+
9
+ * New: Option to disable flash for not listed providers for more secure embeds and make the 'disable links' Pro Addon feature possible for those. See the description on the options page.
10
+ * Fix: Licensing deactivation did not work.
11
+ * Improved: Marked some providers as not requiring flash anymore.
12
+ * Improved: Fixed some links throughout the plugin and readme.
13
+ * Improved: Some minor code improvements.
14
+
15
+ ### 2018-02-12 - 8.8.2 ###
16
+
17
+ * Fix: Issue with the new Video API class.
18
+
19
+ ### 2018-02-12 - 8.8.1 ###
20
+
21
+ * Fix: `Can’t use function return value in write context`, white screen of deaths type error from the last update.
22
+
23
+ ### 2018-02-12 - 8.8.0 ###
24
+
25
+ **I could really use some positive reviews. It has been over 7 months without a 5 star review.** The top level menu that was complained about a lot has been removed. I am working on a big update that will make ARVE even better with automatic detection of aspect ratios, better caching and lots of improved code.
26
+
27
+ * New: Added options fields for Vimeo API used in upcoming addons.
28
+ * Improved: Removed NextGenThemes top level menu and ads page because to many complaints.
29
+ * Improved: Moved licensing settings page to 'settings' menu.
30
+
31
+ ### 2018-02-02 - 8.7.8 ###
32
+
33
+ * No longer try to guess and spam autoplay parameters for general iframe embeds.
34
+ * Fix: Google drive embeds not working.
35
+
36
+ ### 2018-01-09 - 8.7.7 ###
37
+
38
+ * New: `duration` shortcode attribute and dialog entry.
39
+ * Fixed: Corrected some dead links inside the plugin.
40
+ * Improved: Added `muted`, `controls` and `loop` to shortcode UI dialog for HTML5 videos.
41
+ * Improved: Removed video file extension check so any file can be used `[arve mp4="http://example.com/some-file" webm="http://example.com/some-other-file" /]`. Useful for example to embed files hosted on IPFS that do have a cryptic hash instead of a human readable filename.
42
+
43
+ ### 2017-12-20 - 8.7.6 ###
44
+
45
+ * Fix license activation now working correctly.
46
+ * Corrected link in readme.
47
+
48
+ ### 2017-12-19 - 8.7.5 ###
49
+
50
+ * Maybe fix license activation in some rare cases.
51
+
52
+ ### 2017-12-17 - 8.7.4 ###
53
+
54
+ * Fix: Removed URL validation because it fails with some weird URLs.
55
+
56
+ ### 2017-12-13 - 8.7.3 ###
57
+
58
+ * Updated EDD Plugin Updater class.
59
+ * Fixed some links in the readme.
60
+
61
+ ### 2017-08-16 - 8.7.2 ###
62
+
63
+ * Fix: Same Video with different start times in lightboxes.
64
+
65
+ ### 2017-07-12 - 8.7.1 ###
66
+
67
+ * Fix: Throw no PHP notice on admin when WP_DEBUG is enabled.
68
+ * Fix: Fix related to upcoming Pro Addon update and private vimeo videos.
69
+
70
+ ### 2017-07-10 - 8.7.0 ###
71
+
72
+ * Fix: web.facebook.com/... video urls not getting detected
73
+
74
+ ### 2017-06-17 - 8.6.6 ###
75
+
76
+ * Fix: Message dismissal not working.
77
+
78
+ ### 2017-06-17 - 8.6.5 ###
79
+
80
+ * Fix: Added `allow-presentation` to iframe sandbox to fix Chrome 59 not loading iframes. Thanks njs
81
+ * Improved: Admin message and dashboard ad size reduced, added links to dashboard widget, settings page ad is now sidebar-like on big screens.
82
+
83
+ ### 2017-06-15 - 8.6.4 ###
84
+
85
+ * Fix: Removes a .video-wrap element from ARVE's HTML that is added by a theme and caused videos to be invisible.
86
+ * Fix: PHP error in some cases.
87
+ * Improved: If mode is not supported fall back to normal without error message (for now).
88
+ * Improved: Changed embed URL for Alugha
89
+
90
+ ### 2017-05-17 - 8.6.3 ###
91
+
92
+ * Fixed issue with width and height attributes
93
+
94
+ ### 2017-05-17 - 8.6.2 ###
95
+
96
+ * Fixed license activation issues.
97
+
98
+ ### 2017-05-10 - 8.6.1 ###
99
+
100
+ * Minor code change.
101
+
102
+ ### 2017-05-10 - 8.6.0 ###
103
+
104
+ * New: `controlslist` shortcode attribute and option to control the Chrome HTML5 player `nodownload` is default, it hides the download button on the player.
105
+
106
+ ### 2017-05-05 - 8.5.2 ###
107
+
108
+ * Improved: Embed Liveleak with https. Remove the default parameter.
109
+
110
+ ### 2017-05-05 - 8.5.1 ###
111
+
112
+ * 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.
113
+
114
+ ### 2017-05-04 - 8.5.0 ###
115
+
116
+ * New: playsinline, and muted attributes for HTML5 video.
117
+ * Data attributes are no longer prefixed with -arve and various other code improvements.
118
+
119
+ ### 2017-05-01 - 8.4.2 ###
120
+
121
+ * Code improvements for addons.
122
+
123
+ ### 2017-04-30 - 8.4.1 ###
124
+
125
+ * Fix password protected videos on vimeo (sandbox allow-forms)
126
+
127
+ ### 2017-04-25 - 8.4.0 ###
128
+
129
+ * 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)
130
+ * 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)
131
+ * Fix: YouTube only playlist URLs embedded without https.
132
+
133
+ ### 2017-04-11 - 8.3.1 ###
134
+
135
+ * Fix: Global CSS id was not correctly added.
136
+
137
+ ### 2017-04-10 - 8.2.5 ###
138
+
139
+ * Fix: Some Brightcove URLs were not correctly detected.
140
+ * Improved: Better automated tests and some minor code enhancements.
141
+ * Improved: Some texts, new link to the settings page below parameter field.
142
+ * 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.
143
+ * Improved: Gives the aligned videos a top margin of `0.4em` to try to align them better with text.
144
+ * Improved: The 'by ARVE' promotion links do now open in a new tab/window.
145
+
146
+ ### 2017-03-27 - 8.2.4 ###
147
+
148
+ * 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.
149
+
150
+ ### 2017-03-25 - 8.2.3 ###
151
+
152
+ * Fixed: 'Disable links' feature from the Pro Addon was not working.
153
+ * Some minor code improvements.
154
+
155
+ ### 2017-03-20 - 8.2.2 ###
156
+
157
+ * 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.
158
+ * Improved: Finished the German translation.
159
+ * Improved: Made the ARVE Pro promotion on the settings menu close-able, hopefully less people get offended.
160
+
161
+ ### 2017-03-20 - 8.2.0 ###
162
+
163
+ * Fixed: Plugin action links on installed plugin screen
164
+ * 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`).
165
+ * Improved: styles and scripts and now served minified unless `WP_DEBUG` is set.
166
+ * Improved: styles are now only loaded (to the bottom) when there is a video on the page.
167
+ * Improved: Settings title is now 'Advanced Responsive Video Embedder Settings' again rather then just ARVE.
168
+
169
+ ### 2017-03-12 - 8.1.1 ###
170
+
171
+ * Improved: Added ARVE to menu below plugins so it can be easy found.
172
+ * Improved: Used `wp_add_inline_style` function for inline styles.
173
+ * Removed some code that is not needed.
174
+
175
+ ### 2017-03-03 - 8.0.9 ###
176
+
177
+ * Fix: Admin page error for messing file.
178
+
179
+ ### 2017-03-02 - 8.0.8 ###
180
+
181
+ * Improved: Updated EDD Plugin Updater class
182
+
183
+ ### 2017-02-24 - 8.0.7 ###
184
+
185
+ * Fix: Options not correctly put in debug-info.
186
+ * Improved: Make License input fields a bit wider.
187
+ * Improved: Some small code improvements.
188
+
189
+ ### 2017-02-12 - 8.0.5 ###
190
+
191
+ * Fix: Small size of lightbox when using the [Pro Addon](https://nextgenthemes.com/plugins/arve-pro/).
192
+
193
+ ### 2017-02-11 - 8.0.4 ###
194
+
195
+ * CSS improved
196
+ * Updated Addon Updater Class
197
+
198
+ ### 2017-01-03 - 8.0.2 ###
199
+
200
+ * Fix: Errors on settings page when Pro Addon is not installed.
201
+
202
+ ### 2016-12-17 - 8.0.1 ###
203
+
204
+ * Fix: `undefined function is_plugin_active()` error caused by some plugins
205
+ * 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.
206
+
207
+ ### 2016-12-09 - Pro Addon 3.6.8 ###
208
+
209
+ * Fix: Wrongly tagged version.
210
+
211
+ ### 2016-12-07 - Pro Addon 3.6.7 ###
212
+
213
+ * Fix: Some thumbnails not loading.
214
+
215
+ ### 2016-12-07 - 8.0.0 ###
216
+
217
+ * Fix: 'Take over [video] shortcode' option not working. (Always acted as on, default is off)
218
+ * Fix: [video] override putting out a error for not reason.
219
+ * Improved code: Dropped 2 micro classes in favor for antonymous functions.
220
+
221
+ ### 2016-12-07 - Pro Addon 3.6.6 ###
222
+
223
+ * 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.
224
+
225
+ ### 2016-11-30 - 7.9.23 ###
226
+
227
+ * Fix: Ending up with wrong URLs by disabling auto shortening of URLs when pasting them into the shortcode-ui dialog.
228
+ * Improved: Enable SSL verify for API calls.
229
+ * Improved: License action return messages.
230
+
231
+ ### 2016-11-30 - Pro Addon 3.6.4 ###
232
+
233
+ * Fix: Autoplay without setting
234
+
235
+ ### 2016-11-30 - 7.9.21 ###
236
+
237
+ * Fix: Fatal error.
238
+
239
+ ### 2016-11-29 - Pro Addon 3.6.4 ###
240
+
241
+ * Improved: Licensing field removed from the pro options tab (now in main plugin). This enables resetting pro options settings without deleting license key.
242
+ * Fix: Autoplay not applied property.
243
+ * Fix: HTML5 not autoplaying in lightbox.
244
+ * Improved: New default option for inview lazyload is 'On iOS, Android and Desktops when no thumbnail is found'.
245
+ * Improved: New installations will show a message guiding users to activation screen.
246
+
247
+ ### 2016-11-29 - 7.9.19
248
+
249
+ * 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!
250
+ * Fix: Facebook URL detection for usernames with dots in them.
251
+ * Fix: Invisible HTML5 Lazyload-lightbox videos
252
+ * Fix: Shortcode UI script enqueued to early causing JS erros on admin pages.
253
+ * Improved: Error messages for missing mandatory attributes.
254
+ * Improved: Moved some code logic of the pro addon out of the main plugin.
255
+ * 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.
256
+ * New: Filters for new cool things coming up
257
+ * New: License page, relocated options page
258
+ * New: YouTube URL detection for playlists without starting video `https://www.youtube.com/playlist?list=PL3Esg-ZzbiUmeSKBAQ3ej1hQxDSsmnp-7`
259
+ * Possible Fix: Videos displayed to small in some Browsers
260
+
261
+ ### 2016-10-29 - 7.9.8 and Pro Addon 3.3.4 ###
262
+
263
+ * Fix: Fix lightbox thumbnail
264
+ * Improved: CSS
265
+
266
+ ### 2016-10-28 - Pro Addon 3.3.1 ###
267
+
268
+ * Fix: Fix thumbnails being displayed wrong in IE.
269
+
270
+ ### 2016-10-28 - Pro Addon 3.3.0 ###
271
+
272
+ * Fix: Restored broken update notifications and semi auto updates.
273
+
274
+ ### 2016-10-28 - 7.9.7 ###
275
+
276
+ * New: Wistia Support.
277
+ * Improved: Allow HTML in title attribute.
278
+ * Improved: Force more CSS Styles.
279
+
280
+ ### 2016-10-27 - Pro Addon 3.2.9 ###
281
+
282
+ * Fix: Twitch API failing (needs Client-ID now)
283
+
284
+ ### 2016-10-27 - Pro Addon 3.2.8 ###
285
+
286
+ * Improved: oembed error message
287
+ * Improved: Skip srcset function for PHP 5.3 and lower
288
+
289
+ ### 2016-10-27 - 7.9.6 ###
290
+
291
+ * Fix: Thumbnail not correctly applied to <video> tag for self hosted videos.
292
+ * Improved: CSS for self hosted videos.
293
+ * Improved: Enabled detection for rubtube and VK and show them as supported providers, even they where supported as general iframe embeds before.
294
+
295
+ ### 2016-10-25 - Pro Addon 3.2.7 ###
296
+
297
+ * Fix: 2 clicks needed to play lazyloaded video on desktops
298
+
299
+ ### 2016-10-24 - Pro Addon 3.2.5 ###
300
+
301
+ * Fix: JavaScript error related to abandoned Script.
302
+ * Fix: Custom Thumbnails not applied.
303
+
304
+ ### 2016-10-24 - 7.9.5 ###
305
+
306
+ * Fix: Custom Thumbnails not applied.
307
+ * Fix: Shortcode UI script only loaded if the plugin is active.
308
+
309
+ ### 2016-10-23 - 7.9.4 and Pro Addon 3.2.3 ###
310
+
311
+ * Fix: Multiple issues about the new HTML5 video embedding (still experimental)
312
+
313
+ ### 2016-10-23 - Pro Addon 3.2.2 ###
314
+
315
+ * Fix: 'Disable Links' not working.
316
+
317
+ ### 2016-10-23 - Pro Addon 3.2.0 ###
318
+
319
+ * Fix: Issue with lazyload and AJAX.
320
+ * Fix: W3TC issue by using yet another lazyload method. Final this time?
321
+ * Fix: YouTube Thumbnail detection when there are no HD images.
322
+ * Improved: Code used to cache thumbnails, this may improve improve performance.
323
+ * Improved: Lots code restructured and improved.
324
+ * New: New Lazyload mode setting to prevent "two touched needed to play video on mobiles" issue. Its also
325
+ * New: Facebook thumbnail detection.
326
+
327
+ ### 2016-10-23 - 7.9.2 ###
328
+
329
+ * Fix: Brightcove Autoplay issue.
330
+ * Fix: Liveleak thumbnail detection issues.
331
+ * Fix: Parameters not being added.
332
+ * Fix: Twitch single videos not using https
333
+ * Fix: Vevo marked to require flash to make it work again.
334
+ * Improved: Better dialog with better description and links about the shortcake UI plugin.
335
+ * Improved: Facebook embed method.
336
+ * Improved: Lots code restructured and improved.
337
+ * Improved: Parameters are always possible no matter the provider.
338
+ * Improved: Restructure of the plugin, abandon OOP mostly.
339
+ * Improved: Revive saving of last setting page tab.
340
+ * 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.
341
+ * New: Support for self hosted videos (experimental)
342
+
343
+ ### 2016-10-03 - Pro Addon 2.5.2 ###
344
+
345
+ * Fix: Force button styles to make sure themes styles get overwritten.
346
+
347
+ ### Pro Addon 2.5.1 beta - 2016-09-21 ###
348
+
349
+ * New: Thumbnail support for Liveleak.
350
+ * Fix: Update loop.
351
+
352
+ ### Pro Addon 2.5.0 beta - 2016-09-21 ###
353
+
354
+ * Improved: Thumbnails detection.
355
+ * Improved how license keys are handled when set in wp-config.php.
356
+
357
+ ### 7.5.1 beta - 2016-09-21 ###
358
+
359
+ * Fix: Liveleak seems to require flash for some videos.
360
+
361
+ ### 7.5.0 beta - 2016-09-21 ###
362
+
363
+ * Fix: Youku URL detection and aspect ratio.
364
+ * Improved: `.arve-inner` css class in favor of some more specific classes combining styles.
365
+ * Improved: removed TGMPA class because it was causing horrible issues.
366
+
367
+ ### Pro Addon 2.4.5 beta - 2016-09-19 ###
368
+
369
+ * 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.
370
+
371
+ ### 7.4.3 beta - 2016-09-19 ###
372
+
373
+ * Fix: Deal with fluid-vids script messing with this plugin, making videos invisible.
374
+
375
+ ### Pro Addon 2.4.0 beta - 2016-09-18 ###
376
+
377
+ * New: Adds Yahoo auto thumbnail and title support
378
+
379
+ ### 7.4.1 beta - 2016-09-18 ###
380
+
381
+ * New: Adds Yahoo Video support
382
+
383
+ ### 7.3.2 beta - 2016-09-17 ###
384
+
385
+ * Fix: Remove security="restricted" from iframes to make IE work again.
386
+
387
+ ### 7.3.1 beta - 2016-09-17 ###
388
+
389
+ * Fix: Get rid of undefined index warnings when pro addon is not active.
390
+
391
+ ### 7.3.0 beta - 2016-09-17 ###
392
+
393
+ * Improved: Show admin notices only to users who have the 'activate_plugins' capability.
394
+ * Improved: Added notice to the readme for the TGMPA cause white screen of death issue.
395
+
396
+ ### Pro Addon 2.3.2 - 2016-09-17 ###
397
+
398
+ * Possible Fix for not centered play button.
399
+
400
+ ### 7.2.13 beta - 2016-09-16 ###
401
+
402
+ * Fix: Set fitvidsignore class and remove the Fitvids container to prevent it from messing with ARVE embeds.
403
+ * Fix: Remove possible width and height parameters on iframes to prevent scripts from messing with ARVE embeds.
404
+
405
+ ### 7.2.12 beta - 2016-09-16 ###
406
+
407
+ * Improved: replaced static:: with self:: to support older php versions.
408
+
409
+ ### 7.2.10 beta - 2016-09-15 ###
410
+
411
+ * Fix: [iframe] shortcode not working.
412
+
413
+ ### Pro Addon 2.3.1 beta - 2016-09-15 ###
414
+
415
+ * New: Added support for displaying title of videos on top of the thumbnail images.
416
+ * New: Responsive thumbnails using srcset the browser takes the best image resolution for the users device. (HTML5 srcset)
417
+ * 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.
418
+ * New: Choose beween 2 play button styles.
419
+ * Fix: Screenfull error.
420
+ * Fix: License API call.
421
+ * Improved: Rectangle animation.
422
+ * Improved: Updated 'lity' lightbox script.
423
+ * Improved: Thumbnail handling.
424
+ * Improved: Removed the 'Lazyload Maximal Width' setting to simplify things (there still is 'Maximal Width' and 'Aligned Maximal Width').
425
+ * Improved: Removed the 'Fake Thumbnail' feature because the entire idea was bad and real thumbnails should be used.
426
+ * Improved: Updated EDD_SL_Plugin_Updater Class
427
+ * Dropped PHP Class.
428
+
429
+ ### 7.2.9 beta - 2016-09-15 ###
430
+
431
+ * New: Recommend and guide to users to install [Shortcake (Shortcode UI)](https://de.wordpress.org/plugins/shortcode-ui/) via [TGMPA](http://tgmpluginactivation.com/)
432
+ * 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.
433
+ * New: Support for kla.tv.
434
+ * New: Support for youku (fulfilled request)
435
+ * 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 ...
436
+ * New: WYSIWYG Preview of Shortcodes.
437
+ * 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.
438
+ * New: A default alignment can now be set in the Settings page. (fulfilled request)
439
+ * New: 'iframe_name' shortcode parameter for `<iframe name="xxxxx"`, useful when wanting to target ARVE embeds with links. (fulfilled request)
440
+ * 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)
441
+ * 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 ;)
442
+ * Improved: Got rid of PHP globals.
443
+ * Improved: Added image upload dialog to settings page and shortcode dialog.
444
+ * Improved: Better CSS to overwrite unwanted theme styles.
445
+ * Improved: Lots if code improvements.
446
+ * Improved: SSL enabled and forced when supported by provoders.
447
+ * Fix: Blury Vimeo thumbnails
448
+ * Fix: Prevent Dashboard Widget conflicts with WP Helpers plugin (possibly others). Thanks to Steve Bruner.
449
+ * Fix: Issue with unwanted borders showing on embeds.
450
+ * Fix: youtu.be URLs now detected correct in shortcode dialog.
451
+ * Fix: All Vevo URLs are now detected correctly.
452
+ * Fix: Bool options settings.
453
+ * Removed blip because the service was shutdown.
454
+ * Removed myvideo.de because the service was restructured.
455
+
456
+ ### 6.4.0 ###
457
+
458
+ * Fix: Always prevent scrollbars.
459
+
460
+ ### Pro Addon 1.4.4
461
+
462
+ * Fixed: Infinite update loop.
463
+ * Improved: Updated Updater class.
464
+
465
+ ### Pro Addon 1.4.3
466
+
467
+ * Fixed: rectangle overflow issue.
468
+
469
+ ### Pro Addon 1.4.2
470
+
471
+ * Fixed: license activation problems.
472
+
473
+ ### Pro Addon 1.4.1
474
+
475
+ * 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.
476
+
477
+ ### 6.3.9 ###
478
+
479
+ * Fix: Facebook (now really, hopefully).
480
+
481
+ ### 6.3.8 ###
482
+
483
+ * Fix: Facebook in lazyload modes.
484
+
485
+ ### 6.3.7 ###
486
+
487
+ * New: Facebook video support.
488
+
489
+ ### 6.3.4 ###
490
+
491
+ * Fix?: Iframes are now created with a fixed 853x480 size in feeds, this probably will fix some feedreaders incorrectly or not displaying videos.
492
+
493
+ ### 6.3.3 ###
494
+
495
+ * Improved: Disabled file URL detection as this solution was bad.
496
+
497
+ ### 6.3.2 ###
498
+
499
+ * Fixed/Improved: [arve_tests] shortcode.
500
+
501
+ ### Pro Addon 1.4 ###
502
+
503
+ * Fix: Fake thumbnails now work for lazyload-lightbox mode.
504
+
505
+ ### 6.3.1 & Pro Addon 1.4.0 ###
506
+
507
+ * Improved: Testing Shortcode.
508
+ * Improved: When there is no thumbnail lazyload mode will fall back to normal mode.
509
+ * New: Added support for alugha.com.
510
+
511
+ ### Pro Addon 1.1.5 ###
512
+
513
+ * New: Added setting and parameter grow="yes/no" to control the grow-on-click behaviour that was introduced in 6.0 to your liking.
514
+
515
+ ### 6.1.2 ###
516
+
517
+ * Improved: Added thumbnail and grow parameters to the Shortcode Creator Dialog.
518
+ * Improved: Updated screenshots.
519
+
520
+ ### Pro Addon 1.1.3 ###
521
+
522
+ * Improved: link-linghtbox mode does not force a newline for the link anymore.
523
+ * Fix: Autoplaying in Background when navigating back in browser.
524
+
525
+ ### Pro Addon 1.1.0 ###
526
+
527
+ * Fix: Various issues reguarding lightbox mode.
528
+
529
+ ### 6.1.0 ###
530
+
531
+ * Fix: Messages about pro addon removed when it is installed.
532
+
533
+ ### Pro Addon 1.0.7 ###
534
+
535
+ * Fix: Video start playing again invisible when closeing lightbox with ESC.
536
+
537
+ ### 6.0.6 Beta ###
538
+
539
+ * Improved: Adds a "Debug Info" tab to the settings page copy pasting when there is are issue.
540
+
541
+ ### Pro Addon 1.0.6 ###
542
+
543
+ * Remove development functions.
544
+
545
+ ### Pro Addon 1.0.4 ###
546
+
547
+ * Possibly Fixes SSL issues during activation.
548
+
549
+ ### Pro Addon 1.0.3 ###
550
+
551
+ * Fix: Maxwidth issue.
552
+
553
+ ### 6.0.5 Beta ###
554
+
555
+ * Fix: Foreach php error
556
+
557
+ ### 6.0.4 Beta ###
558
+
559
+ * Fix: Youtube URL with starttime.
560
+
561
+ ### 6.0.3 Beta, Pro Addon 1.0.3 ###
562
+
563
+ * Fix: Max-width output issue.
564
+
565
+ ### 6.0.2 Beta - 2015/07/24 - work time: ~60 days ###
566
+
567
+ Please check the [migration guide](https://nextgenthemes.com/?p=1875) about upgrading to this version.
568
+
569
+ * Fix: Jackpack Shortcode Embeds module incompatibility.
570
+ * New: URL parameters are now possible via URLs used for embeds (passed to iframe src).
571
+ * Changed: URL parameters to controll arve features are now 'arve[mode]=' style instead of 'arve-mode='.
572
+ * Improved: Enabled HTTPS support for Viddler and MyVideo.
573
+ * Improved: TED Talks shortcodes now support the 'lang' parameter.
574
+ * Improved: New embed URLs for MyVideo.
575
+ * Improved: Better Twitch support.
576
+ * Improved: Dailymotion HTTPS support.
577
+ * Improved: To reduce CSS and keep it simpler aspect ratios are now handled with inline styles.
578
+ * Improved: Moved to complete WP Settings API.
579
+ * Improved: Tabbed and extendable options page.
580
+ * Improved: Massive code improvements.
581
+ * Improved: Replaced all Admin Messages that caused bugs and annoyance for users with a dashboard Widget.
582
+
583
+ ### Pro Addon 1.0.1 ###
584
+
585
+ * New: link-lightbox mode creates a link the triggers a lightbox with a video on click.
586
+
587
+ ### Pro Addon 0.9.7 ###
588
+
589
+ * Fix: Lazyload videos not growing when global maxwidth setting was set.
590
+ * Improved: Finally got rid of the jQuery Colorbox depency, the Pro Addon now includes lity for lightboxes.
591
+
592
+ ### Pro Addon 0.9.5 ###
593
+
594
+ * Fix: Licensing Activation should now finally work correcty. (Multisite may need some tweaks)
595
+ * Fix: Pissibility of unwanted margins/paddings on the transparent button.
596
+
597
+ ### Pro Addon 0.9.0 ###
598
+
599
+ * Changed: 'Lazyload' mode now grows the video size after thumbnails are clicked.
600
+ * Changed: 'Thumbnail' mode is now called 'Lazyload -> Colorbox' and has a sightly different behavior.
601
+ * New: 'Lazyload -> Fullscreen' mode to instandly go Fullscreen after clicking the Lazyloaded preview image.
602
+ * New: 'Lazyload -> Fixed' Fullscreen/-window mode (extremly experimental) with ability to resize fixed video on screen while reading the page.
603
+ * New: 'thumbnail' parameter, take image URL or a ID to a media libray image to be used as thumbnail image.
604
+ * Improved: Enabled fake thumbnails for USTREAM and myvideo.de.
605
+ * 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.
606
+
607
+ ### 5.3.4 Beta - 2015/03/15 ###
608
+
609
+ * Fix: ID detection for youtu.be and dai.ly URLs, will now work with https://(www.) as well.
610
+ * Fix: Myvideo.de videos with 7 and 8 digit IDs.
611
+
612
+ ### 5.3.3 Beta ###
613
+
614
+ * 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.
615
+
616
+ ### 5.3.2 Beta ###
617
+
618
+ * Fix: Die 'Array' errors DIE!
619
+
620
+ ### 5.3.1 Beta ###
621
+
622
+ * Improved: Added shortcode example to youtube starttime examples.
623
+ * Improved: Clarified from who the admin messages come.
624
+
625
+ ### 5.3.0 Beta ###
626
+
627
+ * **If you get a error '... array ...' please reset your options on the options page and redo the options you had before**
628
+ * Fix: '... expected array' error when saving options on some cases. If you get a error please reset your
629
+ * Fix: ttp://youtu.be/... shortlinks are not detected correctly in the shortcode creator dialog.
630
+ * Improved: Ported code to WordPress Plugin Boilerplate 3.0 style.
631
+ * Improved: Switched vevo and xtube from object to iframe embeds.
632
+ * Improved: Lots of minor code enhancements.
633
+
634
+ ### 5.1.1 ###
635
+
636
+ * Fix: Removed mixed content warnungs for youtube and vimeo.
637
+ * Translation updates.
638
+
639
+ ### 5.1.0 ###
640
+
641
+ * New: Vimeo HTTPS support (works automatically if your site is HTTPS)
642
+
643
+ ### 5.0.2 Beta ###
644
+
645
+ * Improved: Marked as working with WP 4.0
646
+
647
+ ### 5.0.1 Beta ###
648
+
649
+ * Fix: Options var error
650
+
651
+ ### 5.0.0 Beta ###
652
+
653
+ * Fix: Max-width options should now work in all circumstances
654
+ * Improved: Various CSS improvements
655
+ * Improved: Changed play overlay image to a Google+ style image
656
+
657
+ ### 4.9.0 Beta ###
658
+
659
+ * 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.
660
+ * Fix: Removed autohide#1 from default YouTube Parameters since it causes a YouTube bug in the HTML5 player.
661
+
662
+ ### 4.8.0 ###
663
+
664
+ * Updated: Spanish translation now 80% complete. Thanks Xarkitu!
665
+ * Improved: Do not load admin dialog when doing AJAX
666
+
667
+ ### 4.7.0 ###
668
+
669
+ * Fix: Iframe code detection
670
+
671
+ ### 4.6.0 ###
672
+
673
+ * Improvement: PHP required version lowered to 5.2.4
674
+
675
+ ### 4.5.4 ###
676
+
677
+ * Fix: Save of custom URL parameters
678
+ * New: CHANGES.md file for github updater
679
+
680
+ ### 4.5.3 ###
681
+
682
+ * Fix: Fatal PHP Error on activation.
683
+ * Fix: Readme spellings.
684
+
685
+ ### 4.5.0 ###
686
+
687
+ * Fix: Minor options page spelling and field association fixes.
688
+ * Fix: Added Lazyload to mode select in the shortcode dialog.
689
+ * New: 4players.de support.
690
+ * New: Added parameter input to the shortcode dialog.
691
+ * Improved: Default options are no longer stored in the database.
692
+ * Improved: Transparency fade animation on thumbnail hover.
693
+ * Improved: No more ugly URL hash (#arve-load-video) after clicking links.
694
+ * Improved: Dropped IE 8 support for Lazyload mode.
695
+ * Improved: Lots of code improvements.
696
+
697
+ ### 4.3.0 ###
698
+
699
+ * New: Added Iframe examples.
700
+ * 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.
701
+ * 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.
702
+ * Improved: Redesigned the Shortcode Creator dialog. Less clutter, more compact and it now includes the recently introduced `aspect_ratio`.
703
+
704
+ ### 4.2.0 ###
705
+
706
+ * New: As requested: `aspect_ratio` parameter
707
+ * Fix: Vimeo playing problems in Firefox.
708
+
709
+ ### 4.1.1 ###
710
+
711
+ * Fix: Play button not showing.
712
+
713
+ ### 4.1.0 ###
714
+
715
+ * New: Vine support
716
+ * New: Support for starttime from youtube URLs
717
+ * Improved: Include play image inside CSS, -1 http request may speed things up
718
+ * Improved: Tests
719
+
720
+ ### 4.0.0 ###
721
+
722
+ * New: Trigger-able debug output.
723
+ * Improved: The `[arve_tests]` shortcode now includes alignment and maxwidth tests
724
+ * Fix: Thumbnail image now displayed when using lazyload with `maxwidth` parameter
725
+
726
+ ### 3.9.9 ###
727
+
728
+ * Improved: Allowing `maxwidth` parameter in `lazyload` mode
729
+
730
+ ### 3.9.8 ###
731
+
732
+ * Fix: Thumbnail not opening Colorbox
733
+
734
+ ### 3.9.7 ALPHA! ###
735
+
736
+ * 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.
737
+ * New: Added MPORA support
738
+ * New: Added (real) thumbnail support for Collegehumor, Twitch, FunnyOrDie, MPORA
739
+ * New: `[arve_tests]` shortcode that is used to test the plugin and provide examples.
740
+ * New: `[arve_supported]` shortcode probably of no use for users. It will generate the a list of providers with supported features.
741
+ * Improved: Enabled fake thumbnails for Comedycentral, Gametrailers and Spike
742
+ * Improved: Remote API calls and handling their errors.
743
+ * Improved: Get high resolution thumbnails from YouTube if available.
744
+ * 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.
745
+ * Improved: Lots of smaller code improvements.
746
+
747
+ ### 3.6.1 ###
748
+
749
+ * Fix: Register link in changelog.
750
+
751
+ ### 3.6.0 ###
752
+
753
+ * 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.
754
+ * Fix: Thumbnails for YouTube playlists.
755
+ * Fix: Shortcode creator ID detection for iframes (src URL)
756
+ * Fix: Updated Dailymoton docs link on Options page
757
+ * 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.
758
+
759
+ ### 3.5.2 ###
760
+
761
+ * New: Twitch.tv support
762
+ * New: Spanish Translation from Andrew Kurtis webhostinghub.com
763
+ * Improved: Support for `https://new.ted.com/...` URLs
764
+ * Improved: Some code improvements, among them IDs of hidden objects are now generated with a simple `static` counter instead of some random generated string.
765
+
766
+ ### 3.5.1 ###
767
+
768
+ * Fix: Bug causing the Shortcode Creator not detecting shortcode tags when customized
769
+ * Improved how embeds `<object>` embed codes are generated.
770
+ * Updated FAQ
771
+ * New: Xtube support (On request)
772
+
773
+ ### 3.5.0 ###
774
+
775
+ * New: Custom parameters!
776
+ * Fix: Youtube playlists now work correctly
777
+ * Fix: Translations are working again (incomplete German and French)
778
+ * 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"]`
779
+
780
+ ### 3.1.2 ###
781
+
782
+ * Fix: IE8 JavaScript errors
783
+ * Improved: The evil message at the admin.
784
+
785
+ ### 3.1.1 (github only) ###
786
+
787
+ * Improved: Added `px` suffix to values on options page
788
+
789
+ ### 3.1.0 (beta) ###
790
+
791
+ * New: Development versions now available via [Github Plugin Updater](https://github.com/afragen/github-updater) please install this to test cutting edge versions
792
+ * New: Introducing 'Align Maximal Width' option
793
+ * Fix: Invisible normal mode embeds with align
794
+ * Fix: Yahoo detection
795
+ * Fix: Kickstarter detection
796
+ * Fix: Daylimoition Playlist
797
+ * Fix: Colleghumor
798
+ * Improved: Screenshots updated
799
+ * Improved: Beginning process of provider based aspect ratios.
800
+ * Improved: Dailymotion playlists/jukeboxes now show Native thumbnails
801
+ * Improved: Iframe embed code detection with with single quoted `src#''`
802
+
803
+ ### 3.0.4 (beta) ###
804
+
805
+ * Javascript Fix
806
+
807
+ ### 3.0.0 (beta) ###
808
+
809
+ * New: Support for embedding via simply pasting of URLs into posts (need to be on their own line, no button or shortcodes needed)
810
+ * New: Thumbnails are now responsive
811
+ * New: Vevo support
812
+ * New: TED Talks support
813
+ * New: IGN support
814
+ * New: Kickstarter support
815
+ * Improved: request large thumbnail from vimeo instead of medium
816
+ * Improved: 'youtubelist' shortcode deprecated YouTube playlists are now handled via the normal youtube shortcode with support for starting video
817
+ * Improved: 'bliptv' shortcode deprecated on favor of 'blip' that uses the ids from blip.tv URLs instead of the ones from embed codes
818
+ * Improved: Moved code to newest Plugin Boilerplate
819
+ * Improved: Massive code improvements
820
+
821
+ ### 2.7.4 ###
822
+
823
+ * Fix: Dropped mb_detect_encoding now using just preg_match to support rare php setups.
824
+
825
+ ### 2.7.3 ###
826
+
827
+ * New: Added French Translation from Karel - neo7.fr
828
+
829
+ ### 2.7.2 ###
830
+
831
+ * Fix: Permissions for the button, now authors who
832
+
833
+ ### 2.7.0 ###
834
+
835
+ * Fix: Admin page capabilities
836
+ * Improved: Reintroduced the manual provider and ID input to be used then not detected correctly.
837
+
838
+ ### 2.6.4 ###
839
+
840
+ * Fix: Black bar issue. (Dropped IE6 hacks/workarounds)
841
+
842
+ ### 2.6.3 ###
843
+
844
+ * Fix: Normal embeds not sizing correctly
845
+ * New: Added scrolling#"no" to Iframes
846
+ * Improved: Init shortcodes at a late stage to dominate conflicts
847
+ * Improved: Improved Iframe parameter handling
848
+ * Improved: Metacafe, Myspace, Videojug are now handled via Iframe
849
+
850
+ ### 2.6.2 ###
851
+
852
+ * Fix: Objects open correctly in Colorbox
853
+ * Fix: Iframe autoplay parameters startign with '&'
854
+ * New: Added screenshot for options page
855
+ * 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.
856
+
857
+ ### 2.6.1 ###
858
+
859
+ * Fix: Colorbox args script not having colorbox in depenency array
860
+ * Fix: Maxwidth shortcode generator field now has default value#""
861
+ * Fix: Blip embed code detection
862
+
863
+ ### 2.6.0 ###
864
+
865
+ * Improved: Move to a class structure with help of the great https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate
866
+ * Improved: Some smaller Improvements
867
+ * New: Shortcode Dialog now has Autoplay option
868
+ * New: Guessing of autoplay parameters for the Iframe shortcodes.
869
+ * Hopefully fixed issues with other plugins and some themes, Javascript was messed up and is fine now.
870
+
871
+ ### 2.5 ###
872
+
873
+ * Fix: Objects in Colorboxes, now always have width and height 100%
874
+ * new shortcode attribute 'autoplay' for single videos
875
+ * support for start at given time for vimeo
876
+
877
+ ### 2.4 ###
878
+
879
+ * propper licence
880
+ * Class renamed
881
+
882
+ ### 2.3 beta ###
883
+
884
+ * fix for maxwidth wrapper no maxwidth option is set
885
+
886
+ ### 2.1 beta ###
887
+
888
+ * Security and general code improvements
889
+ * Added autoplay option
890
+
891
+ ### 2.0 beta ###
892
+
893
+ * added Yahoo!
894
+ * spike bugfix
895
+ * small improvements to code
896
+ * removed the fixed mode
897
+
898
+ ### 1.9 beta ###
899
+
900
+ * added youtubes modestbranding mode
901
+ * added missing veoh id detection
902
+ * fixed vimeo id detection
903
+ * added now custom thumbnail feature
904
+ * fixed the align class creation
905
+ * renamed the shortcode dialog
906
+ * removed the text field for teh fixed width option (beginning of the removal process)
907
+
908
+ ### 1.8 beta ###
909
+
910
+ * added new tinymce botton with dialog to detect ids from URL's and embed codes and automatically create shortcodes
911
+ * removed the image resizer (Faster and more secure for servers), now uses just CSS. Polyfill for for IE to support 'background-size' included.
912
+ * changed the play overlay image to a bigger one
913
+ * added comedycentral, spike
914
+ * removed google video, it died
915
+ * lots of improvements and fixes
916
+
917
+ ### 1.7 ###
918
+
919
+ * fixed gametrailers and collegehumor
920
+ * fixed options handling for updateded options
921
+ * added ustream support
922
+ * renamed a function to prevent issues with other plugins
923
+
924
+ ### 1.6 ###
925
+
926
+ * corrected readme errors, typos and added better description to shortcode options
927
+
928
+ ### 1.5 ###
929
+
930
+ * lots of code improvements, now uses wordpress settings api, and propper sanitising
931
+
932
+ ### 1.4.5 ###
933
+
934
+ * added flickr video, archive.org
935
+ * inproved how flashvars were implemented
936
+
937
+ ### 1.4.4 ###
938
+
939
+ * fixes
940
+
941
+ ### 1.4.2 ###
942
+
943
+ * Options dialog overhaul
944
+ * replaced Fancybox with Colorbox
945
+
946
+ ### 1.0 ###
947
+
948
+ * Removed Services that went down over the years
949
+ * Changed the way shortcodes were implemented from regexp to wordpress 'add shortcode' function
950
+
951
+ ### 0.1 ###
952
+
953
+ * Started by improving the Wordpress 'Video Embedder Plugin' but now complete new code
LICENSE.txt CHANGED
@@ -1,3 +1,8 @@
1
GNU GENERAL PUBLIC LICENSE
2
Version 3, 29 June 2007
3
1
+ class-arve-vimeo.php
2
+ Vimeo Video Post Lite
3
+ https://wordpress.org/plugins/codeflavors-vimeo-video-post-lite/
4
+ GPL 2.0 or later
5
+
6
GNU GENERAL PUBLIC LICENSE
7
Version 3, 29 June 2007
8
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/functions-admin.php CHANGED
@@ -150,7 +150,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
}
@@ -579,11 +579,10 @@ function arve_validate_options_main( $input ) {
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
150
151
$extra_links['buy_pro_addon'] = sprintf(
152
'<a href="%s"><strong style="display: inline;">%s</strong></a>',
153
+ 'http://nextgenthemes.com/downloads/advanced-responsive-video-embedder',
154
__( 'Buy Pro Addon', ARVE_SLUG )
155
);
156
}
579
$output['controlslist'] = sanitize_text_field( $input['controlslist'] );
580
$output['vimeo_api_token'] = sanitize_text_field( $input['vimeo_api_token'] );
581
582
+ $output['autoplay'] = ( 'yes' == $input['autoplay'] ) ? true : false;
583
+ $output['promote_link'] = ( 'yes' == $input['promote_link'] ) ? true : false;
584
+ $output['wp_video_override'] = ( 'yes' == $input['wp_video_override'] ) ? true : false;
585
+ $output['iframe_flash'] = ( 'yes' == $input['iframe_flash'] ) ? true : false;
586
587
$output['wp_image_cache_time'] = (int) $input['wp_image_cache_time'];
588
admin/functions-licensing.php CHANGED
@@ -523,7 +523,7 @@ function nextgenthemes_api_action( $item_id, $key, $action ) {
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
@@ -588,13 +588,7 @@ function nextgenthemes_api_action( $item_id, $key, $action ) {
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
}
@@ -602,13 +596,3 @@ function nextgenthemes_api_action( $item_id, $key, $action ) {
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
- }
523
// Call the custom API.
524
$response = wp_remote_post(
525
'https://nextgenthemes.com',
526
+ array( 'timeout' => 15, 'sslverify' => false, 'body' => $api_params )
527
);
528
529
// make sure the response came back okay
588
if ( empty( $message ) ) {
589
590
if ( empty( $license_data->license ) ) {
591
+ $message = __( 'Could not read license status.', ARVE_SLUG );
592
} else {
593
$message = $license_data->license;
594
}
596
597
return $message;
598
}
admin/html-settings-page.php CHANGED
@@ -25,33 +25,10 @@ $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 printf( '<p><big><strong><a href="%s">Hiring a Marketing Person</a></strong></big></p>', 'https://nextgenthemes.com/hiring-a-marketing-person/' ); ?>
29
+
30
+ <?php echo file_get_contents( ARVE_PATH . 'readme/html/19-description-features-pro-intro.html' ); ?>
31
+ <?php echo file_get_contents( ARVE_PATH . 'readme/html/20-description-features-pro.html' ); ?>
32
33
</div>
34
advanced-responsive-video-embedder.php CHANGED
@@ -3,7 +3,7 @@
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__ ) );
@@ -65,7 +65,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' );
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.8.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.8.3' );
23
define( 'ARVE_PRO_VERSION_REQUIRED', '4.0.0' );
24
25
define( 'ARVE_URL', plugin_dir_url( __FILE__ ) );
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_video_shortcode_override', 'arve_wp_video_shortcode_override', 10, 4 );
69
add_filter( 'widget_text', 'do_shortcode' );
70
add_filter( 'language_attributes', 'arve_html_id' );
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-shortcode-filters.php CHANGED
@@ -14,11 +14,10 @@ function arve_get_wrapper_id( $a ) {
14
static $wrapper_ids = array();
15
$wrapper_id = null;
16
17
- foreach ( array( 'id', 'mp4', 'm4v', 'webm', 'ogv', 'url', 'random_video_url', 'webtorrent' ) as $att ) {
18
19
if ( ! empty( $a[ $att ] ) && is_string( $a[ $att ] ) ) {
20
$wrapper_id = 'arve-' . $a[ $att ];
21
- $wrapper_id = preg_replace( '/[^a-zA-Z0-9-]/', '', $wrapper_id );
22
break;
23
}
24
}
@@ -95,14 +94,13 @@ function arve_sc_filter_attr( $a ) {
95
}
96
97
$a['iframe_attr'] = array(
98
- 'allow' => 'autoplay; fullscreen',
99
'allowfullscreen' => '',
100
'class' => 'arve-iframe fitvidsignore',
101
'frameborder' => '0',
102
'name' => $a['iframe_name'],
103
- 'sandbox' => 'allow-scripts allow-same-origin allow-presentation allow-popups',
104
'scrolling' => 'no',
105
'src' => $iframe_src,
106
'width' => empty( $a['width'] ) ? false : $a['width'],
107
'height' => empty( $a['height'] ) ? false : $a['height'],
108
);
@@ -165,10 +163,12 @@ function arve_sc_filter_sanitise( $atts ) {
165
166
foreach ( $atts as $key => $value ) {
167
168
- $atts[ $key ] = (string) $value;
169
170
- if ( '' === $value ) {
171
- $atts[ $key ] = null;
172
}
173
}
174
@@ -422,21 +422,21 @@ function arve_sc_filter_build_tracks_html( $atts ) {
422
return $atts;
423
}
424
425
- preg_match( '#-(?<type>captions|chapters|descriptions|metadata|subtitles)-(?<lang>[a-z]{2}).vtt$#i', $atts[ "track_{$n}" ], $matches );
426
427
if ( empty( $matches[1] ) ) {
428
$atts[ "track_{$n}" ] = new WP_Error( 'track', __( 'Track kind or language code could not detected from filename', ARVE_SLUG ) );
429
return $atts;
430
}
431
432
- $label = empty( $atts[ "track_{$n}_label" ] ) ? arve_get_language_name_from_code( $matches['lang'] ) : $atts[ "track_{$n}_label" ];
433
434
$attr = array(
435
'default' => ( 1 === $n ) ? true : false,
436
- 'kind' => $matches['type'],
437
'label' => $label,
438
'src' => $atts[ "track_{$n}" ],
439
- 'srclang' => $matches['lang'],
440
);
441
442
$atts['video_tracks_html'] .= sprintf( '<track%s>', arve_attr( $attr) );
14
static $wrapper_ids = array();
15
$wrapper_id = null;
16
17
+ foreach ( array( 'id', 'mp4', 'm4v', 'webm', 'ogv', 'url', 'webtorrent' ) as $att ) {
18
19
if ( ! empty( $a[ $att ] ) && is_string( $a[ $att ] ) ) {
20
$wrapper_id = 'arve-' . $a[ $att ];
21
break;
22
}
23
}
94
}
95
96
$a['iframe_attr'] = array(
97
'allowfullscreen' => '',
98
'class' => 'arve-iframe fitvidsignore',
99
'frameborder' => '0',
100
'name' => $a['iframe_name'],
101
'scrolling' => 'no',
102
'src' => $iframe_src,
103
+ 'sandbox' => 'allow-scripts allow-same-origin allow-presentation allow-popups',
104
'width' => empty( $a['width'] ) ? false : $a['width'],
105
'height' => empty( $a['height'] ) ? false : $a['height'],
106
);
163
164
foreach ( $atts as $key => $value ) {
165
166
+ if ( null === $value ) {
167
+ continue;
168
+ }
169
170
+ if( ! is_string( $value ) ) {
171
+ $atts[ $key ] = arve_error( sprintf( __( '<code>%s</code> is not a string. Only Strings should be passed to the shortcode function', ARVE_SLUG ), $key ) );
172
}
173
}
174
422
return $atts;
423
}
424
425
+ preg_match( '#-(captions|chapters|descriptions|metadata|subtitles)-([a-z]{2}).vtt$#i', $atts[ "track_{$n}" ], $matches );
426
427
if ( empty( $matches[1] ) ) {
428
$atts[ "track_{$n}" ] = new WP_Error( 'track', __( 'Track kind or language code could not detected from filename', ARVE_SLUG ) );
429
return $atts;
430
}
431
432
+ $label = empty( $atts[ "track_{$n}_label" ] ) ? arve_get_language_name_from_code( $matches[2] ) : $atts[ "track_{$n}_label" ];
433
434
$attr = array(
435
'default' => ( 1 === $n ) ? true : false,
436
+ 'kind' => $matches[1],
437
'label' => $label,
438
'src' => $atts[ "track_{$n}" ],
439
+ 'srclang' => $matches[2],
440
);
441
442
$atts['video_tracks_html'] .= sprintf( '<track%s>', arve_attr( $attr) );
public/functions-shortcodes.php CHANGED
@@ -1,73 +1,53 @@
1
<?php
2
3
- function arve_shortcode( $input_atts, $content = null ) {
4
-
5
- /**
6
- * Filters the default arve shortcode output.
7
- *
8
- * If the filtered output isn't empty, it will be used instead of generating
9
- * the default video template.
10
- *
11
- * @since 8.8.2
12
- *
13
- * @param string $html Empty variable to be replaced with shortcode markup.
14
- * @param array $atts Attributes of the shortcode.
15
- * @param string $content Video shortcode content.
16
- */
17
- $override = apply_filters( 'arve_shortcode_overwride', '', $input_atts, $content );
18
- if ( '' !== $override ) {
19
- return $override;
20
- }
21
-
22
- return arve_shortcode_arve( $input_atts, $content );
23
- }
24
-
25
function arve_shortcode_arve( $input_atts, $content = null, $arve_shortcode = true ) {
26
27
$errors = '';
28
$options = arve_get_options();
29
$properties = arve_get_host_properties();
30
$input_atts = (array) $input_atts;
31
32
$pairs = array(
33
- 'align' => $options['align'],
34
- 'arve_link' => arve_bool_to_shortcode_string( $options['promote_link'] ),
35
- 'aspect_ratio' => null,
36
- 'autoplay' => arve_bool_to_shortcode_string( $options['autoplay'] ),
37
- 'description' => null,
38
- 'duration' => null,
39
- 'disable_flash' => null,
40
- 'iframe_name' => null,
41
- 'maxwidth' => (string) $options['video_maxwidth'],
42
- 'mode' => $options['mode'],
43
- 'parameters' => null,
44
- 'src' => null, // Just a alias for url to make it simple
45
- 'thumbnail' => null,
46
- 'title' => null,
47
- 'upload_date' => null,
48
- // <video>
49
- 'm4v' => null,
50
- 'mp4' => null,
51
- 'ogv' => null,
52
- 'webm' => null,
53
- 'preload' => 'metadata',
54
- 'playsinline' => null,
55
- 'muted' => null,
56
- 'controls' => 'y',
57
- 'controlslist' => empty( $options['controlslist'] ) ? null : (string) $options['controlslist'],
58
- 'loop' => 'n',
59
- // TED only
60
- 'lang' => null,
61
- // Vimeo only
62
- 'start' => null,
63
- // Old Shortcodes / URL embeds
64
- 'id' => null,
65
- 'provider' => null,
66
- // deprecated, title should be used
67
- 'link_text' => null,
68
);
69
70
for ( $n = 1; $n <= ARVE_NUM_TRACKS; $n++ ) {
71
$pairs["track_{$n}"] = null;
72
$pairs["track_{$n}_label"] = null;
73
}
@@ -99,7 +79,7 @@ function arve_shortcode_arve( $input_atts, $content = null, $arve_shortcode = tr
99
$output = apply_filters( 'arve_output', $normal_embed, $html, $atts );
100
101
if ( empty( $output ) ) {
102
- return arve_error( 'The output is empty, this should not happen', ARVE_SLUG );
103
} elseif ( is_wp_error( $output ) ) {
104
return arve_error( $output->get_error_message() );
105
}
@@ -133,7 +113,7 @@ function arve_create_shortcodes() {
133
add_shortcode( $shortcode, $function );
134
}
135
136
- add_shortcode( 'arve', 'arve_shortcode' );
137
add_shortcode( 'arve-supported', 'arve_shortcode_arve_supported' );
138
add_shortcode( 'arve-supported-list', 'arve_shortcode_arve_supported_list' );
139
add_shortcode( 'arve-params', 'arve_shortcode_arve_params' );
1
<?php
2
3
function arve_shortcode_arve( $input_atts, $content = null, $arve_shortcode = true ) {
4
5
$errors = '';
6
$options = arve_get_options();
7
$properties = arve_get_host_properties();
8
$input_atts = (array) $input_atts;
9
+ $f_atts = $input_atts;
10
11
$pairs = array(
12
+ 'align' => $options['align'],
13
+ 'arve_link' => arve_bool_to_shortcode_string( $options['promote_link'] ),
14
+ 'aspect_ratio' => null,
15
+ 'autoplay' => arve_bool_to_shortcode_string( $options['autoplay'] ),
16
+ 'description' => null,
17
+ 'duration' => null,
18
+ 'disable_flash' => null,
19
+ 'iframe_name' => null,
20
+ 'maxwidth' => (string) $options['video_maxwidth'],
21
+ 'mode' => $options['mode'],
22
+ 'parameters' => null,
23
+ 'src' => null, # Just a alias for url to make it simple
24
+ 'thumbnail' => null,
25
+ 'title' => null,
26
+ 'upload_date' => null,
27
+ # <video>
28
+ 'm4v' => null,
29
+ 'mp4' => null,
30
+ 'ogv' => null,
31
+ 'webm' => null,
32
+ 'preload' => 'metadata',
33
+ 'playsinline' => null,
34
+ 'muted' => null,
35
+ 'controls' => 'y',
36
+ 'controlslist' => empty( $options['controlslist'] ) ? null : (string) $options['controlslist'],
37
+ 'loop' => 'n',
38
+ # TED only
39
+ 'lang' => null,
40
+ # Vimeo only
41
+ 'start' => null,
42
+ # Old Shortcodes / URL embeds
43
+ 'id' => null,
44
+ 'provider' => null,
45
+ # deprecated, title should be used
46
+ 'link_text' => null,
47
);
48
49
for ( $n = 1; $n <= ARVE_NUM_TRACKS; $n++ ) {
50
+
51
$pairs["track_{$n}"] = null;
52
$pairs["track_{$n}_label"] = null;
53
}
79
$output = apply_filters( 'arve_output', $normal_embed, $html, $atts );
80
81
if ( empty( $output ) ) {
82
+ return arve_error( 'The output is empty, this should not happen' );
83
} elseif ( is_wp_error( $output ) ) {
84
return arve_error( $output->get_error_message() );
85
}
113
add_shortcode( $shortcode, $function );
114
}
115
116
+ add_shortcode( 'arve', 'arve_shortcode_arve' );
117
add_shortcode( 'arve-supported', 'arve_shortcode_arve_supported' );
118
add_shortcode( 'arve-supported-list', 'arve_shortcode_arve_supported_list' );
119
add_shortcode( 'arve-params', 'arve_shortcode_arve_params' );
readme.txt → readme.md RENAMED
@@ -3,7 +3,7 @@ Contributors: nico23
3
Donate link: https://www.paypal.me/nico23
4
Tags: YouTube, Vimeo, lazyload, thumbnail, video, responsive, embeds, video-embedder, iframe, lightweight, simplicity, shortcodes
5
Requires at least: 4.4.0
6
- Tested up to: 4.9.4
7
Requires PHP: 5.3
8
Stable tag: trunk
9
License: GPL-3.0
@@ -19,9 +19,10 @@ It is very likely the one and only plugin you will ever need to handle video emb
19
20
[youtube https://www.youtube.com/watch?v=m6mkA6Zr1vY ]
21
22
* [Documentation](https://nextgenthemes.com/plugins/arve/documentation/)
23
- * [GitHub Page](https://github.com/nextgenthemes/advanced-responsive-video-embedder)
24
- * [Pro Addon](https://nextgenthemes.com/plugins/arve-pro/)
25
26
### Features ###
27
@@ -51,10 +52,12 @@ allmyvideos.net, Alugha, Archive.org, Break, Brightcove, CollegeHumor, Comedy Ce
51
52
### Reviews ###
53
54
#### &#9733; &#9733; &#9733; &#9733; &#9733; The best there is – I have tried many… ####
55
Have downloaded and paid for at least 4 other video players that use lightbox. Each one has major flaws. This products works perfectly. If you use the OnSite Editor, then just copy the short code and it works great.
56
57
- [arve url="https://www.youtube.com/watch?v=Z7g8-GxLTSc" /]
58
59
For speed, the product uses the thumbnails from the server. So many of the other products do NOT do this and it slows the page rendering. This product should appear first on the WordPress search. Spent 3 days of my life wasted on other products, only to delete each one. [review by jodani](https://wordpress.org/support/plugin/advanced-responsive-video-embedder/reviews/?filter=5)
60
@@ -64,14 +67,14 @@ So I have a responsive theme but on pages with you tube videos it wasn't making
64
#### &#9733; &#9733; &#9733; &#9733; &#9733; Only Plug-in that worked ####
65
I used a lot of high ranking plug-ins but they still broke my design. Downloaded this and worked right away. Thanks! [review by crconnell89](https://wordpress.org/support/plugin/advanced-responsive-video-embedder/reviews/?filter=5)
66
67
- This plugin is financed by sales of the [Pro Addon](https://nextgenthemes.com/plugins/arve-pro/). 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 [purchase it](https://nextgenthemes.com/plugins/arve-pro/) to get extra features and support the development.
68
69
### [Pro Addon](https://nextgenthemes.com/plugins/arve-pro/) ###
70
71
* **Disable links in embeds (killer feature!)**<br>
72
For example: Clicking on a title in a YouTube embed will not open a new popup/tab/window. **Prevent video hosts to lead your visitors away from your site!** Note this also breaks sharing functionality and is not possible when the provider requires flash. Try it on [this page](https://nextgenthemes.com/plugins/arve-pro/). Right click on links still works.
73
* **Lazyload mode**<br>
74
- Make your site load **faster** by loading only a image instead of the entire video player on pageload.
75
* **Lazyload -> Lightbox**<br>
76
Shows the Video in a Lightbox after clicking a preview image
77
* **Link -> Lightbox**<br>
@@ -156,57 +159,6 @@ This plugins embed is considered as 'custom player' by YouTube so you have to pa
156
* [ARVE Pro addon changelog](https://nextgenthemes.com/plugins/arve-pro/changelog/)
157
* [ARVE AMP addon changelog](https://nextgenthemes.com/plugins/arve-amp/)
158
159
- ### 2018-06-07 - 8.9.5 ###
160
-
161
- * Fixed: When pasting embed codes into the Shortcode UI dialog the `src=` will be extracted even when no quotes are used.
162
- * Improved: Use youtube-nocookie.com domain again it is GPRP/Privacy friendly. Note the name is confusing as it sets cookies, but only when the user plays the video rather then just when loading the iframe. So its not "no cookies". But you can mention this into your cookie notices when dealing with GPRP.
163
-
164
- ### 2018-06-02 - 8.9.4 ###
165
-
166
- * Improved: Try to make autoplay in Chrome possible again. See [New Chrome Autoplay behavior](https://developers.google.com/web/updates/2017/09/autoplay-policy-changes). At the point of writing its not clear if the new iframe attribute makes them just autoplay no matter what. Please report your experiences.
167
-
168
- ### 2018-04-29 - 8.9.3 ###
169
-
170
- * Improved: Make overwrite of shortcode possible. Used in new [Random Video Addon](https://nextgenthemes.com/plugins/arve-random-video/)
171
-
172
- ### 2018-04-18 - 8.9.2 ###
173
-
174
- * Fix possible "not a string" errors.
175
-
176
- ### 2018-04-12 - 8.9.1 ###
177
-
178
- * New: Option to always load assets. Needed when dealing with AJAX and other special cases.
179
-
180
- ### 2018-03-16 - 8.9.0 ###
181
-
182
- * Fixed/improved Ustream url detection. Make sure you remove `wmode=transparent` if present and include `html5ui=1` for ustream on the ARVE URL parameters settings tab.
183
-
184
- ### 2018-03-13 - 8.8.9 ###
185
-
186
- * Improved licensing debug code.
187
- * Added Vimeo PHP API class for upcoming versions and addons.
188
-
189
- ### 2018-03-13 - 8.8.8 ###
190
-
191
- * Added code to debug issues with license activations.
192
-
193
- ### 2018-03-05 - 8.8.7 ###
194
-
195
- * Fixed a link on the plugins screen (Thanks Hans).
196
-
197
- ### 2018-02-25 - 8.8.6 ###
198
-
199
- * Fix: HTML5 videos not working with lightbox in [ARVE PRO](https://nextgenthemes.com/plugins/arve-pro/)
200
-
201
- ### 2018-02-25 - 8.8.5 ###
202
-
203
- * Fix: Add default url parameters to youtube playlists. Note they will effect playlist urls like `https://www.youtube.com/playlist?list=PLXYApifkdCACM_ykvnCHeth-vIB6v1XE3` only and not those who also reference the starting video. There is currently a separate parameters option for this but it will be removed in version 9.0.
204
-
205
- ### 2018-02-23 - 8.8.4 ###
206
-
207
- * Fix: YouTube playlists where not correctly detected when having a underscore in the id.
208
- * Improved: Better explanation of the new disable flash for general iframe option on the settings page.
209
-
210
### 2018-02-16 - 8.8.3 ###
211
212
* New: Option to disable flash for not listed providers for more secure embeds and make the 'disable links' Pro Addon feature possible for those. See the description on the options page.
3
Donate link: https://www.paypal.me/nico23
4
Tags: YouTube, Vimeo, lazyload, thumbnail, video, responsive, embeds, video-embedder, iframe, lightweight, simplicity, shortcodes
5
Requires at least: 4.4.0
6
+ Tested up to: 4.9.2
7
Requires PHP: 5.3
8
Stable tag: trunk
9
License: GPL-3.0
19
20
[youtube https://www.youtube.com/watch?v=m6mkA6Zr1vY ]
21
22
+ **I could really use some positive reviews. It has been over 6 month without a positive review.** The top level menu that was complained about a lot has been removed. I am working on a big update that will make ARVE even better with automatic detection of aspect ratios, better caching and lots of improved code.
23
+
24
+ * [GitHub Page](https://github.com/nextgenthemes/arve/)
25
* [Documentation](https://nextgenthemes.com/plugins/arve/documentation/)
26
27
### Features ###
28
52
53
### Reviews ###
54
55
+ If you find this plugin useful please [give it a 5 star review](https://wordpress.org/support/plugin/advanced-responsive-video-embedder/reviews/#new-post). It has 60000+ installs but only 100 reviews after over 5 years!
56
+
57
#### &#9733; &#9733; &#9733; &#9733; &#9733; The best there is – I have tried many… ####
58
Have downloaded and paid for at least 4 other video players that use lightbox. Each one has major flaws. This products works perfectly. If you use the OnSite Editor, then just copy the short code and it works great.
59
60
+ [arve url="https://www.youtube.com/watch?v=Z7g8-GxLTSc"]
61
62
For speed, the product uses the thumbnails from the server. So many of the other products do NOT do this and it slows the page rendering. This product should appear first on the WordPress search. Spent 3 days of my life wasted on other products, only to delete each one. [review by jodani](https://wordpress.org/support/plugin/advanced-responsive-video-embedder/reviews/?filter=5)
63
67
#### &#9733; &#9733; &#9733; &#9733; &#9733; Only Plug-in that worked ####
68
I used a lot of high ranking plug-ins but they still broke my design. Downloaded this and worked right away. Thanks! [review by crconnell89](https://wordpress.org/support/plugin/advanced-responsive-video-embedder/reviews/?filter=5)
69
70
+ This plugin is financed by the awesome buyers of the [Pro Addon](https://nextgenthemes.com/plugins/arve-pro/). 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 [purchase it](https://nextgenthemes.com/plugins/arve-pro/) to get extra features and support the development.
71
72
### [Pro Addon](https://nextgenthemes.com/plugins/arve-pro/) ###
73
74
* **Disable links in embeds (killer feature!)**<br>
75
For example: Clicking on a title in a YouTube embed will not open a new popup/tab/window. **Prevent video hosts to lead your visitors away from your site!** Note this also breaks sharing functionality and is not possible when the provider requires flash. Try it on [this page](https://nextgenthemes.com/plugins/arve-pro/). Right click on links still works.
76
* **Lazyload mode**<br>
77
+ Make your site load **faster** by loading only a image instead of the entire video player on pageload.
78
* **Lazyload -> Lightbox**<br>
79
Shows the Video in a Lightbox after clicking a preview image
80
* **Link -> Lightbox**<br>
159
* [ARVE Pro addon changelog](https://nextgenthemes.com/plugins/arve-pro/changelog/)
160
* [ARVE AMP addon changelog](https://nextgenthemes.com/plugins/arve-amp/)
161
162
### 2018-02-16 - 8.8.3 ###
163
164
* New: Option to disable flash for not listed providers for more secure embeds and make the 'disable links' Pro Addon feature possible for those. See the description on the options page.
readme/01-top.md ADDED
@@ -0,0 +1,25 @@
1
+ === ARVE Advanced Responsive Video Embedder (YouTube, Vimeo, HTML5 Video ...) ===
2
+ Contributors: nico23
3
+ Donate link: https://www.paypal.me/nico23
4
+ Tags: YouTube, Vimeo, lazyload, thumbnail, video, responsive, embeds, video-embedder, iframe, lightweight, simplicity, shortcodes
5
+ Requires at least: 4.4.0
6
+ Tested up to: 4.9.2
7
+ Requires PHP: 5.3
8
+ Stable tag: trunk
9
+ License: GPL-3.0
10
+ License URI: https://www.gnu.org/licenses/gpl-3.0.html
11
+
12
+ Easy responsive video embeds via URLs or shortcodes. Perfect drop-in replacement for WordPress' default embeds. Best plugin for videos?
13
+
14
+ ## Description ##
15
+
16
+ The best WordPress plugin for videos? Supports close to everything you can imagine, still keeping it easy & simple.
17
+
18
+ It is very likely the one and only plugin you will ever need to handle video embeds on your WordPress site(s). It goes far beyond just making your videos responsive!
19
+
20
+ [youtube https://www.youtube.com/watch?v=m6mkA6Zr1vY ]
21
+
22
+ **I could really use some positive reviews. It has been over 6 month without a positive review.** The top level menu that was complained about a lot has been removed. I am working on a big update that will make ARVE even better with automatic detection of aspect ratios, better caching and lots of improved code.
23
+
24
+ * [GitHub Page](https://github.com/nextgenthemes/arve/)
25
+ * [Documentation](https://nextgenthemes.com/plugins/arve/documentation/)
readme/10-description-features.md ADDED
@@ -0,0 +1,21 @@
1
+
2
+ ### Features ###
3
+
4
+ * SEO friendly, lets you specify title, description, upload date to provide search engines with the schema.org data they like to have for better indexing.
5
+ * <abbr title="What You See Is What You Get">WYSIWYG</abbr> support. No more messing around with shortcodes and previewing.
6
+ * New improved dialog for embedding videos.
7
+ * Magically makes those url embedded videos responsive.
8
+ * No 'lock in' if do not use shortcodes and use providers WordPress already supports.
9
+ * Supports [almost every video host](https://nextgenthemes.com/plugins/arve-pro/#support-table) that supports iframe embed codes.
10
+ * Embeds via pasting the URL in its own line just like WordPress!
11
+ * Optionally use very powerful Shortcodes instead.
12
+ * Clean shortcode syntax `[arve url="https://youtu.be/yUCFRL43Zm4" align="left" parameters="start=30" ... /]`, no unnecessary shortcode wrapping.
13
+ * One single button for all providers.
14
+ * Responsive embeds with CSS, much better then with JavaScript.
15
+ * Tries to be as unobtrusive as possible, sets 'hide brand' variables if supported, disables related videos at the end … to help keep people on your site rather then going to YouTube or keep watching videos.
16
+ * Autostart (for providers that support it, mobile browsers prevent this)
17
+ * Custom URL parameters to use all options providers offer.
18
+ * Optional maximal width.
19
+ * Video alignment.
20
+ * Detailed description of options in-place.
21
+ * Automatic detected and custom aspect ratio.
readme/12-description-supported-providers.md ADDED
@@ -0,0 +1,5 @@
1
+
2
+ ### [Supported Providers](https://nextgenthemes.com/plugins/arve-pro/#support-table) ###
3
+
4
+ allmyvideos.net, Alugha, Archive.org, Break, Brightcove, CollegeHumor, Comedy Central, Dailymotion, Facebook, Funny or Die, IGN, Kickstarter, LiveLeak, Livestream, kla.tv, Metacafe, Movieweb, MPORA, Myspace, Snotr, Spike, TED Talks, Twitch, Ustream, RuTube.ru, Veoh, Vevo, Viddler, vidspot.net, Vine, Vimeo, VK, Vzaar, Wistia, XTube, Yahoo, Youku, YouTube, YouTube Playlist, HTML5 video files directly, Google_drive, Dropbox, Ooyala
5
+ [All providers with responsive iframe embed codes](https://nextgenthemes.com/plugins/arve/documentation/#general-iframe-embedding)
readme/13-description-reviews.md ADDED
@@ -0,0 +1,17 @@
1
+
2
+ ### Reviews ###
3
+
4
+ If you find this plugin useful please [give it a 5 star review](https://wordpress.org/support/plugin/advanced-responsive-video-embedder/reviews/#new-post). It has 60000+ installs but only 100 reviews after over 5 years!
5
+
6
+ #### &#9733; &#9733; &#9733; &#9733; &#9733; The best there is – I have tried many… ####
7
+ Have downloaded and paid for at least 4 other video players that use lightbox. Each one has major flaws. This products works perfectly. If you use the OnSite Editor, then just copy the short code and it works great.
8
+
9
+ [arve url="https://www.youtube.com/watch?v=Z7g8-GxLTSc"]
10
+
11
+ For speed, the product uses the thumbnails from the server. So many of the other products do NOT do this and it slows the page rendering. This product should appear first on the WordPress search. Spent 3 days of my life wasted on other products, only to delete each one. [review by jodani](https://wordpress.org/support/plugin/advanced-responsive-video-embedder/reviews/?filter=5)
12
+
13
+ #### &#9733; &#9733; &#9733; &#9733; &#9733; Finally something that works ####
14
+ So I have a responsive theme but on pages with you tube videos it wasn't making the you tube videos fit in the mobile screen. I have spent the last hour trying many plugins and researching on google and finally I installed this. And I didn't have to update any settings or anything just refreshed a post with videos and all the sudden it is beautiful and responsive on my mobile phone!!!!!! THANK YOU!!!! [review by happyecho](https://wordpress.org/support/plugin/advanced-responsive-video-embedder/reviews/?filter=5)
15
+
16
+ #### &#9733; &#9733; &#9733; &#9733; &#9733; Only Plug-in that worked ####
17
+ I used a lot of high ranking plug-ins but they still broke my design. Downloaded this and worked right away. Thanks! [review by crconnell89](https://wordpress.org/support/plugin/advanced-responsive-video-embedder/reviews/?filter=5)
readme/19-description-features-pro-intro.md ADDED
@@ -0,0 +1,2 @@
1
+
2
+ This plugin is financed by the awesome buyers of the [Pro Addon](https://nextgenthemes.com/plugins/arve-pro/). 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 [purchase it](https://nextgenthemes.com/plugins/arve-pro/) to get extra features and support the development.
readme/20-description-features-pro.md ADDED
@@ -0,0 +1,21 @@
1
+
2
+ ### [Pro Addon](https://nextgenthemes.com/plugins/arve-pro/) ###
3
+
4
+ * **Disable links in embeds (killer feature!)**<br>
5
+ For example: Clicking on a title in a YouTube embed will not open a new popup/tab/window. **Prevent video hosts to lead your visitors away from your site!** Note this also breaks sharing functionality and is not possible when the provider requires flash. Try it on [this page](https://nextgenthemes.com/plugins/arve-pro/). Right click on links still works.
6
+ * **Lazyload mode**<br>
7
+ Make your site load **faster** by loading only a image instead of the entire video player on pageload.
8
+ * **Lazyload -> Lightbox**<br>
9
+ Shows the Video in a Lightbox after clicking a preview image
10
+ * **Link -> Lightbox**<br>
11
+ Use simple links as triggers for lightboxed videos
12
+ * Automatic or custom thumbnail images
13
+ * Automatic or custom titles on top of your thumbnails
14
+ * 'Expand on click' feature
15
+ * 3 hover styles
16
+ * 2 play icon styles to choose from
17
+ * Responsive thumbnails using cutting edge HTML5 technology
18
+ * **Feel good about yourself**<br>
19
+ for supporting my 5+ years work on this plugin. Tons of hours, weekends … always worked on improving it.
20
+ * Show the latest video of a YouTube channel by using the channel URL (updated/cached hourly)
21
+ * **[Get the ARVE Pro Addon](https://nextgenthemes.com/plugins/arve-pro/)**
readme/25-description-features-amp.md ADDED
@@ -0,0 +1,11 @@
1
+
2
+ ### ARVE AMP Addon ###
3
+
4
+ * Requires the gratis plugins [ARVE](https://wordpress.org/plugins/advanced-responsive-video-embedder/) and [AMP](https://wordpress.org/plugins/amp/)
5
+ * Makes ARVE ready for Accelerated Mobile Pages (AMP)
6
+ * It will display videos embedded with ARVE on AMP pages correctly
7
+ * No options, just works
8
+ * It creates &lt;amp-brightcove&gt;, &lt;amp-youtube&gt;, &lt;amp-vimeo&gt;, &lt;amp-dailymotion&gt; elements
9
+ * For all other video hosts supported by ARVE &lt;amp-iframe&gt; element is used
10
+ * HTML5 video embeds are also supported with &lt;amp-video&gt;
11
+ * **[Check out the ARVE AMP Addon](https://nextgenthemes.com/plugins/arve-amp/)**
readme/35-description-thanks.md ADDED
@@ -0,0 +1,13 @@
1
+
2
+ ### Thanks ###
3
+
4
+ * Of course all the customers who bought a addon.
5
+ * Howard Iken of [myfloridalaw.com](https://www.myfloridalaw.com) top donor, super nice to me even if I was rude and not deserved it!
6
+ * [Ilya Grishkov](https://www.ilyagrishkov.com) for bringing up the idea and the first code to cache thumbnail urls.
7
+ * Everybody giving constructive feedback, testing beta versions.
8
+ * Everybody who donated back in the days when this was donation based.
9
+
10
+ ### Thanks to the developers of the software used in ARVE ###
11
+
12
+ * [Shortcode UI](https://wordpress.org/plugins/shortcode-ui/), optional Plugin, utilized by ARVE
13
+ * [Lity Lightbox](http://sorgalla.com/lity/), used in [Pro Addon](https://nextgenthemes.com/plugins/arve-pro/)
readme/50-installation-faq-screenshots.md ADDED
@@ -0,0 +1,40 @@
1
+
2
+ ## Installation ##
3
+
4
+ Please refer to [codex.wordpress.org/Managing_Plugins#Automatic_Plugin_Installation](https://codex.wordpress.org/Managing_Plugins#Automatic_Plugin_Installation).
5
+
6
+ ## Frequently Asked Questions ##
7
+
8
+ ### I have a problem ... ###
9
+
10
+ Please report it on [nextgenthemes.com/support/](https://nextgenthemes.com/support/) **and please do not on the wordpess.org forums, thanks.**
11
+
12
+ ### How to get the pro version working? ###
13
+
14
+ 1. Go though the purchase process on [nextgenthemes.com/arve-pro/](https://nextgenthemes.com/arve-pro/)
15
+ 1. Follow the 3 easy steps you get with the purchase receipt. It is basically downloading a arve-pro.zip and installing it through your WordPress Admin panel.
16
+
17
+ ### Why are my videos not filling their container? ###
18
+
19
+ You are most likely use `align`, this plugin has a option for limiting video width with alignment. If you want your videos to fill their containers then you should not use the `align` shortcode attribute. This assumes that you left the 'Video Maximal Width' field on the options page empty.
20
+
21
+ ### Can you add a video provider? ###
22
+
23
+ I have no plans on implementing providers that include videos via JavaScript such as www.nicovideo.jp. I also will not implement video services from mainstream media news organizations. For others, feel free to ask.
24
+
25
+ ### How do I embed videos from a unlisted providers / iframes? ###
26
+
27
+ This plugin not changes anything to usual HTML `<iframe>` embed codes you have to use the shortcode creator dialog and paste iframe embed codes there or write them manually. They will become `[arve url="https://..."]`. The url represents what is the `src` in HTML embeds. It works as simple as this, if the [arve] shortcode does not detect a known URL structure then it will treat the URL as a `src` for the iframe.
28
+
29
+ ### Why does my YouTube video not repeat/loop? ###
30
+
31
+ This plugins embed is considered as 'custom player' by YouTube so you have to pass the video ID as playlist parameters to make the loop work.
32
+
33
+ `[arve url="https://www.youtube.com/watch?v=pvRqvX413Ik" parameters="loop=1&playlist=pvRqvX413Ik"]`
34
+
35
+ ## Screenshots ##
36
+
37
+ 1. Shortcode dialog
38
+ 2. Main Options
39
+ 2. URL Parameter Options
40
+ 3. Pro Options
readme/html/01-top.html ADDED
@@ -0,0 +1,18 @@
1
+ <p>=== ARVE Advanced Responsive Video Embedder (YouTube, Vimeo, HTML5 Video ...) ===<br />Contributors: nico23<br />Donate link: <a href='https://www.paypal.me/nico23'>https://www.paypal.me/nico23</a><br />Tags: YouTube, Vimeo, lazyload, thumbnail, video, responsive, embeds, video-embedder, iframe, lightweight, simplicity, shortcodes<br />Requires at least: 4.4.0<br />Tested up to: 4.9.2<br />Requires PHP: 5.3<br />Stable tag: trunk<br />License: GPL-3.0<br />License URI: <a href='https://www.gnu.org/licenses/gpl-3.0.html'>https://www.gnu.org/licenses/gpl-3.0.html</a></p>
2
+
3
+ <p>Easy responsive video embeds via URLs or shortcodes. Perfect drop-in replacement for WordPress' default embeds. Best plugin for videos?</p>
4
+
5
+ <h2>Description</h2>
6
+
7
+ <p>The best WordPress plugin for videos? Supports close to everything you can imagine, still keeping it easy &amp; simple.</p>
8
+
9
+ <p>It is very likely the one and only plugin you will ever need to handle video embeds on your WordPress site(s). It goes far beyond just making your videos responsive!</p>
10
+
11
+ <p>[youtube <a href='https://www.youtube.com/watch?v=m6mkA6Zr1vY'>https://www.youtube.com/watch?v=m6mkA6Zr1vY</a> ]</p>
12
+
13
+ <p><strong>I could really use some positive reviews. It has been over 6 month without a positive review.</strong> The top level menu that was complained about a lot has been removed. I am working on a big update that will make ARVE even better with automatic detection of aspect ratios, better caching and lots of improved code.</p>
14
+
15
+ <ul>
16
+ <li><a href="https://github.com/nextgenthemes/arve/">GitHub Page</a></li>
17
+ <li><a href="https://nextgenthemes.com/plugins/arve/documentation/">Documentation</a></li>
18
+ </ul>
readme/html/10-description-features.html ADDED
@@ -0,0 +1,22 @@
1
+ <h3>Features</h3>
2
+
3
+ <ul>
4
+ <li>SEO friendly, lets you specify title, description, upload date to provide search engines with the schema.org data they like to have for better indexing.</li>
5
+ <li><abbr title="What You See Is What You Get">WYSIWYG</abbr> support. No more messing around with shortcodes and previewing.</li>
6
+ <li>New improved dialog for embedding videos.</li>
7
+ <li>Magically makes those url embedded videos responsive.</li>
8
+ <li>No 'lock in' if do not use shortcodes and use providers WordPress already supports.</li>
9
+ <li>Supports <a href="https://nextgenthemes.com/plugins/arve-pro/#support-table">almost every video host</a> that supports iframe embed codes.</li>
10
+ <li>Embeds via pasting the URL in its own line just like WordPress!</li>
11
+ <li>Optionally use very powerful Shortcodes instead.</li>
12
+ <li>Clean shortcode syntax <code>[arve url="<a href='https://youtu.be/yUCFRL43Zm4'>https://youtu.be/yUCFRL43Zm4</a>" align="left" parameters="start=30" ... /]</code>, no unnecessary shortcode wrapping.</li>
13
+ <li>One single button for all providers.</li>
14
+ <li>Responsive embeds with CSS, much better then with JavaScript.</li>
15
+ <li>Tries to be as unobtrusive as possible, sets 'hide brand' variables if supported, disables related videos at the end … to help keep people on your site rather then going to YouTube or keep watching videos.</li>
16
+ <li>Autostart (for providers that support it, mobile browsers prevent this)</li>
17
+ <li>Custom URL parameters to use all options providers offer.</li>
18
+ <li>Optional maximal width.</li>
19
+ <li>Video alignment.</li>
20
+ <li>Detailed description of options in-place.</li>
21
+ <li>Automatic detected and custom aspect ratio.</li>
22
+ </ul>
readme/html/12-description-supported-providers.html ADDED
@@ -0,0 +1,3 @@
1
+ <h3><a href="https://nextgenthemes.com/plugins/arve-pro/#support-table">Supported Providers</a></h3>
2
+
3
+ <p>allmyvideos.net, Alugha, Archive.org, Break, Brightcove, CollegeHumor, Comedy Central, Dailymotion, Facebook, Funny or Die, IGN, Kickstarter, LiveLeak, Livestream, kla.tv, Metacafe, Movieweb, MPORA, Myspace, Snotr, Spike, TED Talks, Twitch, Ustream, RuTube.ru, Veoh, Vevo, Viddler, vidspot.net, Vine, Vimeo, VK, Vzaar, Wistia, XTube, Yahoo, Youku, YouTube, YouTube Playlist, HTML5 video files directly, Google_drive, Dropbox, Ooyala<br /><a href="https://nextgenthemes.com/plugins/arve/documentation/#general-iframe-embedding">All providers with responsive iframe embed codes</a></p>
readme/html/13-description-reviews.html ADDED
@@ -0,0 +1,19 @@
1
+ <h3>Reviews</h3>
2
+
3
+ <p>If you find this plugin useful please <a href="https://wordpress.org/support/plugin/advanced-responsive-video-embedder/reviews/#new-post">give it a 5 star review</a>. It has 60000+ installs but only 100 reviews after over 5 years!</p>
4
+
5
+ <h4>&#9733; &#9733; &#9733; &#9733; &#9733; The best there is – I have tried many…</h4>
6
+
7
+ <p>Have downloaded and paid for at least 4 other video players that use lightbox. Each one has major flaws. This products works perfectly. If you use the OnSite Editor, then just copy the short code and it works great.</p>
8
+
9
+ <p>[arve url="<a href='https://www.youtube.com/watch?v=Z7g8-GxLTSc'>https://www.youtube.com/watch?v=Z7g8-GxLTSc</a>"]</p>
10
+
11
+ <p>For speed, the product uses the thumbnails from the server. So many of the other products do NOT do this and it slows the page rendering. This product should appear first on the WordPress search. Spent 3 days of my life wasted on other products, only to delete each one. <a href="https://wordpress.org/support/plugin/advanced-responsive-video-embedder/reviews/?filter=5">review by jodani</a></p>
12
+
13
+ <h4>&#9733; &#9733; &#9733; &#9733; &#9733; Finally something that works</h4>
14
+
15
+ <p>So I have a responsive theme but on pages with you tube videos it wasn't making the you tube videos fit in the mobile screen. I have spent the last hour trying many plugins and researching on google and finally I installed this. And I didn't have to update any settings or anything just refreshed a post with videos and all the sudden it is beautiful and responsive on my mobile phone!!!!!! THANK YOU!!!! <a href="https://wordpress.org/support/plugin/advanced-responsive-video-embedder/reviews/?filter=5">review by happyecho</a></p>
16
+
17
+ <h4>&#9733; &#9733; &#9733; &#9733; &#9733; Only Plug-in that worked</h4>
18
+
19
+ <p>I used a lot of high ranking plug-ins but they still broke my design. Downloaded this and worked right away. Thanks! <a href="https://wordpress.org/support/plugin/advanced-responsive-video-embedder/reviews/?filter=5">review by crconnell89</a></p>
readme/html/19-description-features-pro-intro.html ADDED
@@ -0,0 +1 @@
1
+ <p>This plugin is financed by the awesome buyers 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>
readme/html/20-description-features-pro.html ADDED
@@ -0,0 +1,22 @@
1
+ <h3><a href="https://nextgenthemes.com/plugins/arve-pro/">Pro Addon</a></h3>
2
+
3
+ <ul>
4
+ <li><strong>Disable links in embeds (killer feature!)</strong><br>
5
+ 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>
6
+ <li><strong>Lazyload mode</strong><br>
7
+ Make your site load <strong>faster</strong> by loading only a image instead of the entire video player on pageload. </li>
8
+ <li><strong>Lazyload -> Lightbox</strong><br>
9
+ Shows the Video in a Lightbox after clicking a preview image</li>
10
+ <li><strong>Link -> Lightbox</strong><br>
11
+ Use simple links as triggers for lightboxed videos</li>
12
+ <li>Automatic or custom thumbnail images</li>
13
+ <li>Automatic or custom titles on top of your thumbnails</li>
14
+ <li>'Expand on click' feature</li>
15
+ <li>3 hover styles</li>
16
+ <li>2 play icon styles to choose from</li>
17
+ <li>Responsive thumbnails using cutting edge HTML5 technology</li>
18
+ <li><strong>Feel good about yourself</strong><br>
19
+ for supporting my 5+ years work on this plugin. Tons of hours, weekends … always worked on improving it.</li>
20
+ <li>Show the latest video of a YouTube channel by using the channel URL (updated/cached hourly)</li>
21
+ <li><strong><a href="https://nextgenthemes.com/plugins/arve-pro/">Get the ARVE Pro Addon</a></strong></li>
22
+ </ul>
readme/html/25-description-features-amp.html ADDED
@@ -0,0 +1,12 @@
1
+ <h3>ARVE AMP Addon</h3>
2
+
3
+ <ul>
4
+ <li>Requires the gratis plugins <a href="https://wordpress.org/plugins/advanced-responsive-video-embedder/">ARVE</a> and <a href="https://wordpress.org/plugins/amp/">AMP</a></li>
5
+ <li>Makes ARVE ready for Accelerated Mobile Pages (AMP)</li>
6
+ <li>It will display videos embedded with ARVE on AMP pages correctly</li>
7
+ <li>No options, just works</li>
8
+ <li>It creates &lt;amp-brightcove&gt;, &lt;amp-youtube&gt;, &lt;amp-vimeo&gt;, &lt;amp-dailymotion&gt; elements</li>
9
+ <li>For all other video hosts supported by ARVE &lt;amp-iframe&gt; element is used</li>
10
+ <li>HTML5 video embeds are also supported with &lt;amp-video&gt;</li>
11
+ <li><strong><a href="https://nextgenthemes.com/plugins/arve-amp/">Check out the ARVE AMP Addon</a></strong></li>
12
+ </ul>
readme/html/35-description-thanks.html ADDED
@@ -0,0 +1,16 @@
1
+ <h3>Thanks</h3>
2
+
3
+ <ul>
4
+ <li>Of course all the customers who bought a addon.</li>
5
+ <li>Howard Iken of <a href="https://www.myfloridalaw.com">myfloridalaw.com</a> top donor, super nice to me even if I was rude and not deserved it!</li>
6
+ <li><a href="https://www.ilyagrishkov.com">Ilya Grishkov</a> for bringing up the idea and the first code to cache thumbnail urls.</li>
7
+ <li>Everybody giving constructive feedback, testing beta versions.</li>
8
+ <li>Everybody who donated back in the days when this was donation based.</li>
9
+ </ul>
10
+
11
+ <h3>Thanks to the developers of the software used in ARVE</h3>
12
+
13
+ <ul>
14
+ <li><a href="https://wordpress.org/plugins/shortcode-ui/">Shortcode UI</a>, optional Plugin, utilized by ARVE</li>
15
+ <li><a href="http://sorgalla.com/lity/">Lity Lightbox</a>, used in <a href="https://nextgenthemes.com/plugins/arve-pro/">Pro Addon</a></li>
16
+ </ul>
readme/html/50-installation-faq-screenshots.html ADDED
@@ -0,0 +1,43 @@