mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-09 10:50:24 +00:00
[video file view] added 'playback rate' options (#5366)
This commit is contained in:
@@ -13,6 +13,7 @@ class FileContent extends React.Component {
|
|||||||
autoplay: false,
|
autoplay: false,
|
||||||
controls: true,
|
controls: true,
|
||||||
preload: 'auto',
|
preload: 'auto',
|
||||||
|
playbackRates: [0.5, 1, 1.5, 2],
|
||||||
sources: [{
|
sources: [{
|
||||||
src: rawPath
|
src: rawPath
|
||||||
}]
|
}]
|
||||||
|
@@ -24,6 +24,7 @@ class FileContent extends React.Component {
|
|||||||
autoplay: false,
|
autoplay: false,
|
||||||
controls: true,
|
controls: true,
|
||||||
preload: 'auto',
|
preload: 'auto',
|
||||||
|
playbackRates: [0.5, 1, 1.5, 2],
|
||||||
sources: [{
|
sources: [{
|
||||||
src: rawPath
|
src: rawPath
|
||||||
}]
|
}]
|
||||||
|
Reference in New Issue
Block a user