diff options
| author | Stanley Yip <33562077+yipstanley@users.noreply.github.com> | 2019-07-17 14:56:45 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-17 14:56:45 +0000 |
| commit | 253813f3ed75c5bbc08f32a1e822ff922bfe185b (patch) | |
| tree | 78cb59565eb78955e089a11d96011da79e0c81c7 /src/client/views/collections/CollectionSubView.tsx | |
| parent | cfc5a68c1d93f937ada7ba905265b159ec8be2a9 (diff) | |
| parent | ba25d48d52f6db6021f5149e39021f651af22317 (diff) | |
Merge branch 'master' into small_fix_0716
Diffstat (limited to 'src/client/views/collections/CollectionSubView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionSubView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionSubView.tsx b/src/client/views/collections/CollectionSubView.tsx index 8e8d5708b..4fd11add4 100644 --- a/src/client/views/collections/CollectionSubView.tsx +++ b/src/client/views/collections/CollectionSubView.tsx @@ -180,7 +180,7 @@ export function CollectionSubView<T>(schemaCtor: (doc: Doc) => T) { } if (text && text.indexOf("www.youtube.com/watch") !== -1) { const url = text.replace("youtube.com/watch?v=", "youtube.com/embed/"); - this.props.addDocument(Docs.Create.VideoDocument(url, { ...options, title: url, width: 400, height: 315 })); + this.props.addDocument(Docs.Create.VideoDocument(url, { ...options, title: url, width: 400, height: 315, nativeWidth: 600, nativeHeight: 472.5 })); return; } |
