Embeded videos with options

The following code does exactly what I want:

<video src="file:///path/to/video.mp4" autoplay loop muted></video>

The problem is it doesn’t support relative links.

I’d like to know if there is anyway to control embeded videos natively, without plugins like Media Extended:

![video](video.mp4){.video autoplay loop muted}

Some wikilink like:

![[video.mp4 | autoplay loop muted]]