=== FA Video Popup === Contributors: fahosting Donate link: https://www.freelance-assistance.com Tags: video, mp4, webm, ogv, popup, responsive, youtube, vimeo, modal Requires at least: 3.6 Tested up to: 4.9.5 Stable tag: 1.0.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Add a popup to your videos (MP4, WebM, Ogv, YouTube and Vimeo) triggered by a click on an image, a button or a text. == Description == https://youtu.be/ttiTYfM-m6c Very easy to install and use. Once activated, a new icon will be available on the TinyMCE editor to help you construct the shortcode with multiple options: * Support for MP4/WEBM/OGG video files, YouTube or Vimeo links in posts or pages * Trigger popup via a click on a poster (image), a button or a text * Video pauses when popup close * Responsive & centered videos This plugin uses the native [WordPress Video Shortcode](https://codex.wordpress.org/Video_Shortcode "Video Shortcode") and [MediaElements.js](https://www.mediaelementjs.com/ "HTML5 video and audio unification framework") JavaScript library already present in WordPress since 3.6.0. == Installation == 1. Login to your WordPress admin, then go to Plugins > Add New 2. Search for FA Video Popup 3. Click Install Now 4. Click Activate == Documentation == To include a video in your posts or pages, use the shortcodes below: **For MP4 / WebM / Ogv** [favideo-popup popup="text" text="YOUR TEXT" mp4="https://domain.com/video.mp4" webm="https://domain.com/video.webm" ogg="https://domain.com/video.ogv"] You must declare at least one type of video with a valid url. See options for popup below. **For YouTube** [favideo-popup popup="text" text="YOUR TEXT" youtube="https://www.youtube.com/watch?v=VIDEO_ID"] Replace "VIDEO_ID" with the video ID from YouTube. See options for popup below. **For Vimeo** [favideo-popup popup="text" text="YOUR TEXT" vimeo="https://vimeo.com/VIDEO_ID"] Replace "VIDEO_ID" with the video ID from Vimeo. See options for popup below. **Popup via click on image (poster)** [favideo-popup popup="poster" poster="https://domain.com/wp-content/uploads/YOUR_IMAGE.png" mp4="https://domain.com/video.mp4"] **Popup via click on button** [favideo-popup popup="button" button="YOUR BUTTON TEXT" mp4="https://domain.com/video.mp4"] **Popup via click on text** [favideo-popup popup="text" text="YOUR TEXT" mp4="https://domain.com/video.mp4"] == Frequently Asked Questions == = Why my video is not showing = Make sure the video url is valid and publicly accessible, and that you have defined the popup type and value. For example, if youhave in the shortcode *popup="text"*, you MUST declare *text="YOUR TEXT"*. = Can I add videos from YouTube/Vimeo with this plugin = Yes. This plugin use the WordPress [built-in player](https://codex.wordpress.org/Video_Shortcode). = Why do I get error "Error parsing header X-XSS-Protection: 1" with Chrome = This seems to be a bug with Chrome [807304](https://bugs.chromium.org/p/chromium/issues/detail?id=807304) but it does not interfere with video playback. This is not related to the plugin or WordPress Video Shortcode, but to the YouTube API and/or Chrome. == Changelog == = 1.0.2 = * Add JavaScript to move overlay after to maximize compatibility with themes * Add plugin banners = 1.0.1 = * Add video demo * Add shortcodes documentation * Add plugin icon images * Minify CSS & JavaScript * Minor bug fixes = 1.0.0 = * First release.