diff options
| author | bob <bcz@cs.brown.edu> | 2019-07-12 18:06:34 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-07-12 18:06:34 -0400 |
| commit | 0c4fe96495ea73c16dcf189b09dbceb44943b8ba (patch) | |
| tree | 50fea1b1628cbe89e787679e1ad88164dbdf97b9 /src/client/views/collections/CollectionVideoView.tsx | |
| parent | 6a477918f2f16bdc023c76d6a145bb6435e918a6 (diff) | |
enabled youtube play controls. fixed youtube video playing .
Diffstat (limited to 'src/client/views/collections/CollectionVideoView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionVideoView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionVideoView.tsx b/src/client/views/collections/CollectionVideoView.tsx index 2b6c272aa..8d519ff2b 100644 --- a/src/client/views/collections/CollectionVideoView.tsx +++ b/src/client/views/collections/CollectionVideoView.tsx @@ -43,7 +43,7 @@ export class CollectionVideoView extends React.Component<FieldViewProps> { @action onPlayDown = () => { - if (this._videoBox && this._videoBox.player) { + if (this._videoBox) { if (this._videoBox.Playing) { this._videoBox.Pause(); } else { |
