Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #16340

Re: AN .amr media player for a PHP website

From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.php
Subject Re: AN .amr media player for a PHP website
Date 2016-01-27 23:10 +0100
Message-ID <56A94048.6090601@arnowelzel.de> (permalink)
References <cf5c157d-924c-4729-bb24-db03d972350c@googlegroups.com>

Show all headers | View raw


Chijioke Kenneth schrieb am 2016-01-27 um 21:26:

> Hello All,
> 
> Please, I do not know if this is the write forum to ask this
> question.  Kindly assist if it anyone can;
[...]
> c. If there is a php/ javascripts/ jquery library that can play .amr
> audio files on a PHP website,  I am interested. I will buy even if
> the library is paid.

PHP runs on the *server*. This has nothing to do with playback in the
*browser*.

And no - there is also no JavaScript-library which can decode and
playback audio formats which are not already supported by the browser -
this is technically not possible.

> d.  Any other means that I can use to play .amr audio files in my PHP
> website.

This has nothing to do with PHP at all. The browser or some browser
plugin needs to be able to play back the file format.

When using the HTML 5 <audio> tag to embed the audio file you usually
can only use MP3, OGG and WAV - and only MP3 is supported by every major
browser.

Since Flash is also not able to play back AMR you will also not find any
Flash based player which you could embed.

Quicktime supports AMR and this could be used using <embed> - but then
every visitor has to install Quicktime first before listening to the AMR
files on your site.

So my recommendation is to convert the AMR files to MP3 and use <audio>
to embed them.


-- 
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de
http://fahrradzukunft.de

Back to comp.lang.php | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

AN  .amr  media player for a PHP  website Chijioke Kenneth <ken.dgc@gmail.com> - 2016-01-27 12:26 -0800
  Re: AN .amr media player for a PHP website Jerry Stuckle <jstucklex@attglobal.net> - 2016-01-27 16:26 -0500
  Re: AN .amr media player for a PHP website Arno Welzel <usenet@arnowelzel.de> - 2016-01-27 23:10 +0100

csiph-web