When later on in the code there is a width / height division, it can potentially fail by Division By Zero if these haven't been defined or are actually set to 0.
Fix prevents that.
Thanks! I will merge this into the branch as soon as I solved the another issue with MediaEmbed on getgrav.org/forum . Until then I will keep it open as a gentle reminder for me.
When later on in the code there is a
width / height
division, it can potentially fail by Division By Zero if these haven't been defined or are actually set to 0. Fix prevents that.