Permalink
Browse files

Fixed video layer bug #197

  • Loading branch information...
koenbok committed Apr 3, 2015
1 parent 2b7855d commit c518763ec8574d6817520d3598524af9ea08c118
Showing with 2 additions and 2 deletions.
  1. +2 −2 framer/VideoLayer.coffee
@@ -3,14 +3,14 @@
class exports.VideoLayer extends Layer
constructor: (options={}) ->
super options
# We need the player to exist before we add the options
@player = document.createElement("video")
@player.setAttribute("webkit-playsinline", "true")
@player.style.width = "100%"
@player.style.height = "100%"
super options
# Make it work with .on and .off
# https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Media_events

0 comments on commit c518763

Please sign in to comment.