=== Vbrick ===
Contributors: wpdevnlg
Tags: vbrick, vbrick videos
Requires at least: 4.6
Tested up to: 4.8.3
Stable tag: 1.0.2
Requires PHP: 5.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

The plugin allows embedding VBrick videos in posts/pages.

== Description ==

The plugin allows embedding VBrick videos in posts/pages. It adds a button in the edit section of pages and posts. The
button opens a modal that allows searching for vbrick videos and, by using a shortcode, including them into the page/post.


== Installation ==

1. Install the plugin
2. Activate the plugin
3. Fill out the entries from the Settings->Vbrick page. If you tick the checkbox to ignore auth and use only public info
then you do not need to fill out the key name and key secret. Otherwise you will need a Vbrick account with which to
create an API key. When creating an api key do not forget to add the url in the greyed text input to the AUTHORIZED
REDIRECT URIS section of you key.

== Frequently Asked Questions ==

= How do I check the Vbrick settings? =

Go to Settings->Vbrick. Check the values in the text fields. Enter a search term or leave the default one and click
search. On the next page, if the text area contains the results then the settings are ok.

= A red error text appears in the Search modal asking to go to the Settings page. Why? =

Either the settings were not configured or the tokens have expired.
Go to the settings page, check the values. Do not forget to save them if you make a change. If the settings were
configured and you chose to use authentication then the tokens have probably expired. You should run a search from the
settings page to regenerate them.

== Changelog ==

= 1.0.3 =
* Adds autoplay attribute to shortcode
* Adds filter before returning iframe html, allowing for customization. The filter is named vbrick_get_iframe and accepts
two parameters a string $htmlCode and an array $atts
* Allows defining the Vbrick api setings from a config file. When the config file is present and the constants are defined
they are no longer displayed in the settigns page

= 1.0.2 =
* Modified header text in the Vbrick API rev settings .

= 1.0.1 =
* Modified texts in the Vbrick API rev settings .
* Modified text in Search Modal .
