You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Great work overall and I'd hate to be discouraging but external control using the controller is completely useless due to a lack of futures.
If you can't await for a task that is asynchronous by nature (aka anything on the internet) you can't write control logic. I'm very surprised considering how much good work you've done on this. I wondered if there is there an issue with decoding youtube responses?
For example:
Having a controller that contains the youtube controller and also stores the last playback position. When the user navigates back to the page that contains the video I want to 're-cue' the video at the previous position, pause it and wait for them to press play if they'd like to continue. This is not possible due to a lack of async programming on the controller.
It is impossible to:
seekTo(last position);
pause();
What is really needed is:
seekTo(position).then(pause());
or
await seekTo(position);
await pause();
Describe the solution you'd like
Implement async programming on the controller if possible because even basic external control logic is impossible.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Great work overall and I'd hate to be discouraging but external control using the controller is completely useless due to a lack of futures.
If you can't await for a task that is asynchronous by nature (aka anything on the internet) you can't write control logic. I'm very surprised considering how much good work you've done on this. I wondered if there is there an issue with decoding youtube responses?
For example:
Having a controller that contains the youtube controller and also stores the last playback position. When the user navigates back to the page that contains the video I want to 're-cue' the video at the previous position, pause it and wait for them to press play if they'd like to continue. This is not possible due to a lack of async programming on the controller.
It is impossible to:
seekTo(last position);
pause();
What is really needed is:
seekTo(position).then(pause());
or
await seekTo(position);
await pause();
Describe the solution you'd like
Implement async programming on the controller if possible because even basic external control logic is impossible.
The text was updated successfully, but these errors were encountered: