It depends on your university's policies. If you have a course handbook then there's probably some information about it in there, but if not it might be worth asking someone (student union perhaps)? Your tutors might take a look at your attendance when writing references, so that's something to consider, but if your lectures are recorded and posted online then that suggests to me that they're not too strict about it.