This topic has 4 replies, 2 voices, and was last updated 8 years, 5 months ago ago by Eva Kemp
Hi there,
I am trying to set the background of a raw at home page with a youtube video.
1.It does not look good at a mobile. Or it will not load at all.
2.Also is there a way to reduce the risk of increasing page loading time when setting the video background?
thanx
Hello,
1. Concerning the video not displaying on mobile devices please refer to this article:
http://demosthenes.info/blog/777/Create-Fullscreen-HTML5-Page-Background-Video
Displaying the fullscreen background video on mobile devices presents several challenges:
Most mobile platforms (iOS in particular) will refuse to autoplay HTML5 video to avoid potentially ruinous data charges.
In such cases the video will be displayed with an embedded play button, which in turn…
…may capture touches on the device, locking out links that may be in the content on top of the video.
While it is possible to feature-detect support for video autoplay with JavaScript (a technique I will cover in a future article), the easiest solution is to use a media query that switches off the video entirely on smaller screens, substituting the placeholder image in the background.
2. Please take our apologies but there is no such feature.
Regards,
Eva Kemp.
ok thanx
Hello,
You’re welcome.
Regards,
Eva Kemp.
The issue related to '‘youtube video for raw background’' has been successfully resolved, and the topic is now closed for further responses