diff options
Diffstat (limited to 'public')
| -rw-r--r-- | public/assets/js/lib/ProjectView.js | 4 | ||||
| -rw-r--r-- | public/assets/ok.css | 3 |
2 files changed, 6 insertions, 1 deletions
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("<iframe src='" + uri + "'>") }) + this.$videos.each(function(){ + var uri = $(this).data("uri") + $(this).html("<video src='" + uri + "' autoplay loop>") + }) } app.nav.setActive( this.project_id ) diff --git a/public/assets/ok.css b/public/assets/ok.css index 971be6c..876354b 100644 --- a/public/assets/ok.css +++ b/public/assets/ok.css @@ -602,7 +602,8 @@ button.previous { } .cell, -.cell iframe { +.cell iframe, +.cell video { width: 100vw; height: 100%; background-position: top center; |
