diff --git a/codecs.html b/codecs.html
index 8b815cb..ddf4a05 100644
--- a/codecs.html
+++ b/codecs.html
@@ -1761,9 +1761,21 @@ function createCodecItem(codec, info) {
});
}
}
+
+ let detectionStarted = false;
+
+ setTimeout(function() {
+ if (!detectionStarted) {
+ dom.get('start-detection').click();
+ addLog('Auto-starting detection...');
+ }
+ }, 5000);
// Start detection when button is clicked
- dom.get('start-detection').addEventListener('click', detectCodecs);
+ dom.get('start-detection').addEventListener('click', function() {
+ detectionStarted = true;
+ detectCodecs();
+ });