Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!

Share YouTube and Dailymotion with Mail.app templates Apps
As they didsn't seem to exist, I have created two Mail templates to make it easy to share YouTube and Dailymotion videos within Mail.app. You can find everything you need on this page within my site.

Double-click on Dailymotion.mailstationery and YouTube.mailstationery to install them. Then place the Create New Dailymotion Message.scpt and Create New YouTube Message.scpt scripts in your user's Library » Scripts folder to get to them on the menu bar. Launch the relevant script for the site you're viewing, then copy/paste the permalink for Dailymotion or the URL for YouTube, and your email will be ready to send.

Feel free to improve these to suit to your needs.

[robg adds: The linked page is in French, but it's fairly easy to see the four items that need to be downloaded. In case the original site ever vanishes, I have mirrored all four files here on macosxhints.com.]
    •    
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[3,036 views]  

Share YouTube and Dailymotion with Mail.app templates | 3 comments | Create New Account
Click here to return to the 'Share YouTube and Dailymotion with Mail.app templates' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Share YouTube and Dailymotion with Mail.app templates
Authored by: robleach on Thu, Jul 30 2009 at 11:02AM PDT
I finally got this to work. Note, your mail preferences must be set to compose new emails in rich text format. I had mine set to plain text, so it wasn't working. Also note, you have to double-click the stationary once to unzip it, then once to install it. Plus, putting the script in the User's Library/Scripts folder did not put it in the menu bar for me (in Mail or Safari). I have no idea how to make it appear and where it will be if it does show up. So I've been running it with the run button in the script editor app. I never use scripts in Mail. Another thing that's also not made clear (the hint implies that calling the script will grab the vid from the currently displayed page in Safari but not true the way I ran it) is that you must paste the URL of the youtube page you want the video from in a dialog box that comes up (which is not very descriptive - I just did it on a guess). Now I just have to figure out how to get two vids in one email. Hopefully I'll be able to figure that out without too much trouble...

Rob

[ Reply to This | # ]
Share YouTube and Dailymotion with Mail.app templates
Authored by: robleach on Thu, Jul 30 2009 at 11:05AM PDT
OK. Also note that not all youtube URLs work. You may need to find the video's code in the URL, e.g. Vi9xgE7ZCeg, and prepend this: http://www.youtube.com/watch?v= so that you have something like this:

http://www.youtube.com/watch?v=Vi9xgE7ZCeg

I grabbed this one from this youtube URL:

http://www.youtube.com/user/davisthurber#play/all/uploads-all/2/Vi9xgE7ZCeg

Rob

[ Reply to This | # ]
Share YouTube and Dailymotion with Mail.app templates
Authored by: robleach on Thu, Jul 30 2009 at 11:24AM PDT
Well, it looks like this isn't very customizable. I wanted to embed the vid in a regular email, but it looks like you're forced to enter text in only one small spot... I'm in a hurry, so I guess I'll abandon this effort and just send links instead of vids.

[ Reply to This | # ]