Permalink
Browse files

Play when clicking the application canvas

  • Loading branch information...
steffentchr committed Dec 2, 2011
1 parent 7be54b0 commit 143ef2d9cb3fbc1dba41740d0c74ec96aa4277d1
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/VideoPlayer.mxml
View
@@ -16,7 +16,8 @@
width="100%"
height="100%"
creationComplete="init();"
- keyDown="trayShow()"
+ keyDown="trayShow()"
+ click="playListHide(); if(video.playing) pauseVideoElement(); else playVideoElement();"
>
<mx:Script source="Utility.as"></mx:Script>
<mx:Script source="Fullscreen.as"></mx:Script>

0 comments on commit 143ef2d

Please sign in to comment.