[GUIDE] How To Cast Video Whitout Extension

Today I will teach you how to configure video casting in your application without using extensions

1. First Step

image
image
Add the Activity Starter component to your project and configure the action to the following code

android.intent.action.VIEW

2. Next Step

image
Set the Data URI block with a join
This join needs to contain 3 strings to configure the following URI

wvc-x-callback://open?url=https://your-url.com/movie.mp4&secure_uri=true

ps.: don’t forget to change the url

3. To Finish
image
we will need to check if the user has the Web Video Caster Receiver application installed on his device and with the Activity Error event, if he does not, we will send the user to the application download page.

https://play.google.com/store/apps/details?id=com.instantbits.cast.receiver

Congratulations, now you can cast your content on your Smart TV

6 Likes