how to programatically add product video ?
-
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.
Hello,
But you can enable the autoplay option in the video settings.
https://ibb.co/grjY7sX
Best Regards
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
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