Frontmatter
| id | 5675 |
| title | component.Video: errorMsg config |
| state | Closed |
| labels | bug |
| assignees | Dinkh |
| createdAt | Aug 3, 2024, 8:32 PM |
| updatedAt | Aug 10, 2024, 6:32 PM |
| githubUrl | https://github.com/neomjs/neo/issues/5675 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Aug 10, 2024, 6:32 PM |

Defined as a boolean instead of a string.
afterSetUrl(value, oldValue) { if (!value) return; let {vdom} = this, media = VDomUtil.getFlags(vdom, 'media')[0]; media.cn = [{ tag: 'source', src: value, type: this.type }, { tag: 'span', html: this.errorMsg, }]; this.update() }Why would you always drop in an error message for all browsers?
Except for Opera Mini, all browsers can handle it: https://caniuse.com/video
So we should not add not needed DOM nodes for others.