Hi!
I made a sample qrcode generator using this links:
https://nextstepcreations.com.au/qr-codes-in-powerapps-quick-powerful/
https://goqr.me/api/
I use textinput, button, and image control to generate the code.
My onscan of barcode scanner is
Launch(BarcodeScanner2_2.Value)
I can visit webpages generated in the image control with a variable qrCode, But when i sample a youtube video. Im getting "error occurred" and a playback id