Mbonea commited on
Commit
a2dcb8b
1 Parent(s): 472c499
App/Generate/database/Model.py CHANGED
@@ -132,7 +132,7 @@ class Project(orm.Model):
132
  "volume": 0,
133
  "startFrom": 1 * 30,
134
  "endAt": 3 * 30,
135
- "playbackRate": 0.75,
136
  "style": {
137
  "transform": "translate(-50%, -50%)",
138
  "position": "absolute",
 
132
  "volume": 0,
133
  "startFrom": 1 * 30,
134
  "endAt": 3 * 30,
135
+ "playbackRate": 0.7,
136
  "style": {
137
  "transform": "translate(-50%, -50%)",
138
  "position": "absolute",
Remotion-app/src/HelloWorld/VideoStream.jsx CHANGED
@@ -36,7 +36,8 @@ const VideoX = React.memo(({entry}) => {
36
  endAt: (fps * entry.props.endAt) / 30,
37
  volume: (fps * entry.props.volume) / 30,
38
  src: staticFile(entry.name),
39
- style: entry?.style,
 
40
  };
41
 
42
  return (
 
36
  endAt: (fps * entry.props.endAt) / 30,
37
  volume: (fps * entry.props.volume) / 30,
38
  src: staticFile(entry.name),
39
+ style: entry?.style ? entry.style : {},
40
+ playbackRate: entry.props.playbackRate ? entry.props.playbackRate : 1,
41
  };
42
 
43
  return (