Hi,

By default html wraps 5 pixels around any document.
You can fix that with a little html coding.

In regards to your movie you need to go to your publish / export settings and select mask off stage objects