Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement action types pause, resume and restart #395

Open
Orbiter opened this issue Jul 29, 2018 · 1 comment
Open

Implement action types pause, resume and restart #395

Orbiter opened this issue Jul 29, 2018 · 1 comment

Comments

@Orbiter
Copy link
Contributor

Orbiter commented Jul 29, 2018

Describe the solution you'd like
If a media file is played, it is possible to say "stop" to stop playing. Similarly, with the following action types, it should be possible to

  • pause the playing of a media file (youtube, mp3 etc) with the action type pause
  • resume the playing of a media file which has been paused with the action type resume
  • restart the playing of a media file (either currently playing or paused) with the action type restart

Additional context
Examples:
https://api.susi.ai/susi/chat.json?q=pause

"actions": [{"type": "pause"}]

https://api.susi.ai/susi/chat.json?q=resume

"actions": [{"type": "resume"}]

https://api.susi.ai/susi/chat.json?q=restart

"actions": [{"type": "restart"}]
@jogendra
Copy link
Member

@Orbiter Currently, youtube video etc is playing over chat screen so the user can't use these actions without closing youtube player. If we play video/MP3 within app then there will be multiple instances of Player, which is not a good practice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants