I have following audio tag in my markup:
<audio id="audio" preload="auto" hidden="true">
<source src="#{resource['sounds:filename.mp3']}" type="audio/mpeg" />
<source src="#{resource['sounds:filename.ogg']}" type="audio/ogg" />
<embed src="#{resource['sounds:filename.mp3']}" hidden="true"/>
</audio>
I want to wrap this inside a custom composite component which gets the filename as an attribute.
<source src="#{resource['sounds:cc.attrs.filename.mp3']}" type="audio/mpeg" />
This is obvious not working since .mp3 now seems to be a child of filename. How do I escape the dot?