-
-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
featureNew feature or requestNew feature or request
Description
If the feature request is for a plugin or provider, specify it here.
No response
If the feature solves a problem you have, specify it here.
After the player loads a source, it can't be updated with a new one.
Describe the proposed feature.
Add a method to update the source of the player:
player.setSource(new_source) // OR player.setSrc(new_source) OR player.src(new_source)
Describe alternatives you've considered
I tried to update the value of src
attribute, but the player doesn't load the new source.
-
Code of the first try:
<video id="player" class="vlite-js"> <source src={source_variable} /> </video>
-
Code of the second try:
<video id="player" class="vlite-js" src={source_variable} />
Additional context
No response
Related issues
No response
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or request