cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabbage <...@git.apache.org>
Subject [GitHub] cordova-plugin-media pull request: Add Media.prototype.setRate met...
Date Tue, 06 Jan 2015 01:10:48 GMT
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message