Closed chinedu40 closed 1 year ago
What is the code necessary to send a video (mp4) file?
View documentation. It is necessary to specify video file url.
I did this:
service: whatsapp.send_message data: clientId: default to: XXXXXXXXX@s.whatsapp.net body: video: url: snapshots/snapshots_camera.camera.mp4
Upon receiving the message the play button is there but you are not able to play the video.
I did this:
service: whatsapp.send_message
data:
clientId: default
to: XXXXXXXXX@s.whatsapp.net
body:
video: url: snapshots/snapshots_camera.camera.mp4
Upon receiving the message the play button is there but you are not able to play the video.
Url must be public, try to move your file in www/ folder and access from https://
Same thing happens when i change it to url: http://XXX.XXX.XX.XX:8123/local/tmp/filename.mp4
Then video sends, but when you click play there is no video shown.
Same thing happens when i change it to url: http://XXX.XXX.XX.XX:8123/local/tmp/filename.mp4
Then video sends, but when you click play there is no video shown.
Is this url accessible from external network?
Sorry I think this was my error.
I was using the home assistant camera record service. I had to uncheck the box that is titled Lookback. After that it works as described.
What is the code necessary to send a video (mp4) file?