Jump to content

Embedded video not appearing on Mobile (iOS - all browsers)

Recommended Posts

Site URL: https://www.michaelbrooks.design/home/haloinfinite

I've got some videos on this project page that are playing perfectly on desktop but for some reason all the square ones are refusing to even be embedded on mobile, like they don't even appear to highlight unless I add the controls tag (to which it then shows an empty video box but the controls for it), it just fills the area with white space.

This is the code I'm using for them: 

<center>
<video autoplay loop muted playsinline width="100%">
<source src="https://static1.squarespace.com/static/626c1bc09700b83d88ff1679/t/627bd72879011612c578f3d6/1652283180325/HaloInfinite_Page_6.mp4" type="video/mp4" />
    Sorry, your browser doesn't support embedded videos.
</video>
</center>

I have the videos added to the site through the CSS custom files.

Anyone got any ideas as to why this wouldn't be working?

Link to comment
  • Replies 2
  • Views 439
  • Created
  • Last Reply

Top Posters In This Topic

On 5/12/2022 at 12:06 AM, MichaelBrooks said:

Site URL: https://www.michaelbrooks.design/home/haloinfinite

I've got some videos on this project page that are playing perfectly on desktop but for some reason all the square ones are refusing to even be embedded on mobile, like they don't even appear to highlight unless I add the controls tag (to which it then shows an empty video box but the controls for it), it just fills the area with white space.

This is the code I'm using for them: 

<center>
<video autoplay loop muted playsinline width="100%">
<source src="https://static1.squarespace.com/static/626c1bc09700b83d88ff1679/t/627bd72879011612c578f3d6/1652283180325/HaloInfinite_Page_6.mp4" type="video/mp4" />
    Sorry, your browser doesn't support embedded videos.
</video>
</center>

I have the videos added to the site through the CSS custom files.

Anyone got any ideas as to why this wouldn't be working?

Can you share the direct link to this page so I can take a look?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.