Single_Product_Video
Class Single_Product_Video
Source
File: includes/modules/woocommerce_booster/views/single_product_video.php
Expand full source code Collapse full source code View on Github
Methods
- add_gallery_classes — Add classes to the gallery.
- add_video_thumbnail_to_placeholder — Add video thumbnail as placeholder when we have a video but not a product image.
- get_iframe — Get the video iframe.
- get_video_gallery_thumbnail — Gets the standard gallery image.
- get_video_thumbnail — Get thumbnail for the video url.
- get_video_url — Get the video URL from the meta field.
- get_vimeo_thumbnail — Get vimeo thumbnail.
- get_youtube_thumbnail — Get YouTube thumbnail.
- init — Initialize the module.
- register_hooks — Register submodule hooks
- replace_featured_image — Replaces featured image with video