mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
Display content for video if no poster is available.
* net/shr.el (shr-tag-video): Display content for video if no poster is available.
This commit is contained in:
parent
10240949ca
commit
177948a5b2
2 changed files with 10 additions and 1 deletions
|
|
@ -1,5 +1,12 @@
|
|||
2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
|
||||
|
||||
* net/shr.el (shr-tag-video): Display content for video if no
|
||||
poster is available.
|
||||
|
||||
* net/eww.el (eww-text-input-types): : New const.
|
||||
(eww-process-text-input): Treat input types in
|
||||
`eww-text-input-types' as text.
|
||||
|
||||
* net/shr.el (shr-tag-table): Fix comment typo.
|
||||
|
||||
2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
|
||||
|
|
|
|||
|
|
@ -1100,7 +1100,9 @@ ones, in case fg and bg are nil."
|
|||
(let ((image (cdr (assq :poster cont)))
|
||||
(url (cdr (assq :src cont)))
|
||||
(start (point)))
|
||||
(shr-tag-img nil image)
|
||||
(if image
|
||||
(shr-tag-img nil image)
|
||||
(shr-insert " [video] "))
|
||||
(shr-urlify start (shr-expand-url url))))
|
||||
|
||||
(defun shr-tag-img (cont &optional url)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue