Had to add ?enablejsapi=1 onto iframe youtube url to allow javascript to pause it