Bug 165243
| Summary: | The video which is rendered by HTML template would be black when paused | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | jiangshanyanyuwhn |
| Component: | Media | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | eric.carlson, jer.noble, jiangshanyanyuwhn, rniwa |
| Priority: | P2 | ||
| Version: | Safari 10 | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 10 | ||
| Bug Depends on: | |||
| Bug Blocks: | 154614 | ||
jiangshanyanyuwhn
The video which is rendered by HTML template would be black when paused.
example: https://thekingofgods.github.io/bugs/video-1.html
core code:
var elBox = document.getElementById('box');
var tpl = document.createElement('template');
var documentFragment;
tpl.innerHTML = '<video src="http://XX" controls playsinline preload="metadata">';
documentFragment = tpl.content;
elBox.appendChild(documentFragment);
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ryosuke Niwa
I can’t reproduce this on macOS Sierra.
jiangshanyanyuwhn
(In reply to comment #1)
> I can’t reproduce this on macOS Sierra.
yes, macOS is ok. It only appears on the IOS