Variable: shr-prefer-media-type-alist

shr-prefer-media-type-alist is a customizable variable defined in shr.el.gz.

Value

(("webm" . 1.0) ("ogv" . 1.0) ("ogg" . 1.0) ("opus" . 1.0)
 ("flac" . 0.9) ("wav" . 0.5))

Documentation

Preferences for media types.

The key element should be a regexp matched against the type of the source or url if no type is specified. The value should be a float in the range 0.0 to
1.0. Media elements with higher value are preferred.

This variable was added, or its default value changed, in Emacs 24.4.

Source Code

;; Defined in /usr/src/emacs/lisp/net/shr.el.gz
(defcustom shr-prefer-media-type-alist '(("webm" . 1.0)
                                         ("ogv"  . 1.0)
                                         ("ogg"  . 1.0)
                                         ("opus" . 1.0)
                                         ("flac" . 0.9)
                                         ("wav"  . 0.5))
  "Preferences for media types.
The key element should be a regexp matched against the type of the source or
url if no type is specified.  The value should be a float in the range 0.0 to
1.0.  Media elements with higher value are preferred."
  :version "24.4"
  :type '(alist :key-type regexp :value-type float))