Github user purplecabbage commented on the pull request:
https://github.com/apache/cordova-plugin-media/pull/40#issuecomment-68811410
This API has not really been discussed, but I have thought about it in the
past.
My feeling is that it would be more useful to add the playbackRate as an
additional option to Media.play
This would have the benefit of not breaking any platforms, they would
simply ignore the unknown option ... and could possibly implement it in the
future.
This would however mean that you could NOT change the playback rate of a
media object that was already playing. Not sure if this was a requirement, but
I think it is a reasonable trade-off as controlling playback rate of a playing
media file would probably be glitchy from JS.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]