diff --git a/app/assets/javascripts/components/components/video_player.jsx b/app/assets/javascripts/components/components/video_player.jsx index fa0675413..9fab6d7c1 100644 --- a/app/assets/javascripts/components/components/video_player.jsx +++ b/app/assets/javascripts/components/components/video_player.jsx @@ -4,7 +4,16 @@ import IconButton from './icon_button'; const VideoPlayer = React.createClass({ propTypes: { - media: ImmutablePropTypes.map.isRequired + media: ImmutablePropTypes.map.isRequired, + width: React.PropTypes.number, + height: React.PropTypes.number + }, + + getDefaultProps () { + return { + width: 196, + height: 110 + }; }, getInitialState () { @@ -21,7 +30,7 @@ const VideoPlayer = React.createClass({ render () { return ( -
+
diff --git a/app/assets/javascripts/components/features/account/components/action_bar.jsx b/app/assets/javascripts/components/features/account/components/action_bar.jsx index 9fa9fff3d..75b26775c 100644 --- a/app/assets/javascripts/components/features/account/components/action_bar.jsx +++ b/app/assets/javascripts/components/features/account/components/action_bar.jsx @@ -16,11 +16,11 @@ const ActionBar = React.createClass({ render () { const { account, me } = this.props; - let followBack = ''; + let infoText = ''; let actionButton = ''; if (account.get('id') === me) { - actionButton = 'This is you!'; + infoText = 'This is you!'; } else { if (account.getIn(['relationship', 'following'])) { actionButton =