Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Commit

Permalink
Merge pull request #173 from glogiotatidis/fix-video-src
Browse files Browse the repository at this point in the history
[bug 1289507] Update video links.
  • Loading branch information
jgmize committed Jul 28, 2016
2 parents d6a1227 + b2cf69a commit 9122b60
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions careers/careers/static/js/careers.js
Expand Up @@ -582,9 +582,9 @@
var videoWrapper = $('<div class="video-wrapper"></div>');
var videoModalOpen = $('<button class="video-modal-open" type="button"></button>');

var videoInternsSrcMp4 = '<source src="//videos.cdn.mozilla.net/serv/hr/' + videoPlayer.fileName + '.mp4" type="video/mp4" />';
var videoInternsSrcWebm = '<source src="//videos.cdn.mozilla.net/serv/hr/' + videoPlayer.fileName + '.webm" type="video/webm" />';
var videoInternsSrcOgv = '<source src="//videos.cdn.mozilla.net/serv/hr/' + videoPlayer.fileName + '.ogv" type="video/ogg" />';
var videoInternsSrcMp4 = '<source src="//videos.cdn.mozilla.net/uploads/hr/' + videoPlayer.fileName + '.mp4" type="video/mp4" />';
var videoInternsSrcWebm = '<source src="//videos.cdn.mozilla.net/uploads/hr/' + videoPlayer.fileName + '.webm" type="video/webm" />';
var videoInternsSrcOgv = '<source src="//videos.cdn.mozilla.net/uploads/hr/' + videoPlayer.fileName + '.ogv" type="video/ogg" />';


// Append HTML Elements
Expand Down
4 changes: 2 additions & 2 deletions careers/careers/templates/careers/home.jinja
Expand Up @@ -273,14 +273,14 @@
data-video-ga-interaction="Community & Culture Interactions" data-video-ga-name="Firefox Monument 2014 Video">
<h4>Firefox Monument</h4>
<p>Our tribute to the more than 4,500 people who have helped make Firefox what it is today.</p>
<p><a href="https://videos.cdn.mozilla.net/serv/hr/Firefox_Monument_2014.mp4">watch video</a></p>
<p><a href="https://videos.cdn.mozilla.net/uploads/hr/Firefox_Monument_2014.mp4">watch video</a></p>
</div>

<div class="community-box community-interns video-player" data-video-file-name="rubic-cube"
data-video-ga-interaction="Community & Culture Interactions" data-video-ga-name="Creative Interns Video">
<h4>Creative interns</h4>
<p>A recent group of interns re-created our beloved Firefox out of Rubik’s Cubes. Showoffs.</p>
<p><a href="https://videos.cdn.mozilla.net/serv/hr/rubic-cube.mp4">watch video</a></p>
<p><a href="https://videos.cdn.mozilla.net/uploads/hr/rubic-cube.mp4">watch video</a></p>
</div>
<div class="community-box community-reps">
<h4>Mozilla Reps</h4>
Expand Down

0 comments on commit 9122b60

Please sign in to comment.