Current Behavior:
If the media type of the relevant src is not ? when the src is changed, the source element is added but the value of the src attribute is not removed, so the media source is not actually changed.
Expected Behavior:
If src is changed, the source is set to the specified source regardless of whether the source's media type is known or not.
Steps To Reproduce:
- Set the source to have the specified type using the
HEAD fallback or an explicit {src, type} declaration
- Switch the
src to a different source
- Switch the
src to the source specified in step 1
- Play the content
repro: https://codeberg.org/reasonset-tiny/repro-vidstack-update-src
Environment:
- Framework: Vanilla
- Meta Framework: None
- Node: None
- Device: PC, Android
- OS: Linux, ColorOS16
Anything Else?
Current Behavior:
If the media type of the relevant
srcis not?when thesrcis changed, thesourceelement is added but the value of thesrcattribute is not removed, so the media source is not actually changed.Expected Behavior:
If
srcis changed, the source is set to the specified source regardless of whether the source's media type is known or not.Steps To Reproduce:
HEADfallback or an explicit{src, type}declarationsrcto a different sourcesrcto the source specified in step 1repro: https://codeberg.org/reasonset-tiny/repro-vidstack-update-src
Environment:
Anything Else?