Re: Re: Browser could not get mp3 files from http site
| From: | hce | Date: | Sun, 21 Sep 2008 01:35:18 +0000 |
| Subject: | Re: Re: Browser could not get mp3 files from http site | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-280609@lists.php.net to get a copy of this message | ||
On Sat, Sep 20, 2008 at 1:29 PM, Michelle Konzack
<linux4michelle@tamay-dogan.net> wrote:
> Am 2008-09-12 18:14:23, schrieb hce:
>> Hi,
>>
>> I have a php file audio.php to send mp3 file audio.mp3 to browsers,
>> the browser needs following html code to play mp3 file. I thought it
>> should work if I put the the audio.mp3 file in the same localtion with
>> the http://www.myweb.com/audio.php. But the browser could
>> not get the
>> audio.mp3. I guess something is missing here, please correct me.
>>
>> <embed target="audio.mp3"
>
> Hey, what are you blubbering here?
> It is:
>
> <embed src="audio.mp3" width="320" height="240">
Are you sure you can make following my original code work to play the
mp3 automatically in firefox or any other browsers?
<html>
<embed src="audio.mp3" autostart="1"></embed>
</html>
BTW, I also tried to change <object type="audio/x-mpeg" ....., did not
work either.
Thank you.