Description | Key |
---|---|
Go Faster | + |
Go Slower | - |
Normal Speed | = |
kWidget.addReadyCallback( function( playerId ){ var kdp = document.getElementById( playerId ); // Log playback rate changes: kdp.kBind('updatedPlaybackRate', function( newRate ){ $("#changeLog").append( "Set playback rate to x" + newRate + "\n" ); }); // Update rate on button click $('.rate-buttons button').click(function(){ kdp.sendNotification('playbackRateChangeSpeed', $( this ).attr('data-rate') ); }) })Change log: