| 开发者 | epoxtech |
|---|---|
| 更新时间 | 2026年12月2日 20:05 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
gallery-slider-for-woocommerce, formerly WooGallery).[epox_3d]
shortcode (or the "Epox 3D viewer" block) shows it on the product page with camera controls
and AR — Quick Look on iPhone/iPad, Scene Viewer on Android, WebXR elsewhere. The viewer is
Google's model-viewer, bundled with this plugin (no third-party CDN); the 3D file loads only
when the shopper interacts, behind a poster image, in a fixed-size box so the page never jumps.
Source of the bundled viewer: https://github.com/google/model-viewer (release v4.4.0); its mesh
decoder: https://github.com/zeux/meshoptimizer (release v1.1.1).[epox_configurator display="gallery"], or turn the automatic button off with the
epox_configurator_gallery_button filter.wp-content/plugins/.No. The plugin registers its routes with WooCommerce's own authentication, so the consumer key and secret you already gave Epox authorise these endpoints too.
The API key's user must be able to edit products (shop manager or administrator, with a Read/Write key). Every request is also checked against the specific product being changed.
Probably, and if not it is one filter away. The plugin writes the video URL to its own
_epox_video_url field plus a configurable list of third-party keys — wcgs_video and
_product_video_url by default. To target a different key, add to the
epox_video_meta_keys filter or set the epox_video_meta_keys option.
wcgs_video is not a guess: it is the exact key "WooCommerce Gallery Slider" reads off the
gallery image's own attachment (get_post_meta( $image_id, 'wcgs_video', true )), confirmed
against that plugin's real source.
Either. Send video_url (a string) to point at an already-hosted video — nothing is
downloaded, the URL is written to your gallery plugin's meta as-is. Send video (an object
with a url) to have this plugin import the video file itself into your media library, the
same way it imports images, then write that attachment's own URL as the meta value. The
two are mutually exclusive on one media item.
No. Removal only ever deletes files this plugin imported; anything you uploaded yourself is detached from the product but left in your media library.
Only over HTTPS, and only from public hosts — WordPress's own URL safety checks apply. To
restrict it further to specific hostnames, use the epox_allowed_media_hosts filter.
Publish the model from Epox (product → 3D → "Publish 3D to store"), then place [epox_3d] in the
product description or a template, or add the "Epox 3D viewer" block. It renders nothing on a
product without a published model. Attributes: product_id (defaults to the current product),
ar (yes/no, default yes) and aspect (box ratio, default 1/1). Epox stores the model's
public URL on the product as _epox_3d_glb_url (plus _epox_3d_poster_url, _epox_3d_alt and
_epox_3d_version); the file itself stays on the Epox CDN — nothing is added to your media library.
Only after Epox configures the store's Try-On bridge with an order-signing key: when an order is created or changes status, the store's server sends Epox the order id, status, currency, total, dates and, per line, the product/variation id, quantity and line total. No customer name, email, address, IP or payment detail is ever sent. Epox uses it only to report how many orders followed a shopper viewing a product in 3D. Requests are signed (HMAC-SHA256) and sent in the background via Action Scheduler. Epox's privacy policy: https://epox.ai/privacy
epox_configurator_gallery_button filter), or with [epox_configurator display="gallery"].[epox_3d] shortcode and "Epox 3D viewer" block — the product's published Epox 3D model
with AR, rendered by a bundled, pinned copy of Google model-viewer 4.4.0 (Apache-2.0; see
THIRD_PARTY_NOTICES.txt). The model loads on interaction behind a poster, in a reserved box.
Epox models are meshopt-compressed; the meshoptimizer 1.1.1 decoder (MIT) is bundled for them.GET /wp-json/epox/v1/status advertises the product_model capability, so Epox only offers
"Publish 3D to store" on stores that can render it.app.epox.ai,
platform.epox.ai) as its issuer. Previously any API key able to edit products could point
the storefront's Try-On loader script at an arbitrary host. Developers testing against another
Epox origin can add it with the epox_tryon_allowed_issuer_hosts filter from code.epox_tryon_enabled, yes or no). [epox_tryon] is opt-in and renders
only when epox_tryon_enabled is yes, so products marked no or not yet opted in never make a
permit request — and your theme can read the same value to adjust the page. Epox still checks its
own policy on every shopper request.GET /wp-json/epox/v1/tryon-bridge status endpoint (issuer origin and
staleness, never the credential), so Epox can detect a Try-On bridge this store no longer holds,
has retired as permanently rejected, or that points at a different Epox environment — and repair
it automatically when your Try-On settings page loads, instead of waiting for a shopper's
request to fail first. In particular, reinstalling this plugin no longer needs a manual
re-save in Epox: the bridge re-provisions itself on the next settings load.[epox_tryon] renders nothing
until Epox reconfigures it (re-enable Try-On in your workspace), rather than showing shoppers
an error only you can fix.WP_DEBUG, so a broken
Try-On install can be diagnosed from the store instead of guessing at a generic 503.[epox_tryon] now forwards specific "widget disabled" / "out of try-on credits" errors from
the platform instead of collapsing every failure into a generic unavailable message — lets the
storefront loader hide the widget silently in those expected cases rather than showing an error.[epox_tryon] shortcode. Place it anywhere — product description, a text widget,
a page builder's shortcode block — and it renders the storefront widget itself; the workspace's
publishable widget key is stored server-side at enable-time and never needs to be copied.media-detach with delete_files now also removes the video file an imported thumbnail
points at. Previously only the thumbnail itself was deleted, orphaning the raw video
attachment in the media library on every video removal.media-sync items accept a video object (in addition to the existing video_url
string) to import the video file itself into the media library — not just reference an
already-hosted URL — then write the imported attachment's own URL as the video meta.
Idempotent and rolled back atomically along with its thumbnail, same as everything else.
New video_upload capability reported by status.status, media-sync and media-detach endpoints, idempotent media
import, atomic rollback, video metadata bridging and variation image assignment.