## HTML Audio/Video DOM defaultPlaybackRate Property
## Definition and Usage
The defaultPlaybackRate property sets or returns the default playback speed of the audio/video.
The defaultPlaybackRate property can be changed while the audio/video is loading.
## Browser Support
| Property | Chrome | Edge | Firefox | Safari | Opera |
|----------|--------|------|---------|--------|-------|
| defaultPlaybackRate | Yes | Yes | Yes | Yes | Yes |
Note: Methods for manipulating audio and video are not supported in Internet Explorer 9 and earlier versions.
## Syntax
Return the defaultPlaybackRate property:
Set the defaultPlaybackRate property:
```javascript
audio|video.defaultPlaybackRate = playrate
## Property Values
| Parameter | Description |
|-----------|-------------|
| playrate | Indicates the default playback speed of the audio/video. |
- **1.0**: Normal speed
- **0.5**: Half of normal speed
- **2.0**: Double speed
## Return Value
| Type | Description |
|------|-------------|
| Number | Returns the default playback speed |
## Technical Details
| DOM Version | DOM Level 1 |
|-------------|-------------|
## More Examples
### Example 1
Set the video to slow motion by default:
Click the button to set the video to slow motion by default.
function myFunction() {
var x = document.getElementById("myVideo");
x.defaultPlaybackRate = 0.5;
x.load();
}
### Example 2
Get the default playback speed of the video:
Click the button to get the default playback speed of the video.
function myFunction() {
var x = document.getElementById("myVideo");
alert(x.defaultPlaybackRate);
}
## Related Pages
HTML tutorial: (#)
HTML tutorial: (#)
JavaScript tutorial: [HTML DOM Audio/Video Reference](#)