tweaking js to only play videos when in view. still needs work.