How do you cast a media via google home voice assistant to chromecast? - actions-on-google

I have a video streaming web application like netflix. I am able to cast a media on my webapp to my TV. I would like to use google home to cast the media using its voice assistant. For example: 'Hey Google, play "Get Out" from <"my-weapp-name">'. This should play Get Out on my TV via a chromecast device that is plugged into my TV.
How do I use google action and/or dialogflow to do this?

Right now there is no public API that can be used for casting media through the Google Assistant.

Related

Google action not working in iphone's Google assistant application

I am developing Google Action. I am able to test with google assistant in android mobile successfully. But when I use my action in Iphone google assistant i am not able to access my google action. it says "to let me read out that information, turn on personal results in the google Home app". But I don't have Google home app. in android it is working without google home app. Is there any steps or settings need to change to make it work?

Code to play Youtube video in Google Assistant

How do we play videos from YouTube as a response to google assistant app?
As of now, if I say suppose Talk to Gurudev on google assistant app, it shows some videos, when I click them, they open as pop up on google assistant.
How do we achieve this feature in our app using dialogflow and fulfillments?
You can currently play audio files only in Actions on Google (see here). However, you can add a link to a YouTube video and clicking it will open YouTube and play the video. You can use a BasicCard or Carousel for that.
Not all features of the Google Assistant are available to developers.

Is it possible to test Google Smart Home in Google Console during developments?

I am experimenting with Google Smart Home. My end goal is to receive home control events, such as Turn the lights in the living room on, in my Dialogflow fulfillment service.
I am wondering if it is possible to develop and test Google Smart Home without actual devices. That is, it would be great if I could configure a Google HomeGraph configuration via browser and verify Google Smart Home actions via the console (console.actions.google.com).
Is this possible and practical?
No, currently it isn't possible to test smart home devices with the web-based Simulator. You will need to add the device using the Google Home app on your phone and can then test it using the phone's Assistant.
As an aside, you also can't develop it using Dialogflow directly - you'll need to use the Action SDK. (You can relay it to Dialogflow if you want - but since you just get events and not conversation, it really doesn't help you much.)

Trigger visual representation from google home

How can I display the results from an intent in Api Ai to users phone. So basically when user ask something to the google home, the response will be audio in his google home also a visual representation in his phone.
The best method we have at the moment would be to have your Action use something like Firebase Cloud Messaging to send a notification to the phone. There is currently no way to have a card or anything along those lines show up in the Google Assistant on the phone when you do something on Google Home's Assistant.

Google TV SDK send params from remote control mobile app to GoogleTV app

is possible to send parameters to my Google TV app from the mobile remote control app ( http://code.google.com/p/google-tv-remote/ ) to open my Google TV application and take these parameters?
The Google TV Remote app implements the Anymote protocol which has a fling message to send intents (with extra data) to a Google TV device: https://developers.google.com/tv/remote/docs/#flingevents