Interviewed by CNN on 05/07/2013 12:21, Jim told the world:
Hi all --

I'm sure this had been asked before --

How does one embed a video in an email?

I tried embedding a youtube video of the Pikes Peak International Hill
Climb in an email.

I used the youtube generated coded by inserting it into an html email:

<iframe

src="http://www.youtube.com/embed/h-gqSBxHY04?feature=player_embedded";
        allowfullscreen="" frameborder="0" height="360" width="640"></iframe>

(Inserted that in the body).

When I sent the email to myself, I just got a black-colored box the size
of the video.  When I click on the box, nothing happens.

Is this even possible?  (I understand that embedding videos in email is
frowned upon because of security considerations).  My ISP did not strip
any of the code out of the email, and I downloaded the email to my PC to
check it out.

Generally speaking, email clients do not support Javascript, even in iframes (which to my way of thinking, shouldn't be supported in e-mail anyway). The ones which DO support Javascript in e-mail messages (mostly very old versions of Microsoft software) should be avoided like the plague. Because, well, they are the equivalent of a horde of Black Death-infected rats.

The Youtube online player relies on Javascript, so it won't run within any e-mail app worth its salt.

Mailing the video as an attachment should be possible, but it's doubtful that it will play inline inside the message -- that's highly dependent on the capabilities of the e-mail program your recipient is using. But your recipient should be able to launch the attached video on their system's default media player. However, video files tend to be large, which means your recipients might not be thrilled at receiving a multi-megabyte e-mail message.

You might have slightly less terrible chances of success by using an HTML5-compatible video format and HTML5 <video> element to embed it.

--
MCBastos

This message has been protected with the 2ROT13 algorithm. Unauthorized use will be prosecuted under the DMCA.

-=-=-
... Sent from my Barbie Dream Computer.
* Added by TagZilla 0.7a1 running on Seamonkey 2.17 *
Get it at http://xsidebar.mozdev.org/modifiedmailnews.html#tagzilla
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to