Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: pages/test.html

Issue 29703633: Noissue - Abstracted embedded video for use in blog (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Created Feb. 20, 2018, 10:13 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 title=Video test
juliandoucette 2018/02/20 22:28:10 Detail: I'm not planning to push this page. I just
2
3 <head>
4 <link rel="stylesheet" href="/css/video.css" />
juliandoucette 2018/02/20 22:28:10 NIT: The "/" is unnecessary here.
5 <script src="/js/video.js"></script>
juliandoucette 2018/02/20 22:28:11 Detail: I wasn't sure about including this js/css
6 <script>
7 document.documentElement.className = "js";
juliandoucette 2018/02/20 22:28:11 NIT/Detail: This was only done inside index.js pre
juliandoucette 2018/02/20 22:36:07 Done.
ire 2018/02/21 09:11:29 My bad! Do you want to push this change separately
8 </script>
9 </head>
10
11 <div class="video-parent">
12 <a
13 class="video-link"
14 target="_blank"
15 href="https://www.youtube-nocookie.com/embed/pVYtzF5SemU?html5=1&amp;autohid e=1&amp;enablejsapi=1&amp;controls=2&amp;fs=1&amp;modestbranding=1&amp;rel=0&amp ;showinfo=0&amp;theme=light&amp;autoplay=1">
16 <img
17 class="video-thumbnail"
18 src="/img/video-thumbnail.jpg"
19 alt="{{ video-alt-text Introduction to Adblock Plus video thumbnail }}">
20 <img
21 class="video-play"
22 src="/img/video-external.png"
23 alt="{{ video-play-alt-text Play Video }}">
24 </a>
25 <p class="video-disclaimer">
26 {{ video-disclaimer Click to play this video. Please note that this video is hosted by YouTube. When this video is played, some personal data is transferred to YouTube. For more information, please review YouTube's <a href='https://www. google.com/intl/en/policies/privacy/' target='_blank'>privacy policy</a>. }}
27 </p>
28 </div>
29
30 <div class="video-parent" style="max-width: 520px; margin-top: 1em;">
juliandoucette 2018/02/20 22:28:11 Detail: The first video demonstrates that this com
31 <a
32 class="video-link"
33 target="_blank"
34 href="https://www.youtube-nocookie.com/embed/pVYtzF5SemU?html5=1&amp;autohid e=1&amp;enablejsapi=1&amp;controls=2&amp;fs=1&amp;modestbranding=1&amp;rel=0&amp ;showinfo=0&amp;theme=light&amp;autoplay=1">
35 <img
36 class="video-thumbnail"
37 src="/img/video-thumbnail.jpg"
38 alt="{{ video-alt-text Introduction to Adblock Plus video thumbnail }}">
39 <img
40 class="video-play"
41 src="/img/video-external.png"
42 alt="{{ video-play-alt-text Play Video }}">
43 </a>
44 <p class="video-disclaimer">
45 {{ video-disclaimer Click to play this video. Please note that this video is hosted by YouTube. When this video is played, some personal data is transferred to YouTube. For more information, please review YouTube's <a href='https://www. google.com/intl/en/policies/privacy/' target='_blank'>privacy policy</a>. }}
46 </p>
47 </div>
48
49 <? include scripts/initialize-videos ?>
OLDNEW

Powered by Google App Engine
This is Rietveld