联系支持

我们通过电子邮件回复,通常两天内。

为防止滥用,Google reCAPTCHA 会检查这次提交,其间会向 Google 传输数据。脚本只在此表单打开时才加载。此外,我们自己的表单保护 formconfirmed 也会对其进行检查,且不向第三方传输数据。

Measure native audio examples with Stats4U

关于内容及其审核

本文内容

The test page has two short clips, A and B, that the site owner created, each with native audio controls. A start means the browser begins playback. A full run reaches the normal end without a jump in the clip.

Count one start per run

The browser's playing event can also occur after a pause or buffering. Remember the start locally for each run and skip another start when playback resumes. Use fixed Stats4U names such as audio-a-start and audio-a-complete for clip A, and audio-b-start and audio-b-complete for clip B.

Check the end, seeks and replays

The ended event marks the normal finish. A local flag on seeking distinguishes a jump from an uninterrupted run. Emit one completion only for a run that began and never skipped ahead or back. After the normal finish, deliberately starting again can count as a new run. A media request alone does not establish playback.

Verify with four controls

Start and normal end each count once. Pause and resume do not add another start. Seeking and then reaching the end does not count as a full run. Leaving before the end does not count as a completion. Run these checks on a test page you own with its approved measurement setup.

Report only the event names needed

After the applicable permission is in place, the page passes fixed names to the existing Stats4U counter using s4u.event. Keep media titles, file URLs and playback positions out of event names. The report shows aggregate event counts. Repeat plays can produce several starts. Review starts and full runs separately for A and B.

Try two listening comparisons

The SuperSaw comparison on luky.music plays the same melody with narrow and wide stereo spread. In the beatgrid comparison on clubmix.ai, the two clips share a tempo but put the downbeat in different places. Both pairs make it easy to observe what the browser does when playback starts, pauses, resumes and ends.

References and documentation

广告