I’ve been using the REST API to programmatically create sermons.
I looked in http://[site-url]/wp-json/wp/v2/wpfc_sermon for objects to use.
My body json is this:
{
"title": "test",
"sermon_video_embed": "<iframe width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/Hvrr5jf6-W0\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"
}
I can add a title or date, but when I try to embed a sermon, “sermon_video_embed” is blank
-
This topic was modified 5 years, 4 months ago by
jdvorachek.