From: "T.V Raman" <raman@google.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: emacs-devel@gnu.org
Subject: Re: Feature Request: Support <audio> in shr
Date: Wed, 10 Nov 2021 15:10:47 -0800 [thread overview]
Message-ID: <p915yszzjwo.fsf@google.com> (raw)
In-Reply-To: <87ee7okaf1.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 10 Nov 2021 03:32:34 +0100")
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb18030, Size: 1302 bytes --]
Lars Ingebrigtsen <larsi@gnus.org> writes:
After looking into this a bit further:
1. browse-url-handlers matches on URL pattern, should we also be able to
match on content-type?
2. I tried to regex match on .mp3$, but it turns out that
A) did not work after setting
(("\\`*.mp3\\$" . emacspeak-m-player-url) ("\\`mailto:"
. browse-url--mailto) ("\\`man:" . browse-url--man)
(browse-url--non-html-file-url-p . browse-url-emacs))
Opening a simple html file in EWW/shr containing
<p>And here is an <audio
src="http://emacspeak.sourceforge.net/raman/publications/limaye-raman.mp3">Audio
talk</audio></p>
1. Appears to wait till the mp3 is completely downloaded,
B. Continues to display the "Content Type Not supported"
message.
> "T.V Raman" <raman@google.com> writes:
>
>> But right now <audio src=...>my talk</audio> produces a "unsupported
>> content type" link in EWW.
>
> Yes, you'll have to configure browse-url-handlers for that to work, I
> think.
>
> The default will eventually to use webkit (like shr does with video),
> but we haven't gotten that far yet.
--
Thanks,
--Raman(I Search, I Find, I Misplace, I Research)
7©4 Id: kg:/m/0285kf1 0Ü8
next prev parent reply other threads:[~2021-11-10 23:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-09 15:27 Feature Request: Support <audio> in shr T.V Raman
2021-11-09 17:01 ` Eli Zaretskii
2021-11-09 17:15 ` T.V Raman
2021-11-09 18:29 ` Eli Zaretskii
2021-11-09 23:48 ` Lars Ingebrigtsen
2021-11-10 2:27 ` T.V Raman
2021-11-10 2:32 ` Lars Ingebrigtsen
2021-11-10 23:10 ` T.V Raman [this message]
2021-11-11 3:20 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=p915yszzjwo.fsf@google.com \
--to=raman@google.com \
--cc=emacs-devel@gnu.org \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).