remove logging

This commit is contained in:
Travis Eden 2017-12-29 15:45:32 -05:00
parent a8988d9e05
commit bfe5fe851a
2 changed files with 0 additions and 9 deletions

View file

@ -38,8 +38,6 @@ class VideoPlayer extends React.PureComponent {
id, id,
} = this.props; } = this.props;
console.log("position:", position);
const loadedMetadata = e => { const loadedMetadata = e => {
this.setState({ hasMetadata: true, startedPlaying: true }); this.setState({ hasMetadata: true, startedPlaying: true });
this.refs.media.children[0].play(); this.refs.media.children[0].play();

View file

@ -11,13 +11,6 @@ export const selectMediaPaused = createSelector(
export const makeSelectMediaPositionForUri = uri => export const makeSelectMediaPositionForUri = uri =>
createSelector(_selectState, state => { createSelector(_selectState, state => {
// console.log("select positions:", state.positions);
// const videoId = lbryuri.parse(uri).claimId;
// console.log("videoId:", videoId);
// const position = state.positions[videoId];
// console.log("position:", position);
// console.log("positions:", state.positions);
const obj = lbryuri.parse(uri); const obj = lbryuri.parse(uri);
console.log("state.positions:\n", state.positions);
return state.positions[obj.claimId] || null; return state.positions[obj.claimId] || null;
}); });