footer fix and listening to canplay event