Apraksts
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.
Uzstādīšana
- 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
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“Video Metabox AOC” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “Video Metabox AOC” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
1.1
- Add shortcode
aoc_video_box
1.0
- Bugfix – return video URL instead of video ID
0.1
- First stable version