-
Notifications
You must be signed in to change notification settings - Fork 27.2k
Closed
Description
<audio> element was working fine in Angular 2 alpha 46 template, but start to broken in alpha 47, and version 48 still not working, too. It seems the new template parser do not like the non closed <source>. By adding </source> will remove error message, but it would be invalid.
I have made a example for it. Please let me know If I did anything wrong.
http://plnkr.co/edit/Y5sr0W?p=preview
You need open console to see the error.
"ORIGINAL EXCEPTION: Template parse errors:
Unexpected closing tag "audio" ("io>
<source src="http://www.pacdv.com/sounds/applause-sounds/app-5.mp3" type="audio/ogg">
[ERROR ->]</audio>
"): App@4:4"
Audio is very important to us, we normally do load src dynamically with [src]='audioAddress', but with version 47 and 48 I have to add the source by creating a new Element.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels