TAKE 30% OFF YOUR ORDER TODAY WITH COUPON CODE: JSTRONG

Community Forum

Welcome to our user to user community. If you need support for a product, please open a support ticket.

Keyword

Topic-icon YouTube Background on mobile/tablet

  • cirymarr
  • cirymarr's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 months 2 weeks ago #368 by cirymarr
Hi
Is it possible to have the YouTube background also displaying on mobile/tablet displays?

Please Log in or Create an account to join the conversation.

More
2 months 1 week ago #380 by jayblaq
No youtube videos do not work on mobile. As an alternative you could try a HTML5 MP4 video instead. You would need to add this code to the layout.php found in templates/logistix/layouts/default/layout.php right after the body div

<video playsinline autoplay muted loop id="bgvid">
<source src="<?php echo $xtc->templateUrl; ?>/images/backgrounds/YOURVIDEO.mp4" type="video/mp4">
</video>


and then add the mp4 video to templates/yourtemplate/images/backgrounds/

We added background video support in our latest version of our framework in the new IAMUX template. Before making these changes you might want to check if the videos work on your device here:

demo.joomlaxtc.com/iamux

Please Log in or Create an account to join the conversation.