top of page

How We Built a Custom Wix Studio Video Player with Velo Code: Lumilinx Agency Case Study

  • Writer: Parallax Web Studio
    Parallax Web Studio
  • Aug 7
  • 3 min read

Updated: 4 days ago

When engineering high-converting B2B agency websites, design precision often bumps into standard CMS limitations. Standard video players usually force a massive play button right in the center of the viewport. If you need a Wix Studio custom video player velo setup, default elements simply won't cut it.


In this case study, we dive into how Parallax Web Studio solved a custom UI challenge for Lumilinx Agency — a US-based marketing agency — by building a custom video control system using Wix Studio and Velo JavaScript.


The Challenge: Breaking Free from Default Video Controls

During the design phase for Lumilinx, the client required a clean, asymmetric hero and feature section. The video needed to feel like an organic part of the layout rather than an embedded third-party element.


Figma layout design for Lumilinx Agency featuring off-center custom video play button and UI triggers
The original Figma layout for Lumilinx Agency featuring off-center custom play triggers (Play Overview 0:59 pill button and floating circular Play button) integrated into the layout.

Key Architectural Requirements:

  • Off-Center Control Placement: The default center play button ruined the visual hierarchy of the hero section.

  • Dual External Triggers: Clicking either the floating action button or the secondary text badge had to trigger the same video.

  • Synchronized State Management: Controls needed to dynamically toggle between Play and Pause states while keeping the underlying video status in perfect sync.


If you're evaluating platform capabilities for complex UI builds, see our guide on Wix Studio for Enterprise Scalability.


See It in Action: Smooth Video Interactivity on the Live Site

Before diving into the code, here is how the custom control logic functions on the published Lumilinx Agency website. Clicking either trigger smoothly toggles playback and updates the UI state without any visual stutter or control delay:


Live interaction preview: Seamlessly toggling play and pause states via external Velo UI triggers on the Lumilinks Agency hero section.

The Solution: Building a Wix Studio Custom Video Player with Velo

Instead of relying on heavy third-party iframe embeds that degrade page load speed, we kept the native Wix Studio video component for optimized rendering.


We disabled native control overlays and handled user interactions through Velo JavaScript.

DOM Element Mapping

Assign semantic IDs to native video elements and custom Figma UI buttons inside Wix Studio.

State Listener

Setup

Attach Velo event handlers (onPlay, onPause, onEnded) directly to the video player engine.

Synchronized UI Toggle

Execute lightweight state flags to seamlessly swap play/pause labels and icons across all custom buttons.

Wix Studio Velo code editor displaying custom video player JavaScript logic and event handlers
Inside the Wix Studio IDE: Wiring event listeners to synchronized UI elements playBtn and secondBtn.

The Conceptual Implementation

Rather than hardcoding click handlers directly to static buttons, we hooked directly into native video player state events (onPlay, onPause, onEnded). This ensures that even if a video is paused externally, the visual buttons update dynamically.


Here is a simplified architectural snippet demonstrating the core event listening structure:

A piece of Wix Studio Velo code

By decoupling UI triggers from the underlying video engine, we achieved 100% control over button animations, custom state labels, and visual feedback without breaking native responsiveness.


Why Custom Engineering Beats Native Constraints

Solving interactive challenges with tailored code yields tangible business benefits:

  • Zero Performance Tax: Native Wix video elements combined with serverless Velo code add negligible JavaScript overhead, maintaining high Google PageSpeed scores.

  • Uncompromised Brand Identity: The agency’s visual signature remains 100% faithful to the approved Figma design.

  • Seamless Mobile UX: Touch targets remain perfectly aligned across desktop, tablet, and mobile breakpoints.


For high-growth brands comparing platform flexibility, explore our detailed breakdown of Headless Wix Studio vs Native CMS Architecture.


Need Custom Velo Engineering for Your Next Build?

Standard CMS templates shouldn't limit your brand's interactive potential. Whether you are building complex B2B platforms, custom video players, or migrating from legacy systems without losing search rankings (check out our B2B Website Migration Guide), our team crafts tailored engineering solutions that scale.


Ready to bring custom functionality to your web project? Explore our full Lumilinx Agency Case or get in touch with Parallax Web Studio today.


bottom of page