Get Video link through JSON API

  • Post count: 19
    October 5, 2018 at 8:24 pm #37865

    Dear Adex,

    I have one mobile app for I get the data from wordpress using JSON API Plugin.

    In jnews i can make youtube video in place of featured image, by putting the link in “Video” Tab near post title.

    That youtube link i want in json of the post so that i can show the video in my mobile app.

    By default setting in JSON API, i am not getting the video link. Please help me how to do it.

    Let me know if you need any more info.

    Thank You

    Post count: 11590
    October 8, 2018 at 2:53 pm #37931

    Hi bhaskar_kareng,

    Please try to add this code below to the functions.php file:

    You can check this article for further reading. Let me know if you need further help.

    Thank you

    Post count: 19
    October 10, 2018 at 8:41 pm #38071

    Dear Adex,

    It worked nicely.

    Thanks a lot

    Post count: 2963
    October 11, 2018 at 11:46 am #38089

    Glad to hear that bhaskar_kareng, let me know if you need something else in there.

    Thank you

You must be logged in to reply to this topic.