From 1d919f27ee831abf2ae43aab81443d46233d1d5f Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 5 Apr 2016 10:47:11 -0400 Subject: embed videos --- db.json | 8 ++++---- public/assets/js/lib/ProjectView.js | 4 ++++ public/assets/ok.css | 3 ++- templates/index.liquid | 2 +- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/db.json b/db.json index 5214fb8..a4f386d 100644 --- a/db.json +++ b/db.json @@ -76,7 +76,7 @@ "media": [ { "type": "video", - "token": "", + "token": "http://okfocus.s3.amazonaws.com/video/stone-island-app.mp4", "width": "1920", "height": "1080", "title": "stone-island-app.mp4", @@ -347,7 +347,7 @@ "media": [ { "type": "video", - "token": "", + "token": "http://okfocus.s3.amazonaws.com/video/overlayer-app.mp4", "width": "1920", "height": "1080", "title": "overlayer-app.mp4", @@ -590,7 +590,7 @@ "media": [ { "type": "video", - "token": "", + "token": "http://okfocus.s3.amazonaws.com/video/drake-shake-app.mp4", "width": "1920", "height": "1080", "title": "drake-shake-app.mp4", @@ -691,7 +691,7 @@ "media": [ { "type": "video", - "token": "", + "token": "http://okfocus.s3.amazonaws.com/video/newemoticons-app.mp4", "width": "1920", "height": "1080", "title": "newemoticons-app.mp4", diff --git a/public/assets/js/lib/ProjectView.js b/public/assets/js/lib/ProjectView.js index 3eece8f..08538ee 100644 --- a/public/assets/js/lib/ProjectView.js +++ b/public/assets/js/lib/ProjectView.js @@ -100,6 +100,10 @@ var ProjectView = View.extend({ var uri = $(this).data("uri") $(this).html("