WooCommerce And WordPress Featured Video


Thank you for purchase. If you have any questions that are beyond the scope of this help file, please feel free to send a message on the link.

How to install

Make sure you extract downloaded file from codecanyon, inside you will find file named: 'apfvp.zip'. This is the plugin file you upload in wordpress panel!




Activate plugin

After you install plugin you will have to activate your license to start using the plugin.

To activate license you need to create account on the following link, where you will provide your PURCHASE CODE, and get TOKEN in return which you will then enter in plugin section to activate the plugin.

Instructions how to register

Access control panel here

This is made to make sure customers use the license on a single project (as per Envato rules) and to help customers owning many licenses to easily track on which server licenses are being used.




How to update
1. Using FTP client, delete old plugin files and upload new ones. Clear browser cache.
2. Your previously created data is going to be saved.



Intro

With this plugin you can add video (or audio) to your featured images in WordPress and products in WooCommerce. These videos can play on hover or a click.
You can also set url link or set link to image, video or iframe which will open in lightbox popup window.

To play video on hover, recommended usage would be having short videos, encoded for the small filesize (so the can load quickly on hover).
Video will not be loaded until mouse enters image area. Then if you want to display high resolution video, you can open full resolution video in lightbox.

Quick setup for WooCommerce Shop or single product page

1. Deactivate any plugins you have that do that same function (create videos in WooCommerce pages) because of possible conflict

2. Use default settings in our plugin (dont change any plugin options for start). By default plugin will show videos Shop or single product pages

3. Add videos to your products in edit Product pages

4. Test with Wordpress default theme (just to confirm its working!) before trying the theme you actualy use.

Video playback

There are 2 ways to start playback on desktop browsers (hover and click).
Note that for a video to start playing on hover (without any previous user interaction with the page like a click or keypress), its necessary for videos to be muted (plugin will auto mute videos!).
If video playback is started with a click, then videos can have volume.



Audio playback

For audio to start playback on hover, user needs to interact with the page beforehand! Otherwise its not possible for audio playbck to work on hover!

If your application requires hover for audio (instead of click), maybe you can implement some kind of popup window where user has to click to close, so interaction wih the document has happened before user starts browsing the page.

Display custom "Buy now" button text over product image (which adds product to cart when clicked):

Use following settings:

When buy "Buy now" is clicked, this will provide following popup window:

This plugin is compatible with Gallery Slider for WooCommerce

1. To make this work turn off gallery zoom inside Gallery Slider for WooCommerce

2. use these settings in our plugin for single product page:

If you want to activate audio players in non WooCommerce page use the following option:

This will make sure this it works with a shortcode like the following:

[products category="accessories"]
[products ids="1972,1980"]

Player can be added to any page using custom shortcode:

[fvp product_id="1981"]

product_id = product ID (currently supports only single product per player)

Make sure you have activated player scripts if this is used in non WooCommerce page:

Custom css for the gallery can be entered in Custom CSS tab.

Example of how to apply some css changes:

Change button background color:

.fvp-contr-btn{
    background: #ccc;
}

You can import product video in CSV using WooCommerce 3.0+ built-in importer.

To add custom meta in CSV file, add following headers in CSV file. Use the word meta: followed by featured video meta keys:

Parameters:

Header Required Value
fvp_featured_type yes video, youtube, vimeo, dm, wistia, facebook, audio
fvp_featured_url yes video / audio url, examples:

mp4 video

Youtube video: https://www.youtube.com/watch?v=VIDEO_ID_GOES_HERE

Vimeo video: https://vimeo.com/VIDEO_ID_GOES_HERE

Wistia: https://fast.wistia.net/embed/iframe/VIDEO_ID_GOES_HERE

Facebook: https://www.facebook.com/plugins/video.php?href=https://www.facebook.com/watch/?v=VIDEO_ID&autoplay=1&allowfullscreen=true

Dailymotion: https://www.dailymotion.com/video/x6z9an9

audio url

fvp_featured_link Add external url (click on video opens external url link)
fvp_featured_target External url target (_blank, _self...)
fvp_featured_lightbox_url Add lightbox link (click on video opens lightbox). Check lightbox section for more details.
fvp_featured_lightbox_url_type Lightbox type is auto detected (enter it manually if you have some specific type like iframe). Check lightbox section for more details.

Example of CSV is included in plugin package / documentation / csv directory.

Videos dont show in page

Switch to default Wordpress theme to see if the videos are working in default Wordpress theme. If the videos work there but do not work in your theme, we need to know which theme you use, so contact us with all the information and live page link where we can see the videos.
http://codecanyon.net/user/Tean#contact




Plugin does not work as expected

If the plugin does not work as expected, try the following tests to see if it makes a difference and what could be causing an issue:

1. Update to latest plugin files available on Codecanyon

2. Switch to default Wordpress theme

3. Check for errors in browser developer console (Chrome F12 key, Console tab)

4. Try to deactivate any 3rd party plugins (the ones that not come with Wordpress)

5. If you still have issues after you have done all changes above, you can send a message at http://codecanyon.net/user/Tean#contact , provide your PURCHASE CODE, provide a link to your live page, and a temporary user and password for your wordpress admin panel so we can have a look.

How to contact us?

If you have any questions after purchase, send a message at http://codecanyon.net/user/Tean#contact, and provide your PURCHASE CODE.