Chapter 3: example 6
Dimensions on load:
.
Dimensions after loadedmetadata:
.