emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feature Request: Support <audio> in shr


From: T.V Raman
Subject: Re: Feature Request: Support <audio> in shr
Date: Wed, 10 Nov 2021 15:10:47 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]