<?php
$content = file_get_contents('attendance-kiosk.php');
$lines = explode("\n", $content);
foreach ($lines as $i => $line) {
    if (stripos($line, 'video') !== false) {
        echo ($i + 1) . ': ' . trim($line) . "\n";
    }
}
