jeremywj commented on issue #214: URL: https://github.com/apache/cordova-plugin-media/issues/214#issuecomment-1499423284
Late response, but fading in/out is really just an adjustment of the volume. For fading in you would just set the volume to 0.0 in the beginning and raise it by 0.1 (or whatever) every few hundred milliseconds until you reach 1.0. For fading out you would need to monitor the current position and trigger a function to decrease the volume in the final few seconds (basically the same as above but in reverse). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
