Bug 988037 - [B2G][Video] WebM videos attached in email do not display p...

...roperly when previewed in email app

Fix handling of video rotation, make it match master branch