Bug: Responsive embed code broken

Bug: Responsive embed code broken
 02-25-2019
0 Comments 
New

Found a new bug in the generated embed code. Earlier (some weeks ago), I got this embed code right after the src-link when I turned on "Responsive":

 

frameborder="0"

 

Example:

<div style='position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;'><iframe width="640" height="360" src="https://web.microsoftstream.com/embed/video/b04ec33a-e5bb-48bc-9dcb-ff0f0a7c8033?autoplay=false&showinfo=false" frameborder="0" allowfullscreen style='position: absolute; top: 0; left: 0; right: 0; bottom: 0; height: 100%; max-width: 100%;'></iframe></div></div>

Now I get this instead:

 

style="border:none;"

 

Example:

<div style='max-width: 640px'><div style='position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;'><iframe width="640" height="360" src="https://web.microsoftstream.com/embed/video/42fb0e34-4da7-4eab-9ebf-f3a004884baa?autoplay=false&showinfo=true" style="border:none;" allowfullscreen style='position: absolute; top: 0; left: 0; right: 0; bottom: 0; height: 100%; max-width: 100%;'></iframe></div></div>

And it doesn't work. I have tested in Confluence with Chrome browser. The video doesn't scale dynamically. When I change the code back to frameborder="0", it works as intended.

0 Upvote
Comment
Similar Ideas
No similar ideas