Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

CGI generates HTML with EMBED for AUDIO problem

Posted on 1999-07-10
2
Medium Priority
?
298 Views
Last Modified: 2013-12-25
A CGI/Perl scripts generates HTML and sends it back to the browser via a "Content-type: text/html"

The html contains a:
<embed src="file.mid" width=16 height=16  
             hidden="false" autostart="true" volume=100 loop="true"  nosave="true">

The embed is correctly recognised and audio played by most browsers.

However some and in particular the AOL browsers do not produce any sound.

If the same HTML is written to the server's file store and a "Location: URL" is used instead of the "Content-type: text/html" then it works, prooving that it was not a particular plug-in fault.

Any ideas why sound is sometimes not audible when in "Content-type: text/html" rather than "Location: URL" mode?
0
Comment
Question by:martinR
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Author Comment

by:martinR
ID: 1834985
Edited text of question.
0
 
LVL 1

Accepted Solution

by:
sdjjm earned 400 total points
ID: 1834986
I had this same problem with AOL and their older software.  
Besides your "<EMBED src="file.mid" hidden autostart=true loop=...etc...etc>" code, you should also send a "<BGSOUND SRC="file.mid" AUTOSTART=true LOOP=true...etc...etc>" which the older AOL browsers understand...
It solved the problem, and I always include both lines in all HTML documents now just for formality.
0

Featured Post

Quick Start: DOCKER

Sometimes you just need a Quick Start on a topic in order to begin using it.. this is just what you need to know to get up and running with Docker!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question