Closed jlee1377 closed 1 month ago
let's try to just remove and readd stream. Unsure if there is option to "refresh" the stream internally via api
Starting work on branch #7.
https://github.com/jlee1377/jlee1377.github.io/tree/%237-refresh-stream
Quick search turns up no such functionality in API, will have to look further to see if that is the case, API documentation page does seem to lack some details that might be useful including this function.
Note, whenever a stream seems to time out, black screen with red clickable shows up prompting user to refresh the stream. Hoping to find that clickable or call (if it is a call) to make it easier to refresh without dodging around the title text in the small video screens
Left a question topic in the dev forums. https://discuss.dev.twitch.com/t/api-function-to-refresh-a-stream-within-the-embed/59465
Alternative, retyping name in search can remove and readd the already existing stream
Archaic method made, retyping name or pressing "re" button will delete the embedded player and remake it. Buttons are shifted over to new location by natural flow.
Merge #16 will be the implementation
Refresh stream button, can be above the X buton