Video Metabox AOC
v1.1ankittiwaari · 2018年5月24日 上架
Video Metabox AOC allows you to upload a video as a post meta.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 1,574
- 最近更新
- 2022年1月1日
需要 WordPress 4.0+已测试到 5.8.20PHP 5.2.4+
贡献者
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.