Stopping autoplay, widening videos to show controls.

- Fixes #250
- Fixes #288
- Fixes #291
pull/722/head
Dessalines 2019-10-12 15:15:18 -07:00
parent f356a35884
commit c38f8c9c00
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
<span title={i18n.t('expand_here')} class="pointer" onClick={linkEvent(this, this.handleImageExpandClick)}><img class="mx-2 mt-1 float-left img-fluid thumbnail rounded" src={post.url} /></span>
}
{post.url && isVideo(post.url) &&
<video controls autoPlay muted loop class="mx-2 mt-1 float-left img-fluid thumbnail rounded">
<video playsinline muted loop controls class="mx-2 mt-1 float-left" height="100" width="150">
<source src={post.url} type="video/mp4" />
</video>
}