[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51674: 29.0.50; [PATCH] Fix hang when displaying xwidget script dial
From: |
Lars Ingebrigtsen |
Subject: |
bug#51674: 29.0.50; [PATCH] Fix hang when displaying xwidget script dialog |
Date: |
Mon, 08 Nov 2021 07:25:43 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Po Lu <luangruo@yahoo.com> writes:
> What I would do instead is to use `make-xwidget' to create an xwidget,
> and then to make it the display property of a piece of text, like one
> would an image spec.
Thanks; this works, sort of:
(progn
(require 'xwidget)
(setq widget (make-xwidget 'webkit
"Video"
700
500
nil
(current-buffer)
(xwidget-webkit-current-session)))
(insert
(propertize
"[video]"
'display (list 'xwidget :xwidget widget)))
(xwidget-put widget 'callback #'always))
And then
(xwidget-webkit-goto-uri widget "file:///tmp/vid.html")
will play the .mp4 video... but only on Macos. On this Debian laptop,
it just shows the controls, and doesn't play the mp4. Is this due to
platform specific limitations? (It won't play Youtube, either, with the
normal `xwidget-webkit-browse-url'.)
But on Macos there's a different twist: It doesn't heed the width/height
specs, and always maximises itself to fill the frame. Which seems like
a bug.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#51674: 29.0.50; [PATCH] Fix hang when displaying xwidget script dialog, Po Lu, 2021/11/07
- bug#51674: 29.0.50; [PATCH] Fix hang when displaying xwidget script dialog, Lars Ingebrigtsen, 2021/11/08
- bug#51674: 29.0.50; [PATCH] Fix hang when displaying xwidget script dialog, Po Lu, 2021/11/08
- bug#51674: 29.0.50; [PATCH] Fix hang when displaying xwidget script dialog, Lars Ingebrigtsen, 2021/11/08
- bug#51674: 29.0.50; [PATCH] Fix hang when displaying xwidget script dialog, Po Lu, 2021/11/08
- bug#51674: 29.0.50; [PATCH] Fix hang when displaying xwidget script dialog,
Lars Ingebrigtsen <=
- bug#51674: 29.0.50; [PATCH] Fix hang when displaying xwidget script dialog, Po Lu, 2021/11/08
- bug#51674: 29.0.50; [PATCH] Fix hang when displaying xwidget script dialog, Lars Ingebrigtsen, 2021/11/08
- bug#51674: 29.0.50; [PATCH] Fix hang when displaying xwidget script dialog, Po Lu, 2021/11/08
- bug#51674: 29.0.50; [PATCH] Fix hang when displaying xwidget script dialog, Lars Ingebrigtsen, 2021/11/08
- bug#51674: 29.0.50; [PATCH] Fix hang when displaying xwidget script dialog, Po Lu, 2021/11/08
- bug#51674: 29.0.50; [PATCH] Fix hang when displaying xwidget script dialog, Lars Ingebrigtsen, 2021/11/08
- bug#51674: 29.0.50; [PATCH] Fix hang when displaying xwidget script dialog, Po Lu, 2021/11/09
- bug#51674: 29.0.50; [PATCH] Fix hang when displaying xwidget script dialog, Lars Ingebrigtsen, 2021/11/09
- bug#51674: 29.0.50; [PATCH] Fix hang when displaying xwidget script dialog, Lars Ingebrigtsen, 2021/11/09
- bug#51674: 29.0.50; [PATCH] Fix hang when displaying xwidget script dialog, Po Lu, 2021/11/09