Can’t add embed sermon url with REST API
-
I’ve been using the REST API to programmatically create sermons.
I looked in https://[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
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Can’t add embed sermon url with REST API’ is closed to new replies.