I am trying to use the below code to attach a video to a notification. I have referred to the documentation and made sure that the video is in MP4 format (H264), is less than 50MB in size (1MB), and is of reasonable length (10s). The video path is /media/test.mp4.
With the below code, the notification comes through with no video. A notification with an image instead from the same location is attached without issue.
service: notify.adams_phone
data:
message: "Motion detected"
data:
video: /media/local/test.mp4
I appreciate any help. Thanks.