You need to delete the "*" after "_audio.aps" or it come up as Page Not
Found.
That page "states" that MP3 seems the best audio type for cross-platform
[browser] usage.
If your audio file is not in that format, there are free audio
converters for Windows and should be one of two in Linux [but have not
looked for Linux since I have one on my Win7 laptop].
This sample for that page with some other text from that page.
Having the audio controls is helpful for those who do not want to listen
to the embeded audio.
-----------------------------------------------------------------------------
The HTML <audio> Element
To play an audio file in HTML, use the <audio> element:
Example
<audio controls>
<source src="horse.ogg" type="audio/ogg">
<source src="horse.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
HTML Audio - How It Works
The controls attribute adds audio controls, like play, pause, and volume.
Text between the <audio> and </audio> tags will display in browsers that
do not support the <audio> element.
Multiple <source> elements can link to different audio files. The
browser will use the first recognized format.
--------------------------------------------------------------------------------
On 12/17/2014 12:20 PM, Paul D. Mirowsky wrote:
Also see http://www.w3schools.com/html/html5_audio.asp*
*
Copy into document:*
When in Writer:* Choose *Edit - Paste Special*
or add this after saving with a text editor.
Not tested, but should work.
On 12/17/2014 9:52 AM, Tim---Kracked_P_P---webmaster wrote:
The "not supported" issue is a HTML/Javascript based one. There is a
specific HTML/Javascript tag/option that uses Audio files -- Embed,
bgsound, and other specific tags/scripting.
You may have to edit the file in a "view source" option to add the
needed script to embed a background sound or one with the needed
audio controls.
You might want to look at places like these for more information
about the audio scripting options.
http://stackoverflow.com/questions/11079222/embed-mp3-file-into-html-that-works-across-browsers
https://www.hscripts.com/tutorials/html/audio.php
http://stackoverflow.com/questions/10041723/how-to-embed-audio-within-a-website
[ HTML 5 specific?]
On 12/17/2014 09:02 AM, Dennis Regan wrote:
Dear Sir or Ms.,
My name is Dennis Regan and I have enjoyed LibreOffice Writer very
much but here is a problem that I have encountered that I hope you
can help me with. I am attempting to insert an audio file into a
document so that when I save that doc as an HTML document I would
like the audio file to play while a reader is viewing the HTML
document.
So far I have tried to insert all of the audio file formats that I
can think of and all that I get when I try to insert them is that
they ARE NOT SUPPORTED.
CAN YOU PLEASE TELL ME WHAT AUDIO FILES ARE SUPPORTED BY LibreOffice
Writer.
I thank you in advance for your assistance.
Very truly yours,
Dennis Regan
DPRegan54@gmail.com
--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.