title: What exactly changes when you set a video playback rate attribute from 1 to 2, and, from 1 to 0.5 in JavaScript?
body: <p>I tried to search for information regarding this, but did not find any adequate answer.</p>
  
  <p>I conducted a study where I changed the playback rate of videos using the <strong>JavaScript</strong> <code>playbackRate</code> attribute to <code>.5</code> and <code>2</code>, from the natural playback rate.</p>
  
  <p>I would like to know how Javascript changes video playback rate.</p>
  
  <p>For e.g. when the playback rate changes to <code>2</code>, does it only result in frames being dropped from the videos? </p>
  
  <p>What happens when playback rate is slowed down to <code>.5</code>? Are frames being added in that case? How are the frames added? How is the audio stretched out/ trimmed?</p>