css - clip-path on YouTube iframe -


i trying make polygon clip-path work on youtube iframe. works on chrome , safari before video played (but not after), , not @ on firefox. have no idea why happening , have not found examples of clip-path working on youtube iframe.

<iframe width="320" height="256" src="https://www.youtube.com/embed/zkesoubvqds" style=" -webkit-clip-path: polygon(0 25%, 100% 16%, 100% 89%, 0 64%); clip-path: polygon(0 25%, 100% 16%, 100% 89%, 0 64%);`" frameborder="0"></iframe> 

jsfiddle


Comments

Popular posts from this blog

java - Could not locate OpenAL library -

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

sorting - opencl Bitonic sort with 64 bits keys -