Face-recognition-project icon indicating copy to clipboard operation
Face-recognition-project copied to clipboard

Unable to see video-feed in the app

Open rsingh2083 opened this issue 5 years ago • 3 comments

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

rsingh2083 avatar Jun 17 '20 11:06 rsingh2083

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 :)

GraphtyLove avatar Nov 19 '20 22:11 GraphtyLove

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?

suonbo26 avatar May 16 '21 21:05 suonbo26

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?

rsingh2083 avatar May 17 '21 12:05 rsingh2083