Hi,yesterday I've implemented a <VideoPlayer/ custom tag.
I took me some time to debug what was not working, and why.
To safe you some time I like to share my expericne here.
I have notices that it will break the html markup when not writing all arguments in one line.
This doesn't work:
<VideoPlayer
id="video1"
src="<<<videourl>>>"
poster="<<<posterurl>>>"
/>
<VideoPlayer
id="video1"
src="<<<videourl>>>"
poster="<<<posterurl>>>"
>
</VideoPlayer>
But this works:
<VideoPlayer id="video1" src="<<<videourl>>>" poster="<<<posterurl>>>"/>
<VideoPlayer
id="video1"
src="<<<videourl>>>"
poster="<<<posterurl>>>">
</VideoPlayer>
<VideoPlayer
id="video1"
src="<<<videourl>>>"
poster="<<<posterurl>>>"
"">
</VideoPlayer>
Hope that helps someone :)
~ Marc