Home Forums WoodMart support forum how to programatically add product video ?

how to programatically add product video ?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #598953

    qtwrk555
    Participant

    Hi,

    I am talking about this part

    how can I programmatically set it to a youtube URL, set it to auto play ?

    I tried to manually run product metakey/value update on it like

    update_post_meta($product_id, 'woodmart_wc_video_gallery', $data);

    but seems not working.

    Attachments:
    You must be logged in to view attached files.
    #599060

    Hello,

    But you can enable the autoplay option in the video settings.
    https://ibb.co/grjY7sX

    Best Regards

    #599062

    qtwrk555
    Participant

    huh? I am not asking for autoplay , I mean how do I use PHP script to set a product with video ?

    instead of going through product editor

Viewing 3 posts - 1 through 3 (of 3 total)