remove logging
This commit is contained in:
parent
a8988d9e05
commit
bfe5fe851a
2 changed files with 0 additions and 9 deletions
|
@ -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();
|
||||||
|
|
|
@ -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;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue