Skip to content
Permalink
Browse files

Allow inline video plays

  • Loading branch information...
koenbok committed Nov 11, 2014
1 parent af57e3d commit 92b4ee13ddfafcbc01018549b7931b23595298a3
Showing with 2 additions and 0 deletions.
  1. +2 −0 framer/VideoLayer.coffee
@@ -7,8 +7,10 @@ class exports.VideoLayer extends Layer
super options

@player = document.createElement("video")
@player.setAttribute("webkit-playsinline", "true")
@player.style.width = "100%"
@player.style.height = "100%"


# Make it work with .on and .off
# https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Media_events

0 comments on commit 92b4ee1

Please sign in to comment.
You can’t perform that action at this time.