This plugin aims at providing users the capability to upload video to a post. It uses wp.media js object to open an uploader frame and choose/upload videos. Once the video is selected, it will save the id of uploaded media object in a custom field.
Getting uploaded images
You can use the function aoc_get_post_video($post_id) to retrieve the url of video that has been uploaded to a post. This function accepts the id of post (for which the video is to be fetched) as a parameter.
- Upload the plugin folder to the
/wp-content/plugins/directory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the ‘Plugins’ screen in WordPress
There are no reviews for this plugin.
“Video Metabox AOC” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。貢獻者
- Add shortcode
- Bugfix – return video URL instead of video ID
- First stable version