Skip to content

Commit

Permalink
add video poster
Browse files Browse the repository at this point in the history
  • Loading branch information
trazyn committed Aug 1, 2017
1 parent 63d3fa6 commit fbf4175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/pages/Home/ChatContent/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export default class ChatContent extends Component {
let video = message.video;

return `
<video preload="metadata" controls src="${video.src}" />
<video preload="metadata" poster="${video.cover}" controls src="${video.src}" />
`;

case 49 + 2000:
Expand Down

0 comments on commit fbf4175

Please sign in to comment.