About this plugin
Overview
Simple youtube search include plug-in is a short-code plug-in that will help you add youtube video with search terms.
How to use
0, I have 2 ways you can choose.
-
* *** ‘static=”no”‘ value will force plugin don’t update a youtube video on your post, that’s mean it will be get new one every time.
-
Use F2C Youtube buttons to add short-code.
Attributes
s => search terms. Required. eg.
s=”batman return”
static => indicate a static youtube video. Set “no” only for non-static youtube video. Default is ‘yes’.
eg. static=”no”
output => indicate an output. “shortcode” is youtube video or “url” is link string. Default is ‘shortcode’.
eg. output=”url”
How it works
The plug-in will get your search terms form “s” attribute and send them to youtube search page then it retrieves first video link in search list. After it get the link, it will create a wordpress youtube short-code so you can use wordpress youtube short-code attributes such as width, height, etc.
When your user see a content of post, plug-in will update your post with static youtube video embed tag.