Only with php/html you can’t do this, but here’s an example of doing with javascript/jquery:
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<script>
var idleTime = 0;
$(document).ready(function () {
    //Increment the idle time counter every minute.
    if($('iframe').length < 1) // caso não exista iframe vamos incrementar o contador (idleTime) de 1 em 1 minuto
        var idleInterval = setInterval(timerIncrement, 60000); // 1 minutos
    // resetamos o contador caso sejam detetados estes eventos
    $(this).mousemove(function (e) {
        idleTime = 0;
    });
    $(this).keypress(function (e) {
        idleTime = 0;
    });
    $(window).on('scroll', function (e) {
        idleTime = 0;
    });
});
function timerIncrement() {
    idleTime = idleTime + 1;
    if (idleTime > 14) { // 15 minutes
        window.location.reload();
    }
}
</script>
Broken example from here
If there was no need to detect any activity on the page would suffice on head of your html:
<meta http-equiv="refresh" content="900">
Where content is the number of seconds before refresh
							
							
						 
We know if there is video in case there is any iframe on the page?
– Miguel
@Yes, whenever there is an iframe it will be a video, if that was the question :)
– talnun
Yes, I put a way down, but it is with javascript/jquery, only with html/php can not do this.
– Miguel