The music video promoting a blockbuster movie is a dying art. The 90s was full of this type of thing: big name performers contributing a song to a movie's soundtrack and filming a video to plug it. The song wouldn't necessarily feature in the movie (other than during the end credits) but there is a growing nostalgia for this marriage between musical artists and movie marketing.
Saw this movie on my very first date back in '95. The tulmultuous lives of these tough LA kids was a world away from ours, but the Coolio song was incredibly popular and is probably the only rap song to which I know the lyrics.