How do I create a QR code scanner that can display a video?

How do I create a QR code scanner that can display a video? I know how to get it to show text, but how can I get it to show a video?

Is there any way I can create a QR code scanning app that can also show videos?

Welcome Kyson.
It's not possible to encode a video to QR code, but you can encode the video's url/path to QR code.

In case your scanner also used to scan text/image, you can encode like this:
["video","video path here"]

or
["text","just some plain text here"]

or
["image","your image path"]

Then after scan, you can decide how to show the content, in video or image or text.