Vimeo migration
Switching video hosts usually forces theme JS refactoring across carousels and modals.
player.js preserves Vimeo.Player calls and keeps any legacy Vimeo embeds working side-by-side.
Connect CineSKU to PrestaShop (1.6 to 9.1), Shopify, WooCommerce, Magento, Kalizen or headless storefronts. Swap out Vimeo iframes while keeping your existing theme JavaScript intact.
Already calling Vimeo.Player() in your product gallery? Include player.js and point iframes to CineSKU: standard methods and events keep working.
<script src="https://videos.your-store.com/player.js"></script>
<script>
const iframe = document.querySelector('#product .vimeo-player');
const player = new Vimeo.Player(iframe); // or new ZMSPlayer(iframe)
player.play();
player.setQuality('720p');
player.on('ended', () => console.log('Playback finished'));
</script>
GET /api?action=status&reference=SKU-402
X-Api-Key: csk_read_xxxxxxxxx
{
"found": true,
"is_child": false,
"embed_url": "https://videos.your-store.com/embed/products/SKU-402",
"sources": { "1080p": "...", "720p": "...", "480p": "..." },
"thumb": "https://videos.your-store.com/videos/products/SKU-402/thumb.webp"
}
# Dry-run library optimization
php bin/optimize-videos.php --all --dry-run
# Deduplicate + generate 720p/480p + WebP thumbnails
php bin/optimize-videos.php --deduplicate --resolutions --thumbs
# Resync SQLite index after bulk FTP upload
php bin/resync-storage.php
Authenticate via X-Api-Key header with granular least-privilege scopes (read, write, admin).
Checks SKU video availability, resolves parent/child mapping and returns embed + 1080p/720p/480p + WebP.
Lists the full video catalog with disk quotas, child variants and attached tags.
Returns marketing campaigns with Desktop 16:9 and Mobile vertical 9:16 streams.
Exports global dashboard or per-SKU metrics (Desktop vs Mobile, 7d/30d/90d).
Lists physical duplicates spotted via fast_hash and any orphaned child links.
Reads player widget styling, domain allowlists and sliding rate-limit thresholds.
Ingests a new source MP4/WebM video + WebP thumbnail and product tags.
Links child SKUs at 0 MB or merges a group of physical duplicates in one call.
Creates/updates a Desktop+Mobile campaign or applies product tags in bulk.
Triggers FFmpeg transcoding for a SKU or resyncs SQLite after bulk FTP uploads.
Switching video hosts usually forces theme JS refactoring across carousels and modals.
player.js preserves Vimeo.Player calls and keeps any legacy Vimeo embeds working side-by-side.
Manual uploads break down once a catalog exceeds a few hundred SKUs.
Scoped read,write API keys automate batch uploads, tags and child SKU linking.
Dropping hundreds of MP4s over FTP leaves database indexes out of sync.
php bin/resync-storage.php or the Diagnostics sync button indexes everything in seconds.
Drop-in isolated iframe embeds, URL parameters (?autoplay=1&muted=1&quality=auto) or SKU-based API lookups.
Real-time SKU availability check, automated uploads, bulk child linking, campaigns, tags and metrics export.
bin/optimize-videos.php (--dry-run, --deduplicate, --compress, --resolutions, --thumbs) and bin/resync-storage.php.
Seamless admin launch from PrestaShop or Shopify modules via admin.php?api_key=... with pre-auth rate limiting and 302 purge.
Specifications & Practices
The player communicates with your storefront using standard events while validating allowed parent origins.
The storefront immediately receives video duration, dimensions and active ABR tier.
Supports Vimeo.Player calls as well as playVideo / pauseVideo / mute commands.
embed-player.js checks e.source === window.parent and validates e.origin against allowed domains.
Verify scoped API keys and inspect live JSON responses for any SKU right in the admin.
CineSKU integrates into PrestaShop (1.6–9.1), Shopify, WooCommerce, Magento, Kalizen and headless storefronts via a drop-in Vimeo.Player compatible JS SDK (player.js), a scoped JSON REST API (read/write/admin) and batch CLI scripts.
Test CineSKU on your catalog: SKU volume review, storage savings projection and live Vimeo SDK bridge walkthrough.