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

Issue 29703633: Noissue - Abstracted embedded video for use in blog (Closed)

Created:
Feb. 20, 2018, 10:13 p.m. by juliandoucette
Modified:
Feb. 28, 2018, 8:27 p.m.
Reviewers:
ire
CC:
ben, wspee
Base URL:
https://hg.adblockplus.org/web.adblockplus.org
Visibility:
Public.

Description

Noissue - Abstracted embedded video for use in blog (I will create an issue soon / before publishing.) Context: Ben asked me to help him embed a video into a blog post. Previously, blog posters have been embedding video using an iframe and youtube-nocookie.com (which is not GDPR compliant because it doesn't ask for consent first like our homepage does). As a result, after consulting Judith (Ben consulted Judith, not me), I helped him embed the video the old way, and implemented a new way to replace the old asap. Ben may post the old way tomorrow if we are not able to finish this change in time at his own risk/discretion. All of this happened over IRC in the #websites channel Feb 20 2018 (You can download and search the logs if you like.)

Patch Set 1 #

Total comments: 11

Patch Set 2 : Moved no-js application and iframe height+width #

Total comments: 15

Patch Set 3 : Addressed #7, moved video* to main*, and refactored Video class #

Total comments: 4

Patch Set 4 : Addressed #9 and added urlencode to innerHTML #

Unified diffs Side-by-side diffs Delta from patch set Stats (+194 lines, -127 lines) Patch
M includes/index.tmpl View 1 2 3 1 chunk +6 lines, -6 lines 0 comments Download
M static/css/index.css View 2 chunks +6 lines, -73 lines 0 comments Download
M static/css/main.css View 1 2 1 chunk +85 lines, -0 lines 0 comments Download
M static/js/index.js View 1 2 chunks +0 lines, -48 lines 0 comments Download
M static/js/main.js View 1 2 3 1 chunk +97 lines, -0 lines 0 comments Download

Messages

Total messages: 12
juliandoucette
Feb. 20, 2018, 10:14 p.m. (2018-02-20 22:14:06 UTC) #1
juliandoucette
Added quick review / notes. https://codereview.adblockplus.org/29703633/diff/29703634/pages/test.html File pages/test.html (right): https://codereview.adblockplus.org/29703633/diff/29703634/pages/test.html#newcode1 pages/test.html:1: title=Video test Detail: I'm ...
Feb. 20, 2018, 10:28 p.m. (2018-02-20 22:28:11 UTC) #2
juliandoucette
Minor update before I call it a night. https://codereview.adblockplus.org/29703633/diff/29703634/pages/test.html File pages/test.html (right): https://codereview.adblockplus.org/29703633/diff/29703634/pages/test.html#newcode7 pages/test.html:7: document.documentElement.className ...
Feb. 20, 2018, 10:36 p.m. (2018-02-20 22:36:08 UTC) #3
ire
Thanks Julian, I wasn't able to test this out for some reason the patch was ...
Feb. 21, 2018, 9:11 a.m. (2018-02-21 09:11:29 UTC) #4
juliandoucette
On 2018/02/21 09:11:29, ire wrote: > Thanks Julian, I wasn't able to test this out ...
Feb. 21, 2018, 10:22 a.m. (2018-02-21 10:22:23 UTC) #5
juliandoucette
https://codereview.adblockplus.org/29703633/diff/29703642/includes/scripts/initialize-videos.html File includes/scripts/initialize-videos.html (right): https://codereview.adblockplus.org/29703633/diff/29703642/includes/scripts/initialize-videos.html#newcode2 includes/scripts/initialize-videos.html:2: document.addEventListener("DOMContentLoaded", function(event) On 2018/02/21 09:11:29, ire wrote: > Why ...
Feb. 21, 2018, 10:35 a.m. (2018-02-21 10:35:18 UTC) #6
ire
On 2018/02/21 10:22:23, juliandoucette wrote: > On 2018/02/21 09:11:29, ire wrote: > > Thanks Julian, ...
Feb. 22, 2018, 9:25 a.m. (2018-02-22 09:25:42 UTC) #7
juliandoucette
https://codereview.adblockplus.org/29703633/diff/29703642/includes/scripts/initialize-videos.html File includes/scripts/initialize-videos.html (right): https://codereview.adblockplus.org/29703633/diff/29703642/includes/scripts/initialize-videos.html#newcode2 includes/scripts/initialize-videos.html:2: document.addEventListener("DOMContentLoaded", function(event) On 2018/02/22 09:25:41, ire wrote: > > ...
Feb. 23, 2018, 1:31 p.m. (2018-02-23 13:31:08 UTC) #8
ire
LGTM https://codereview.adblockplus.org/29703633/diff/29703642/includes/scripts/initialize-videos.html File includes/scripts/initialize-videos.html (right): https://codereview.adblockplus.org/29703633/diff/29703642/includes/scripts/initialize-videos.html#newcode2 includes/scripts/initialize-videos.html:2: document.addEventListener("DOMContentLoaded", function(event) On 2018/02/23 13:31:07, juliandoucette wrote: > ...
Feb. 26, 2018, 6:33 p.m. (2018-02-26 18:33:18 UTC) #9
juliandoucette
Thanks Ire! New PatchSet up. I addressed your comments and added encodeURI to the innerHTML ...
Feb. 27, 2018, 1:10 p.m. (2018-02-27 13:10:40 UTC) #10
ire
On 2018/02/27 13:10:40, juliandoucette wrote: > Thanks Ire! New PatchSet up. I addressed your comments ...
Feb. 28, 2018, 9:23 a.m. (2018-02-28 09:23:18 UTC) #11
juliandoucette
Feb. 28, 2018, 8:27 p.m. (2018-02-28 20:27:29 UTC) #12

Powered by Google App Engine
This is Rietveld