Jump to content

Video Loop

Recommended Posts

Site URL: https://www.forgottenparts.inc

Hello, 

 

I'm having a hard time with getting my videos to keep looping on my website page. Here is the code that I have, any suggestions?

 

Thank you!

 

    <video autoplay="autoplay" "loop=true" style="width: 100%" controlsList="nodownload"
  src="https://static1.squarespace.com/static/62ebc29e65b64e406b23c9d5/t/62fb2477c3c4313129738663/1660626044370/082098029-logging-truck-sunset_H264HD1080-2+%28online-video-cutter.com%29.mp4"&loop=1&autoplay=1&muted=1>
    <source type="video/mp4" >
  <body oncontextmenu="return false;">
</video>
 

Link to comment
  • Replies 1
  • Views 235
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Try this new code

<video autoplay loop style="width: 100%" controlsList="nodownload"
  src="https://static1.squarespace.com/static/62ebc29e65b64e406b23c9d5/t/62fb2477c3c4313129738663/1660626044370/082098029-logging-truck-sunset_H264HD1080-2+%28online-video-cutter.com%29.mp4"&loop=1&autoplay=1&muted=1>
    <source type="video/mp4" >
  <body oncontextmenu="return false;">
</video>

Reference: https://www.w3schools.com/tags/att_video_loop.asp

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (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.