Skip to content

Instantly share code, notes, and snippets.

@Onurtag
Last active August 29, 2020 08:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Onurtag/e3ced7a6170951fc131ddd098eabdb82 to your computer and use it in GitHub Desktop.
Save Onurtag/e3ced7a6170951fc131ddd098eabdb82 to your computer and use it in GitHub Desktop.
Youtube Email Notification Template
<!--
Youtube Email Notification Template
Here are the required DUMMY Values with examples to be replaced with their real values.
dummy value (example)
___________ _________
DUMMYCHANNELNAME (My Channel)
DUMMYCHANNELURL (https://****)
DUMMYCHANNELIMAGEURL (https://***********.jpg or .webp etc.)
DUMMYVIDEOTITLE (My New Video)
DUMMYVIDEOURL (https://****)
DUMMYVIDEOIMAGEURL (https://***********.jpg or .webp etc.)
DUMMYVIDEOLENGTH (05:23)
-->
<table valign="top" style="margin-top:14px;" width="680" cellspacing="0" cellpadding="0" border="0" bgcolor="transparent" align="center">
<tbody>
<tr>
<td width="40"></td>
<td width="600">
<table width="600" cellspacing="0" cellpadding="0" border="0" align="center">
<tbody>
<tr>
<td>
<table valign="center" width="600" cellspacing="0" cellpadding="0" border="0" align="left">
<tbody>
<tr>
<td width="584" valign="center">
<a target="_blank" href="https://www.youtube.com/"><img src="https://www.gstatic.com/youtube/img/branding/youtubelogo/1x/youtubelogo_60.png" style="display:block" height="30" border="0"></a>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td height="20"></td>
</tr>
<tr>
<td>
<table valign="center" width="600" cellspacing="0" cellpadding="0" border="0" align="center">
<tbody>
<tr>
<td>
<table width="600" cellspacing="0" cellpadding="0" border="0" align="center">
<tbody>
<tr>
<td colspan="3">
<a style="text-decoration:none;display:block" class="nonplayable" target="_blank" href="DUMMYVIDEOURL">
<table style="background-repeat:no-repeat;background-size:cover;background-position:center" width="600" height="338" cellspacing="0" cellpadding="0" border="0" background="DUMMYVIDEOIMAGEURL" align="center">
<tbody>
<tr>
<td>
<img src="https://www.gstatic.com/youtube/img/email/transparent_pixel.png" style="max-height:300px" data-image-whitelisted="" alt="DUMMYVIDEOTITLE" width="600">
</td>
</tr>
<tr scope="row">
<td style="color:#fff;text-align:right;font-size:12px" width="600" valign="bottom">
<div style="margin-bottom:8px;margin-right:8px;border-radius:2px;background-color:#212121;padding:2px 4px;display:inline-block">DUMMYVIDEOLENGTH</div>
</td>
</tr>
</tbody>
</table>
</a>
</td>
</tr>
<tr>
<td>
<table height="16" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td height="16"></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table style="table-layout:fixed" width="560" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td style="vertical-align:top" width="48">
<a target="_blank" href="DUMMYCHANNELURL">
<img style="display:block;border-radius:50%" data-image-whitelisted="" src="DUMMYCHANNELIMAGEURL" width="48" border="0">
</a>
</td>
<td width="16"></td>
<td>
<table style="table-layout:fixed" width="540" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td valign="center">
<table style="table-layout:fixed" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td style="padding-bottom:4px">
<a style="text-decoration:none" target="_blank" href="DUMMYVIDEOURL">
<span valign="center" style="font-family:Roboto,sans-serif;font-size:14px;color:#212121;line-height:20px">
DUMMYVIDEOTITLE
</span>
</a>
</td>
</tr>
<tr>
<td>
<a style="font-family:Roboto,sans-serif;font-size:12px;color:#757575;line-height:16px;letter-spacing:0px;text-decoration:none" target="_blank" href="DUMMYCHANNELURL">
DUMMYCHANNELNAME
</a>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table height="16" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td height="16"></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<hr style="display:block;height:1px;border:0;border-top:1px solid #eaeaea;margin-bottom:16px;padding:0">
</td>
</tr>
</tbody>
</table>
</td>
<td width="40"></td>
</tr>
</tbody>
</table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment