Can a theme play a video as collection image on mouse hover?

Is there a theme that allows video to be assigned instead of a collection image and play it upon mouse hover?

@Digilite ,

Send your store URL.

Hello,

We’re also looking to do this using impluse theme. We use a video as our second image but currently it just shows a still of that video. We want that actual video to show on hover instead.

{%- if settings.product_hover_image and product.media.size > 1 -%}
          {%- for media in product.media offset: 1 limit: 1 -%}
            {%- assign second_image = media -%}
          {%- endfor -%}
          
          
            {%- assign img_url = second_image | img_url: '1x1' | replace: '_1x1.', '_{width}x.' -%}
            
            
               

        {%- endif -%}