Tagged: mobile device, sliders, video
-
AuthorPosts
-
June 2, 2017 at 3:54 pm #803073
Hi Support Team
I now that default is for mobile device only a pictures allowed, but the times are change an in the time with 4G there sould be possivel to switch also to video sliders for mobile device. Is there any solution possible? Maybe some code changes…..
All the best, Pascal
- This topic was modified 7 years, 5 months ago by Amigs.
June 2, 2017 at 4:20 pm #803087Hey Pascal,
Unfortunately this is an individual device function. They won’t autoplay videos without user interaction. As web developers there is not much we can do for this, but perhaps speaking with and iOS or Android dev would be more appropriate. They would have a better insight into the workarounds of the device hardware.
Best regards,
Jordan ShannonJune 3, 2017 at 11:40 am #803349Hi Jordan
I understand. Maybe one solution is to create some spcial content with color-section,,with the video from the slider, who i show only on mobile?
All the best,
PascalJune 4, 2017 at 3:09 pm #803604Hi Pascal,
You could try to do that. and test if that works.
If you need further assistance please let us know.
Best regards,
VictoriaJune 6, 2017 at 10:25 am #804426Ni Victoria
Thank you for your answer, so could you help me. I would like to have color-section just for moble devce. How i made this:
1. Post: https://reneechabot.com/fix-foto-london-2/
2. Color Section ID video-londonI try:
.fullsize .content .entry-content-wrapper {
#video-londont{
display:none !important;
}
}But it does not work.
All the best, Pascal
- This reply was modified 7 years, 5 months ago by Amigs.
June 6, 2017 at 4:04 pm #804547Hi,
Are you looking for auto-play on mobile?
Best regards,
Jordan ShannonJune 7, 2017 at 10:52 am #805007Hi Jordan
Yes, but i think it is not possible for mobile? So i will show some extra content for mobile in color-section, but i only would show the color section on mobile. That was my question.All the best,
PascalJune 7, 2017 at 2:58 pm #805097Hi,
Oh I see yes this can be done. You can create a color section for mobile and give it a specific id so that you can show it on mobile via css. You would also want to add a specific id to the desktop section so it hides on mobile. Please view this document to see how to add the custom classes to the element:
An example of this css would be something like this:
@media only screen and (min-width: 769px) { .only-mobile { display: none !important; }} @media only screen and (max-width: 769px) { .only-desktop { display: none !important; }}
Best regards,
Jordan ShannonJune 7, 2017 at 4:22 pm #805137Hi Jordan
Sounds good, so i installed like your description, but it does not work. Hmmm what did i wrong? https://reneechabot.com/fix-foto-london-2/
And 2. question, could use the only-mobile and only-desktop and differnts post?
All the best, PascalJune 7, 2017 at 4:35 pm #805146Hi,
What do you mean by different posts?
Best regards,
Jordan ShannonJune 7, 2017 at 5:12 pm #805184Hi Jordan
Multiple post, and pages with the same color sections (only-desktop and only-mobile).
All the best,
PascalPS: Sorry for my stupid englisch, i leaving in Switzerland (swiss german part)
June 7, 2017 at 8:36 pm #805269Hi,
Yes you can save a template to re-use if thats what you mean.
Best regards,
Jordan ShannonJune 8, 2017 at 12:21 pm #805545Hi Jordan
I did it like your post:
@media only screen and (min-width: 769px) { .only-mobile { display: none !important; }} @media only screen and (max-width: 769px) { .only-desktop { display: none !important; }}
but it does not work on https://reneechabot.com/fix-foto-london-2/. Both color section apear.
All the best,
PascalJune 8, 2017 at 3:25 pm #805603Hi,
Please provide admin info so I can log in and look into this further.
Best regards,
Jordan ShannonJune 8, 2017 at 5:26 pm #805674Hi Jordan
Here we are (see privat)
All the best,
PascalJune 8, 2017 at 5:47 pm #805683Hi,
You just needed to change the classes to ids. Please see the adjustment I made:
@media only screen and (min-width: 769px) { #only-mobile { display: none !important; }} @media only screen and (max-width: 769px) { #only-desktop { display: none !important; }}
Best regards,
Jordan Shannon -
AuthorPosts
- You must be logged in to reply to this topic.