Report phone playback metadata once per browser session
This commit is contained in:
@@ -2952,6 +2952,7 @@ function wirePlayerEvents() {
|
||||
});
|
||||
el.addEventListener('playing', () => {
|
||||
if (!masterIs(el)) return;
|
||||
if (WEB && current?.meta) window.ServerBackfill?.report(current.meta);
|
||||
if (performance.getEntriesByName('ytp:tap').length) {
|
||||
perfMeasure('ytp:tap-to-play', 'ytp:tap');
|
||||
try { performance.clearMarks('ytp:tap'); } catch { /* ignore */ }
|
||||
|
||||
Reference in New Issue
Block a user