WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
275456
Canvas to Video with captureStream no Autoplay
https://bugs.webkit.org/show_bug.cgi?id=275456
Summary
Canvas to Video with captureStream no Autoplay
Christopher Adels
Reported
2024-06-13 13:07:30 PDT
Video Elements that have captureStream() as input won't autoplay. Or they do, but I don't know when. U can see in this example that u have to drag the teapot.
https://webrtc.github.io/samples/src/content/capture/canvas-pc/
In my project the canvas is not interactive so I don't know how to trigger the autoplay. Here is a simple example
https://codepen.io/Chrisstopher/pen/LYoOdyb
Attachments
Add attachment
proposed patch, testcase, etc.
Eric Carlson
Comment 1
2024-06-15 21:25:50 PDT
(In reply to Christopher Adels from
comment #0
)
> Video Elements that have captureStream() as input won't autoplay. Or they > do, but I don't know when. U can see in this example that u have to drag the > teapot. >
https://webrtc.github.io/samples/src/content/capture/canvas-pc/
> > In my project the canvas is not interactive so I don't know how to trigger > the autoplay. Here is a simple example >
https://codepen.io/Chrisstopher/pen/LYoOdyb
Your example autoplays for me on macOS. If you are testing on iOS, have you tried adding the `playsinline` attribute (
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video#playsinline
)?
Christopher Adels
Comment 2
2024-06-15 23:25:23 PDT
Strange, for me it's not. I updated the Hardware section. So I'm testing on Safari 17. But also mobile with the playsinline attribute, it's not working for me. iOS 17.4.1
Radar WebKit Bug Importer
Comment 3
2024-06-20 13:08:14 PDT
<
rdar://problem/130225981
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug