GraphtyLove / Face-recognition-project

Automate attendance record. React & Python
MIT License
129 stars 107 forks source link

Unable to see video-feed in the app #24

Open rsingh2083 opened 4 years ago

rsingh2083 commented 4 years ago

Hi Maxim,

I ran the app but unable to see video-feed in the app. ERROR_SNAPSHOT

I changed line no.29 in Face-recognition-project/FRONT/late-checker/src/Components/VideoFeed/ to - src="//:0" Still cant see anything, just blank canvas in video

Chrome Console shows this error:-

Warning: Received `true` for a non-boolean attribute `webkitallowfullscreen`.

If you want to write it to the DOM, pass a string instead: webkitallowfullscreen="true" or webkitallowfullscreen={value.toString()}.
    in iframe (at VideoFeed.jsx:24)
    in section (created by Context.Consumer)
    in StyledComponent (created by styled.section)
    in styled.section (at VideoFeed.jsx:22)
    in VideoFeed (at App.js:31)
    in main (created by Context.Consumer)
    in StyledComponent (created by [styled.main)]
    in styled.main (at App.js:30)
    in App (at src/index.js:7) index.js:1375
GraphtyLove commented 4 years ago

It all depends on the video feed you want to use, integrate a webcam video feed in react shouldn't be that hard to do :)

suonbo26 commented 3 years ago

Hi Maxim,

I ran the app but unable to see video-feed in the app. ERROR_SNAPSHOT

I changed line no.29 in Face-recognition-project/FRONT/late-checker/src/Components/VideoFeed/ to - src="//:0" Still cant see anything, just blank canvas in video

Chrome Console shows this error:-

Warning: Received `true` for a non-boolean attribute `webkitallowfullscreen`.

If you want to write it to the DOM, pass a string instead: webkitallowfullscreen="true" or webkitallowfullscreen={value.toString()}.
    in iframe (at VideoFeed.jsx:24)
    in section (created by Context.Consumer)
    in StyledComponent (created by styled.section)
    in styled.section (at VideoFeed.jsx:22)
    in VideoFeed (at App.js:31)
    in main (created by Context.Consumer)
    in StyledComponent (created by [styled.main)]
    in styled.main (at App.js:30)
    in App (at src/index.js:7) index.js:1375

Hi rsingh2083,

I encounter the same issue as you. Did you fix this issue already?

rsingh2083 commented 3 years ago

Nope, still waiting for someone to resolve

Hi Maxim, I ran the app but unable to see video-feed in the app. ERROR_SNAPSHOT I changed line no.29 in Face-recognition-project/FRONT/late-checker/src/Components/VideoFeed/ to - src="//:0" Still cant see anything, just blank canvas in video Chrome Console shows this error:-

Warning: Received `true` for a non-boolean attribute `webkitallowfullscreen`.

If you want to write it to the DOM, pass a string instead: webkitallowfullscreen="true" or webkitallowfullscreen={value.toString()}.
    in iframe (at VideoFeed.jsx:24)
    in section (created by Context.Consumer)
    in StyledComponent (created by styled.section)
    in styled.section (at VideoFeed.jsx:22)
    in VideoFeed (at App.js:31)
    in main (created by Context.Consumer)
    in StyledComponent (created by [styled.main)]
    in styled.main (at App.js:30)
    in App (at src/index.js:7) index.js:1375

Hi rsingh2083,

I encounter the same issue as you. Did you fix this issue already?