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

how to programatically add product video ?

Viewing 4 posts - 1 through 4 (of 4 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

    #599099

    Hello,

    Unfortunately, complicated customization is required to make it work, which is out of our basic support.

    Thanks for understanding our limitations. Let me know if you have any questions.

    Best Regards

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