Home > Web Front-end > HTML Tutorial > The RealPlayer plug-in embedded in the web page cannot play .amr audio files_html/css_WEB-ITnose

The RealPlayer plug-in embedded in the web page cannot play .amr audio files_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:13:22
Original
1539 people have browsed it

The RealPlayer player has been installed, and the same amr file can be opened and played directly with RealPlayer, but when the player is embedded through the web page, it cannot be played, and a "general error occurred" is prompted. If the file pointed to by src is changed to .mp3 The file can be played normally, and the code embedded in the RealPlayer player is as follows:
classid="clsid:CFCDAA03-8BE4-11cf-B84B -0020AFBBCCFA">











Looking forward to expert guidance!


Reply to the discussion (solution)

Is the path wrong?

Is the path wrong?
No, Because .mp3 files in the same directory can be played using the same path.

If nothing else goes wrong, this format should not be played.

If nothing else happens, this format should not be played.
But you can play the amr file directly with RealPlayer. The amr plug-in is already installed in RealPlayer, so I find it strange.

Later I found out that it should be caused by the encoding format of the amr file itself. Thank you both upstairs. Although they did not directly help solve the problem, thank you for your support!

So how can a web page directly play audio files in amr format?

I am also doing this today. The AMR audio recorded by the mobile phone is played on the web page. The media payer that comes with Windows is not supported, but the problem is not solved! How to play amr on the web? ? ?

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template