"group" inside the "oembed" output video;

Support MB Group "group" inside the "oembed" output video;

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4521
    eboss99seboss99s
    Participant

    How to do about echo the "group" inside the "oembed" content, I need to automatically output into Video.
    I do not want the output has become a video URL, I need to be able to directly play video.
    1.set up

    2.Fill in the fields

    3.Output page

    #4528
    Anh TranAnh Tran
    Keymaster

    The group field doesn't auto turn the oembed URL into the video. To do that, you need to use a helper code, like this:

    $url = $group['paragraph_movie'];
    echo RWMB_OEmbed_Field::get_embed( $url );
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘"group" inside the "oembed" output video;’ is closed to new replies.