Hi,
Except img tag, you need to use video tag. Example:
<video controls
muted
src="<%# GetFileUrl("Image") %>"
width="300"
height="200">
</video>
Maybe you need to add a condition in your transformation to understand what type of asset it is and (image or video) and render a specific HTML markup for this asset.