jlee1377 / jlee1377.github.io

Deploy MinTwitch project site
0 stars 0 forks source link

Feature Request, refresh stream #7

Closed jlee1377 closed 1 month ago

jlee1377 commented 3 months ago

Refresh stream button, can be above the X buton

jlee1377 commented 1 month ago

let's try to just remove and readd stream. Unsure if there is option to "refresh" the stream internally via api

jlee1377 commented 1 month ago

Starting work on branch #7.

https://github.com/jlee1377/jlee1377.github.io/tree/%237-refresh-stream

jlee1377 commented 1 month ago

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

jlee1377 commented 1 month ago

Alternative, retyping name in search can remove and readd the already existing stream

jlee1377 commented 1 month ago

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