jonathantneal/media-player

Update audio or video tag when changing source type

Opened this issue · 0 comments

When using a playlist and the type of media changes (audio <> video) should the <audio> or <video> tag be updated to reflect the type of content? It seems that IE 11 on Windows 10 for example will display the video player (and associated white space) even if an audio file is selected. Similarly, if you specify an audio tag with video content, there will be no space for video.

edit Same applies to Microsoft Edge...I think Chrome displays the desired behavior, namely that even with a video tag, an audio only stream will not reserve space video