Cast your device or video to smart tv

Hi, I wanted to understand if there was a way or an extension to share the video or the screen of the device with the smart TV via wifi like YouTube does

Welcome Valerio.

Perhaps Launching App Inventor 2 IDE on Android TV might provide some insight.

I would need to implement some sort of (web video caster) in my application to be able to stream movies directly to the smart TV without going through third-party applications

I suspect you are not going to be able to stream movies directly to smart TV using App Inventor (which is a third party app incidentally :slightly_smiling_face: ) Here are some links to help you decide what to do.