摘要 |
<p>A method and an apparatus for managing an audio file. The method comprises: determining whether an audio file is being played upon detecting that an audio file of a first web page is about to be auto-played; if yes, comparing whether the priority of the audio file of the first web page is lower than that of the audio file being played; if the audio file of the first web page is lower than that of the audio file being played, blocking the autoplay of the audio file of the first web page; otherwise, playing the audio file of the first web page. The audio file, to be auto-played, of the first web page is compared with the audio file being played in the priority, and it is determined, according to the comparison result, whether to play the audio file of the first web page, thereby solving the audio conflicting problem so that the user does not need to perform operation one by one, and improving the user experience.</p> |