PhotoDune

Making Video Embeds have round corners?

69 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 2-3 years
  • United States
AaronMarquez says

Hello All, For the past few months I’ve been searching to see if it’s possible to make a video embed have round corners. For images it’s usually something like border-radius: 4px; etc, but this doesn’t work for video embeds, at least that I’ve found.

So is there anyone that knows a way to make video embeds have round corners? Like Vimeo, Youtube, etc? I’ve seen it done but can’t find the code in their source code to see how they did it. Is there anyway to do this with code/jQuery only, not using white gifs?

Look forward to seeing what you guys have found/think.

177 posts
  • Author had a Free File of the Month
  • Bought between 10 and 49 items
  • Contributed a Blog Post
  • Exclusive Author
  • Has been a member for 2-3 years
  • Netherlands
  • Sold between 1 000 and 5 000 dollars
kvendrik says

Try this.

69 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 2-3 years
  • United States
AaronMarquez says

Thanks. I was hoping there was some method of doing it via jQuery, maybe more efficiently and cross-browser wise. The .svg thing is a no go.

If you guys run into anything else I’d appreciate it.

69 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 2-3 years
  • United States
AaronMarquez says

If you go to powermarketing.net and click on one of the pages, like marketing fulfillment, you’ll see the video embed is rounded and smoothly. MAybe you can see the code they used?

177 posts
  • Author had a Free File of the Month
  • Bought between 10 and 49 items
  • Contributed a Blog Post
  • Exclusive Author
  • Has been a member for 2-3 years
  • Netherlands
  • Sold between 1 000 and 5 000 dollars
kvendrik says

If you go to powermarketing.net and click on one of the pages, like marketing fulfillment, you’ll see the video embed is rounded and smoothly. MAybe you can see the code they used?

I will look into it for you. Would you mind checking your email? I still have an unpaid invoice for freelance work I did for you. Thanks,

69 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 2-3 years
  • United States
AaronMarquez says


If you go to powermarketing.net and click on one of the pages, like marketing fulfillment, you’ll see the video embed is rounded and smoothly. MAybe you can see the code they used?
I will look into it for you. Would you mind checking your email? I still have an unpaid invoice for freelance work I did for you. Thanks,
Yeah did, dont know why you are bringing an private matter to the public …
69 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 2-3 years
  • United States
AaronMarquez says

Any updates on this?

40 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 2-3 years
  • Sold between 1 000 and 5 000 dollars
  • United Kingdom
oscardog says

Here you go: http://jsfiddle.net/jRwa4/.

Remember to add ?wmode=opaque to the embed code, I don’t know if Vimeo etc. support it but it works on YouTube :)

Unrelated note: chosen example is awesome.

69 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 2-3 years
  • United States
AaronMarquez says

Thanks Oscardog! Works for me.

by
by
by
by
by