Simplify video playback in emails: ensure instant playback, no download screen required
P粉242535777
P粉242535777 2024-03-30 17:12:51
0
1
552

I'm not sure "which wall the ladder should be against" here, or even the correct terminology for what I'm trying to do. I have been developing software for an agricultural research company for many years. We have an Android app that performs a number of functions, including uploading field photos (e.g. crop growth stage) as well as metadata (trial number, comments, agronomist name). These are included in reports that are automatically emailed to my client's clients on a daily basis.

Recently we added video capture (up to 20 seconds, 4 or 5 Mb, 480p) which is now included in daily reports.

My client is happy with this, but doesn't like the way clicking on the image in the report first takes the end client to the download page, and then they have to click on the downloaded file. They want the end customer to click on the video and play it immediately.

The following is a typical piece of HTML in the body of an email:

<td> 
  <a href='http://<our web site>/GoTrialImages/HiRes/KA21_0001_20230213_124221_ACE_Video.mp4'>
  <img src='http://<our web site>/GoTrialImages/LoRes/KA21_0001_20230213_124221_ACE.jpg'>
</td>

Where the jpg has been grabbed as a frame from the mp4 file in the Android application and uploaded along with the mp4 file.

We store all jpg and mp4 files on our own server without any issues and we have full control over our running IIS service. We can also write and install our own application under IIS (although so far this is just an api to upload and download data between the central system and the Android application)

Can someone point me in the right direction to start researching?

  1. Some clever HTML snippet would be great, but unlikely
  2. Perhaps it is a service similar to YouTube, which plays the video immediately after clicking it
  3. I was able to install some clever C# code in our own IIS server
  4. Anything else?

Also - what is the correct terminology for what I'm trying to do?

Thank you very much in advance Tony

P粉242535777
P粉242535777

reply all(1)
P粉076987386

Make sure there is an available .mp4 mime type in iis

You can use html, css and JavaScript to complete your requirements as follows: How to play a video as a popup window when clicking a button in html

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template