Note: if you are sending youtube link, You must ensure the URL contains embed rather watch as the /embed endpoint allows outside requests, whereas the /watch endpoint does not. stackoverflow reference.
sending video attachment from domain.yml
utter_greet:
- text: "Hey! How are you?"
attachment: { "type":"video", "payload":{ "src": "https://youtube.com/embed/9C1Km6xfdMA" } }
@JiteshGaikwad bro when I send attachment from domain file it wasn’t show me anything and when I send attachment from actions file it showing error like this:
But video showed but not autoplayed. my issue is i want to connect it with a phone bot where pre recorded recordings should autoplay. Chrome and Firefox stops from autoplay but its not working in phone bot either.
No it didnt worked. Although locally saved video files are autoplaying but when i m just trying to figure out a way to autoplay via a link or saved locally over GCP.
On my windows system i used this to make utterance worked for autoplay :
How did you play the video from your local ? I am getting error that Not allowed to load from local resource when trying to play the video from my local whereas youtube videos are getting played…
Could you please help ?
This is the error i am getting in console…Not allowed to load from local resource… I even tried disabling chrome’s web security using flags etc… but still the same error…