Home>Support>Video Widget Questions: Controls on mobile devices and Looping

Video Widget Questions: Controls on mobile devices and Looping

Hi Siteorigin,

Mobile Controls: I’m setting up a SiteOrigin Video Player on a SiteOrigin tab (the premium version) with the video set to autoplay. Everything works fine on standard browsers (Chrome, Firefox, & Edge) — the video autostarts and the controls then get set to opacity 0 — but on an Android mobile device running Chrome, the video autostarts, but the controls never fade (the opacity is never set on the tag according to the Chrome Android emulator).

My video is short (under 2meg) and there is no audio channel.

Is there a way to get the controls to fade out on mobile devices?

Looping: I figured out I can get my video to loop by adding a

'loop' => ''
line to the
$video_args = array
in the default.php file, but is there an official way to set a video to loop? I don’t like editing files as I’d have to make the edit every time there’s an update.

Thanks,
Rich

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 6 years, 4 months ago Alex S
    Hi, I Work Here

    Hi Rich,

    There’s no direct way to set the video to loop without editing the file. I would consider using the Video Shortcode instead as it’ll give you slightly more control to allow for what you’re after.

    Is there a way to get the controls to fade out on mobile devices?

    You can do this with some custom CSS. If you navigate to AppearanceCustom CSS, you’ll get our custom CSS editor. Add the following CSS:

    @media (max-width: 680px) {
    	.mejs-controls {
    		display: none !important;
    	}
    }
    

    You might also need to install the SiteOrigin CSS Editor.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More