If you got tired of hearing the chorus, the video's bio directed you to a wide range of paid streaming services to hear the full track. (At the time, the full version of "rockstar" was not available on YouTube in an official capacity.) In a sense, the video was a commercial or a "sizzle reel" for the song, but according to Billboard's rules, which count any use of a song in a YouTube video for over 30 seconds as a stream, the millions of "plays" counted toward the song's total and were worked into the weighted formula that determines the song's chart position. While the exact math that determines the Hot 100 is a closely guarded trade secret, there is a separate Streaming Songs chart that ranks songs by streaming data.
The YouTube loop wasn't the only factor that drove Post Malone up the charts, but it certainly played a role. "US streams for that clip do contribute to our songs charts, the same way an instrumental track or a remix of song would count towards the main song’s placement if downloaded or streamed," said Billboard in a statement at the time. (Malone himself was a little more defensive: "Well the song is good so probably not the only reason why.") In a statement, a YouTube spokesperson told Thrillist: "Loop videos that feature misleading and inaccurate metadata violate YouTube policies and we are actively working to have them removed. Further, any upload of a song intended to mislead a user (preview, truncated, looped) posted on YouTube to look like the original song will not contribute to any charts."