The full list of EU directives is available here. YouTube makes it very clear what it considers a violation. As a creator, you should take the time to read them in order to stay on the safe side of the platform. Note that the guidelines apply not only to videos on demand, but also to titles, custom thumbnails, live streams, playlists, and commentary. However, most websites that post videos have their own rules that let users know what they can and can`t do. YouTube can be an exciting but confusing place for a creator when they start. The platform understands this and works with the creator to address any reported violations. If you use someone else`s work in your video without that person`s permission, it`s no less punishable just because you give them credit. You always violate because the attribution of the author does not absolve you if you do not get permission.