Permalink
Browse files

play on ready

  • Loading branch information...
1 parent dfeb26d commit 4ce98d8eeaf5798d010373fbbae0d51bb1e66407 @brumm committed Oct 19, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 app/assets/javascripts/backbone/modules/video.coffee
@@ -25,6 +25,8 @@ Zinc.App.module "Video", (Video, App) ->
player: @media
@view.render()
+ @media.on 'ready', (time) => @media.play()
+
@media.on 'tick', (time) =>
if App.current_user.is_role("mod", "owner") and time % 3
App.Room.do "video_sync",

0 comments on commit 4ce98d8

Please sign in to comment.