I'm implementing WebRTC video chat. I want to implement the following case:
By default video element has background-image via css and if there are no video input then user see his (or interlocutor's) avatar:
No video expected result:
No video actual result:
As you can see from the screenshots I have black rectangles above my fancy backgrounds. I want to make this ugly black rectangle transparent and keep my video's backgrounds visible.
Actually it will be awesome to resolve the problem without introducing any additional markup.
Appreciate your help =)
Update:
"No video" means that user/users don't have web cams and stream has only audio track.