moved the actual youtube code here
more or less working, 1 known bug left (setting mediaOffset when
resuming playback
rebuffering bug fixed
added metric: delay.buffering.ms (total buffering time)