Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
pearler1570048501

Vimeo Embed Rounded Corners on Mobile

Question

Site URL: https://alvin-dela-cruz.squarespace.com/portfolio

I've managed to get rounded corners on the Vimeo video embed on desktop, however it's not carrying over on mobile. Any ideas?

Screenshot: https://share.getcloudapp.com/5zuXvb8m   

<div style="padding:56.34% 0 0 0;position:relative;"><iframe src="https://player.vimeo.com/video/435605030?background=1?autoplay=1&?muted=1loop=1&?color=fff4eb&title=0&byline=0&portrait=0" style="border-radius:30px!important;border:1px solid #242424;position:absolute;top:0;left:0;width:100%;height:100%;" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe></div><script src="https://player.vimeo.com/api/player.js"></script>

 

Safari 2.PNG

Share this post


Link to post

2 answers to this question

Recommended Posts

Create an account or sign in to comment

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


×
×
  • Create New...