support autoplay option in canvas; fix url absolution