How to use DataFillers in WP Video Robot

The version 1.5.1 comes with a brand new feature, DataFillers. Requested by a lot of customers, this feature is very useful to help the plugin integrating with your Theme.

What are dataFillers ?

WP Video Robot uses its own custom post type called wpvr_video to store imported videos. The plugin includes those videos into any query on your site automatically. In fact, you just have to enable the “Auto-Include Videos In Your Site Queries” option to show up your videos automatically. That being said, you will probably want to use your theme custom layout or custom video player, or just customize the style and/or display of some video data. WP Video Robot stores each video data in its own custom fields. Besides, your theme is probably using its own. So instead of editing your theme files to tell the theme where to read the video url for example ( which is not recommended ), the plugin allows you to automatically fill the theme custom fields with some video data. That is called dataFillers.

How to use dataFillers ?

To manage your dataFillers, go to WP Video Robot > Plugin Dashboard > Data Fillers.

To add a new filler, you need to choose the video data to add and the name of the custom field to add to.

For the video data, you can choose among :
Video ID : The unique video identifier used by each video service.
Video Service : Name of the video service (Youtube, Vimeo or Dailymotion).
Video Embed Code : The iframe code to embed the video.
Video URL : The complete video URL.
Video Duration : The duration of the video formatted as hh:ii:ss.
Video Thumbnail : The video service thumbnail of the video.
Video Origianl Views : The number of views on the video service website when the video has been imported.

Once you added your dataFillers, on each new video import, the plugin will automatically fill your custom fields with the selected data.
You can also run dataFillers on existing videos, that have been imported earlier, by clicking on “RUN FILLERS ON EXISANT VIDEOS”.

More about adapting WP Video Robot with some video themes :

How to use WP Video Robot with TRUEMAG Video Theme


If you need any help using WP Video Robot, don’t hesitate to create a new support ticket on the support forum.

Happy Video Importing!
The Team at WP Video Robot