LeBron James has played in thousands of basketball games but acted in only one movie—and yet that one credit is essentially enough for James to connect any NBA player ever to any film actor ever.

James made his Hollywood debut with last week’s release of “Trainwreck,” and there were two things that might have surprised anyone who saw it. One is that James’s role isn’t simply a cameo. The other is that James is actually funny.

...