Fade in on open a media player file

That’s the way that i’ve used 'till now to manage the problem, but now i’m in a situation where i can’t manage the video, so would be cool to have a method that works indipendently by the content.