"Encountering difficulties with certain images not loading in the keyframe slide show feature on IOS

Ensure that the image in the slide show is preloaded, followed by preloading each additional image before transitioning to the next key frame. Finally, preload the original image for the final display. I even attempted changing the last image, but encountered no errors in the console.


#slideShow{
  overflow-x:hidden;
  background-attachment: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  width:100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-animation: webkit-slideShow 30s 0.1s linear infinite;
  -moz-animation: moz-slideShow 30s 0.1s linear infinite;
  -o-animation: o-slideShow 30s 0.1s linear infinite;
  -ms-animation: ms-slideShow 30s 0.1s linear infinite;
  animation: slideShow 30s 0.1s linear infinite;
  animation-timing-function: ease-in-out;
  background-image: url("../img/s2ks-054.png");
  
  }
  @keyframes slideShow{
    ...animation properties...
  }
  @-ms-keyframes slideShow{
     ...animation properties...
  }

  @-webkit-keyframes webkit-slideShow{
      ...animation properties...
    }

    @-moz-keyframes moz-slideShow{
      ...animation properties...
    }

    @-o-keyframes o-slideShow{
      ....animation properties...
    }

then in the html I have:

  <div id="slideShow">
header body footer etc
  </div>

This setup functions correctly on desktop and laptop browsers, except for iOS Safari.

Answer №1

  1. After removing the unnecessary background-size: cover;
  2. I included a second preload for background-image:url in the #slideshow like this:
    background-image: url("../img/s2ks-054.png");
  3. Successfully tested (on safari) 4)had to insert
    body { background-size: cover; background-repeat: no-repeat; background-position: center center; background-image: url(../img/work/4.jpg); } 

Also added to the body.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Experience a seamless transition as the background gently fades in and out alongside the captivating text carousel

I have a concept that involves three background images transitioning in and out every 5 seconds. Additionally, I am utilizing the native bootstrap carousel feature to slide text in synchronization with the changing background images. Solving the Issue ...

Tips for resizing the background image within a DIV element

HTML: <div class="navImageLinks"> <div id="fp" class="mainImageNav floatLeft fp"> <img src="../theImages/FindaProvider_icon.png" width="20" height="20" style="vertical-align: middle;" /> Find a Provider </div> & ...

What is the most concise way to align one table row in the middle and another at the top?

Is there a way to align different rows in a table vertically with minimal code? I have a table with 3 rows, and I want the first two rows to be aligned vertically to the top, while the third row should be vertically aligned to the middle. If I try to def ...

GWT-dropdown design

I decided to explore the SuggestBox in GWT, so I experimented with the code provided on this website. However, I am unsure of how to connect the style with the SuggestBox. I am utilizing uiBinder... And in the class, I have included the line of code: ac ...

The resource was treated as an image but sent with the MIME type application/octet-stream

Upon accessing my webpage, a warning message is displayed: Resource interpreted as Image but transferred with MIME type application/octet-stream The images on my page are in JPEG format. The server writes the image bytes to an output stream and sends it ...

What is the best way to ensure the default style is applied when validating?

input { background: white; color: white; } input:in-range { background: green; color: white; } input:out-of-range { background: red; color: white; } <h3> CSS range validation </h3> Enter your age <input type="number" min="1" max= ...

Aligning characters according to Unicode standards

I'm looking to showcase a Unicode character at the center of a button. Below is the code snippet: <div class="col-xs-1"> <button class="btn btn-tool"> <span></span> </button> </div> span:before { ...

The font fails to load

I've hit a roadblock with this issue. I'm attempting to add a custom font to my project. The CSS file can be found in the directory project/css/. The font is located at project/fonts/iconfont/. In that folder, I have the following font files (alt ...

Ensure that the CSS grid has a minimum span of 3 columns, and if a class object is the only item in a grid row, it

I am currently utilizing CSS grid to create the layout for my web application. I need to specify that a particular class should have a minimum grid-column span of 3 frames and extend across the entire grid row if it is the only object in that specific row. ...

Overflow of Div Content

I need a way to showcase a collection of around 30 links in a horizontal layout without the links wrapping to a new line if they exceed the width of the parent container. A horizontal scroll should appear for users to navigate through the overflowing links ...

Tips for implementing jquery to add a class to a div element when right-clicking

Click Actions $(document).ready(function(){ $( "div" ).click(function() { $( this ).toggleClass( "class-one" ); //alert('left click'); }); }); Mouse Clicks $(document).ready(function(){ $( "div" ).click(function() { ...

I'm curious, what height would be most suitable for a first impression?

I'm in the process of building a website and I want to ensure that all elements are visible within the div without requiring users to scroll. However, I know that screen resolutions vary between computers. What can I do to address this issue? Is ther ...

Is there a different option for narrating over a Core Plot graph?

My application includes a graph view for presenting statistical data. I am curious if anyone has successfully implemented voice over functionality with core plot. How can I make this graph view accessible for visually impaired users? For instance, is ther ...

JavaScript Age confirmation Overlay

I designed an age verification popup with the help of some online tutorials and a friend due to my limited knowledge of JavaScript. Check it out live here- My issue is that I want this popup to load/appear after the page content loads, but I'm not s ...

Is there a way to adjust the transparency of the reflection while utilizing the -webkit-box-reflect property?

Exploring the capabilities of the -webkit-box-reflect property in Chrome has proven to be quite interesting. By utilizing the code snippet provided below (taken directly from the Webkit blog), I have been able to achieve a fading reflection effect: -webki ...

What specific issue is leading to this type of exception: absence of zip END header?

I recently started learning Flutter, and despite having a good programming background, I am facing a challenge that I can't seem to figure out. When I run my first app (a simple counter app) on Google Chrome, it works perfectly fine. However, when I t ...

Scrolling to does not function properly with Material UI tabs

Looking for a solution to scroll to a specific div when clicking on a tab in Material UI Tabs using UseRef and ScrollTo. Check out the sandbox link here: https://codesandbox.io/s/exciting-sound-mrw2v Currently, when I click on Tab 2, I expect it to autom ...

The helptext in Bootstrap4 input-group does not appear in a block format

I recently encountered an issue on my Bootstrap 4 page where adding help text to a single input control resulted in it appearing on the same line, rather than directly beneath the control as expected. Upon investigating, I believe the problem lies within ...

Toggle between list elements using the inner text of the elements with jQuery

My issue lies in figuring out why my filter function isn't properly working for toggling li elements. JavaScript: $("#searchbox1").on("keyup", function() { var value = $(this).val().toLowerCase(); $("#menulist li") ...

having difficulty implementing the blur effect in reactJS

Currently, I am working on developing a login page for my project. Below is the code snippet I have implemented for the functionality: import React, { useState, createRef } from "react"; import { Spinner } from "react-bootstrap"; import ...