Does anyone know if you can create a hot spot using mailto: so a user can click the hot spot to send an email?

  • 2
  • Question
  • Updated 2 months ago
I want to include a link at the end of my video so a viewer can click to send an email. Does anyone know how to do this? 
Photo of pheuser

pheuser

  • 3 Posts
  • 0 Reply Likes

Posted 2 months ago

  • 2
Photo of kayakman

kayakman, Champion

  • 7024 Posts
  • 2285 Reply Likes
I do not believe that is possible; for security reasons?
Photo of Rick Stone

Rick Stone

  • 5535 Posts
  • 2617 Reply Likes
It used to be possible, but TechSmith killed the functionality because they deemed it to be a security risk.

If you are hosting on ScreenCast.com or your own web hosting service, you COULD create an HTML page that has a MAILTO as part of a redirect that may work. The trick is to supply the link with a URL to link to.

The link below should help with setting up the HTML page.
https://stackoverflow.com/questions/3960669/django-how-to-redirect-to-mailto

Cheers... Rick :)
Photo of Dubie

Dubie

  • 1447 Posts
  • 1171 Reply Likes
As Rick mentions, about the only way is to setup a hosted redirect.

There are many ways to redirect a link.

One way I like to do it is with a delayed php redirect file that will open the viewers email client
already addressed where to send the email.  ie; a mailto: link

The reason I use a delayed redirect is so the viewer gets a message of what is happening
when they click the hotspot in the video. Transparency

Here is a live example:

When you click the button a new tab should open with a message followed by your email client opening with the address, subject line and some body text pre-filled.

https://demotestsite.info/test/mailto_vid/


On your hosting create a folder with a simple name like   mailto

In that folder put a redirect file with a name of index.php.
A browser looks for a index.xxx file in a folder and will open it.
So you can just make a link to the folder.

Here is the code I used in the index.php file.

<html>
<head>
<script type="text/javascript">
function delayedRedirect(){
    window.location = "mailto:example@example.com?subject=From Your Video&body=Hi, I'm emailing you from your video."
}
</script>
</head>
<body onLoad="setTimeout('delayedRedirect()', 3000)">
<h2>Opening Your Email Client</h2>
<br>
<p>I look forward to communicating with you</p>
</body>
</html>

The actual mailto link

mailto:example@example.com?subject=From Your Video&body=Hi, I'm emailing you from your video.


If you don't want to pre-fill the subject or body the link would just be

mailto:example@example.com


Anyways that's one way to hotspot out to a mailto: link.

If you need more setup info, let me know.


Dubie:)

(Edited)