Closed Bug 1320666 Opened 8 years ago Closed 8 years ago

Embed Rust video in modal overlay on /technology landing page

Categories

(www.mozilla.org :: Pages & Content, defect)

Production
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: agibson, Assigned: agibson)

Details

Attachments

(1 file)

We want to show one of the new videos [1] on Rust in an overlay modal when clicking the blue CTA button on the /technology landing page:

https://www.mozilla.org/technology/

This will also require changing the "Learn more" text to "Watch now"

[1] https://www.youtube.com/watch?list=PLo3w8EB99pqJ74XIGe72c9hBZWz9Y16cY&v=8EPsnf_ZYU0 (assuming this is the video for now)
Assignee: nobody → agibson
Status: NEW → ASSIGNED
Speaking to Flod, the service we've used to translate subtitles for YouTube video's in the past has been: http://amara.org/en/

Unclear if this is something we plan on doing here, or if the video will just be en-US.
The plan going forward is to play the video in English for now (to all locales), whilst we put the gears in place to start translating captions. We know this isn't ideal, but need to move forward with the request. Will use YouTube iframe API for the video, as this has the best (easiest) long term support for subtitles.
Attached file GitHub pull request
This is now up on demo:

https://bedrock-demo-agibson.us-west.moz.works/en-US/technology/

Peter, I've added two GA events as follows:

Video play:

window.dataLayer.push({
    'event': 'video-play',
    'videoTitle': 'Rust and the Future of Systems Programming'
});


Video complete:

window.dataLayer.push({
    'event': 'video-complete',
    'videoTitle': 'Rust and the Future of Systems Programming'
});

Please let me know if you need something extra/different, thanks.
Flags: needinfo?(peter.german.bugs)
Can you make the following tweaks?

window.dataLayer.push({
    'event': 'video-interaction', //change event name
    'videoTitle': '<title>',//no change required
    'interaction': '<action>',//values include 'video play', 'video pause', 'video complete'

});
Flags: needinfo?(peter.german.bugs) → needinfo?(agibson)
LMK when it is time to re-test.

Thanks!
Flags: needinfo?(agibson)
(In reply to pgerman from comment #6)
> LMK when it is time to re-test.
> 
> Thanks!

Updated on demo, should be good to test. Thanks
Its all good. Thanks!
Commits pushed to master at https://github.com/mozilla/bedrock

https://github.com/mozilla/bedrock/commit/7bcf2969623cd0b3bf06f9aa5ad2ae061e73634f
[fix bug 1320666] Embed Rust video in modal overlay on /technology landing page

https://github.com/mozilla/bedrock/commit/089b86fba93855320bca6d64ec0cfde79119530f
Merge pull request #4496 from alexgibson/bug-1320666-rust-video-technology-page

[fix bug 1320666] Embed Rust video in modal overlay on /technology landing page
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: