General atmosphere at the 'Avengers: Endgame' Canadian Premiere at Scotiabank Theatre on April 24, 2019 in Toronto, Canada.

Disney's "Avengers: Endgame" is now just $15 million shy of the record for highest-grossing film of all time.

At the end of the July 4 holiday weekend and after 73 days in the theaters, "Endgame" has hauled in $2.772 billion globally, just short of the record $2.787 billion that "Avatar" has earned since its release in 2009.

Last weekend, Marvel Studios began showing a new theatrical release of the film with a special tribute, a deleted scene and a teaser for "Spider-Man: Far From Home" at the end of the credits. The hope was to drive buzz and lure moviegoers back to theaters to see the film again.

While the company was able to garner an estimated $5.5 million in the U.S. and another $2.3 million abroad, it wasn't enough to surpass "Avatar." A week later, however, the gap has continued to narrow.

"Endgame" likely will remain in theaters for most, if not all of summer. Most analysts peg its last weekend in cinemas to be Labor Day weekend. In that time, the film has a chance of beating "Avatar's" record.

After all, "Avatar" ran for 234 days during its first run (the film got a rerelease in 2010). "Endgame" has been in theaters for just over 70 days.

To be sure, "Endgame" still has a number of hurdles to face on its way to the top spot. The summer box office is very competitive, with new releases every weekend. "Endgame" also has a lot of emotional — some would argue gut-wrenching — moments that could make repeat viewings difficult even for the biggest of fans.

And then there is that three-hour run time.