7 Replies Latest reply on Dec 21, 2015 10:56 AM by Scott A Johnson

    How to post post a video in a direct message ?

    laurent.ducamp@ext.adeo.com

      Hello,

       

      I'm trying to use the direct message endpoint /dms. And, I can't put a video (or gif too). I send HTML 5 with video tag but, it's failed.

       

      I there a way to send video in with DMS ?

       

      I try :

       

      curl -u user:password -H "Content-Type: application/json" --data '{ "subject":"Bonne année et meilleurs voeux", "content": { "type":"text/html","text": "<body><p>Hello HTML 5</p><video width=\"320\" height=\"240\" src=\"http://www.w3schools.com/tags/movie.mp4\"></video></body>"}, "participants": [ "https://younity.groupeadeo.com/api/core/v3/people/85804"]}' https://younity.groupeadeo.com/api/core/v3/dms

       

      I receive a message, but video, seem freeze. When, I tested my file in local html file, it works !!