Code to play Youtube video in Google Assistant - actions-on-google

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.

Related

Play video fullscreen from Watson chatbot

I'm creating a chatbot using watson and integrate it into Facebook Messenger or skype. At some point I would like to show a video to the user. I have read that this can be done by using HTML (embedding the video in Facebook Messenger).
Is there also a possibility to show the video in fullscreen (embedding in Facebook Messenger would not be fullscreen)? So the goal is to play the video in fullscreen and after having the video played automatically returning to Facebook Messenger for continuing the chat with the bot.
Edit: I have to specify it more. I thought about providing the user a link to a video file stored locally on the smartphone (or just a preview image of the video the user can click on it). When the user clicks on it a video player opens and plays the video. After the video is finished it returns to the Messenger chatbot.

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

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.

How to get links from a Google Action to appear in the Google Home App?

How can links to URLs be sent from a Google Action to the Google Home App? I'm referring to the blue text boxes that appear on the Discover tab of the Google Home App.
For example, if someone uses the Google Home smart speaker to search for a recipe, if the result is from the Food Network, a link to the full recipe URL will appear in the app.
I'm using API.AI to build the action, with the node.js library provided by Google. I've successfully built rich media cards that contain the link, and they appear in the Google Actions simulator and on the Google Pixel platform -- but nothing appears in the Google Home App.
Thank you!
Screen Capture
The Actions SDK currently only supports the display of cards as part of the action user interface on devices with screens.

Force any link in Google Maps API to open in iPhone Safari

I am using Google Maps API V3 in my PhoneGap app using jQuery Mobile
Problem is when I click on ANY links inside the map view, including the Google logo and Google terms and conditions link the link takes over the app.
How can I force all links to open into iPhone Safari.

How to playing youtube remote video urls on google tv for my android app

Iam new to developing apps on google tv.I want to run my android movies app in google tv.So,how to develop my movies app on google tv and playing youtube movies from given remote url when click list of mvies in google tv.Please give the suggesstions or sample code
See Google TV Developer guide:
https://developers.google.com/tv/android/
and sample apps:
https://developers.google.com/tv/android/docs/gtv_demo_samples