I have embed an HTML5 video in the header in a module titled 'Video'. This is set to automatically play and loop when you are using the website. However, every time you click on a link to open a new page, this module reloads. It takes a second to reappear and it restarts from the beginning. Is there a way to make it so the HTML5 video does not reload when a new page is opened and instead just carries on playing?
Here is the code that I have used:
<video style="margin-right: auto; margin-left: auto; display: block;" src="images/sample_sped_002.mp4" autoplay="autoplay" loop="loop" muted="true"></video>