Fixes #5929 -- Add "player-ready" event upon embeddable player mount.
This commit is contained in:
parent
b0549b4700
commit
85012ac2f1
|
@ -323,6 +323,8 @@ const switchStream = (new_stream) => {
|
|||
};
|
||||
|
||||
onMounted(() => {
|
||||
document.dispatchEvent(new CustomEvent("player-ready"));
|
||||
|
||||
if (props.autoplay) {
|
||||
switchStream(currentStream.value);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue