Support › Forums › Gris – HTML Template › Background video is blank on mobile Chrome and Safari, crops in Firefox
- This topic has 7 replies, 3 voices, and was last updated 5 years, 3 months ago by
CreaboxThemes.
-
AuthorPosts
-
August 6, 2017 at 11:39 am #5762
Shaman Xanti
ParticipantAny FAQ-solutions to that?
August 7, 2017 at 7:24 am #5764CreaboxThemes
KeymasterHi,
everything is explained in the documentation. The video scripts have a lot of problems in mobile and tablet devices. In this cases, the template changes the video by an image. The class ‘.poster-image’ is added to the body. If you don’t want this feature, you have to use the files video2.js (in index_video.html), video_youtube2.js (in index_video2.html) or video_vimeo2.js (in index_video3.html).
If you want to change the class ‘.poster-image’, you have to edit the file style.css:
... .poster-image { background:url('http://placehold.it/1280x720'); ...
Regards
February 21, 2018 at 11:04 pm #5993Newcomsas
ParticipantHello, your answer is rather ambiguous.
Could you confirm that no matter what a developer does, it is not possible to visualize a YouTube video on a mobile device ?
When you say that you have to edit the line
background:url('http://placehold.it/1280x720');
you are simply meaning that you have to insert there the name of an IMAGE ? Is that right ?
If that is true this is a huge limitation. It should be possible to link, at least, the You Tube video and redirect the user to the YouTube video page. Is there a way to do it ?
February 22, 2018 at 7:40 am #5994CreaboxThemes
KeymasterHi,
with the library used in the theme, it could have problems in some mobile devices. The problem exactly is that the video doesn’t play automatically. But it loads correctly with the play button. If you want, you can try to change that and check if it works correctly in your mobile device.
About the image in the attribute background, yes, you have to replace the link ‘http://placehold.it/1280×720’ by the image you want.
About the link to the Youtube video page, it could be possible. When the video background is loaded in a mobile device and it doesn’t work, the video will not played automatically, but you will be able to view the play button and the link to the video page.
Regards
February 22, 2018 at 9:37 am #5995Newcomsas
ParticipantThe problem exactly is that the video doesn’t play automatically. But it loads correctly with the play button. If you want, you can try to change that and check if it works correctly in your mobile device.
I would definetely like to try out this functionality. I have no idea of how to do it though. Could you tell me which are exactly the modifications to your code that I have to perform ? To be more precise: to me it is more than enough if the video compares with a play button in mobile devices. The problem is that, at the moment, only a static image is visualized.
Thank youFebruary 23, 2018 at 7:41 am #5996CreaboxThemes
KeymasterDon’t worry about the changes. I can make them for you. Please, create a new user in your admin panel to change and check the plugin. I have done this with other users, so you can trust me.
Regards
February 23, 2018 at 9:32 am #5997Newcomsas
ParticipantPlease, create a new user in your admin panel
We are hosting the website, together with dozens of others, on our own Windows 2012 server so I cannot give you the credentials. I can anyway send you via email (or any other mean) the website (it’s entirely static so it is extremely simple). Could you tell me how I can send you the files ? TIA
February 23, 2018 at 10:17 pm #5999CreaboxThemes
KeymasterHi,
I will make the changes and I will send you the files modified.
Regards
-
AuthorPosts
- You must be logged in to reply to this topic.