SmartVP Video Player gives every video on your site the same clean, accessible player, whether the file lives in your Media Library, on a CDN, on YouTube or on Vimeo. Each player is created once under SmartVP Video Player Add New Player and placed anywhere with a shortcode.
[smart_video id="123"], into any post, page or widget.The player exposes PHP filters and a small JavaScript API (window.SmartVP) for adding sources, render modes and features from another plugin or theme. The full list is documented at the top of includes/extend.php.
This plugin connects to the services below only when a player uses them. It does not send any data to the plugin author.
Used when a player’s source is YouTube.
https://www.youtube.com/embed/…) and the YouTube IFrame Player API (https://www.youtube.com/iframe_api) load when the visitor presses play, or when autoplay or play-on-scroll starts the video. The default poster image is loaded from https://i.ytimg.com/. YouTube receives the video ID, your site’s address and the usual browser data (IP address, user agent).https://www.youtube.com/oembed) for the video’s width and height so it can be sized correctly. Only the video URL is sent. The answer is cached for a day.YouTube Terms of Service and Google Privacy Policy.
Used when a player’s source is Vimeo.
https://player.vimeo.com/video/…, loaded with Vimeo’s “do not track” option) and the Vimeo Player API script (https://player.vimeo.com/api/player.js) are loaded with the page that shows the player. Vimeo receives the video ID, your site’s address and the usual browser data.https://vimeo.com/api/oembed.json) for the video’s thumbnail, width and height. Only the video URL is sent. The answer is cached for a day.Vimeo Terms of Service and Privacy Policy.
While an editor types a video URL in the player settings, the plugin can check from your server that the link answers (a single small request to that URL, only for YouTube and Vimeo addresses, your own site, or links ending in a video file extension). Nothing else is sent. This runs only in wp-admin, for users who can upload files.
All bundled locally; nothing is loaded from a CDN.
vendor/plyr/plyr.js is the unminified build of the plyr.min.js the plugin loads.