"He could be funny anywhere. We were such close friends," Billy Crystal said of Robin Williams in a special tribute to the comedian aired midway through the Emmy Awards ceremony in Los Angeles last night (25 August).

"He made us laugh. Hard. Every time you saw him - on television, movies, nightclubs, arenas, hospitals, homeless shelters for our troops overseas. And even in a dying girl's living room for her last wish, he made us laugh. Big time.

"I spent many happy hours with Robin on stage," he continued. "The brilliance was astounding. The relentless energy was kind of thrilling. I used to think if I could just put a saddle on him and stay on him for eight seconds I was going to do OK.

"It is very hard to talk about him in the past because he was so present in all of our lives. For almost 40 years he was the brightest star in the comedy galaxy.

"While some of the brightest of our celestial bodies are actually extinct now, their energy long since cooled, but miraculously, because they float in the heavens so far away from us now, their beautiful light will continue to shine on us forever.

"And the glow will be so bright it will warm your heart and will make your eyes glisten and you will think to yourselves, 'Robin Williams. What a concept.'"

And for the most part, the audience at home and in the Nokia Theatre crowd appeared visibly moved by the segment.

That is until the honour ended in a series of clips of the comedian in action, cracking jokes during televised interviews and in stand-up.

In particular, it included a short snippet of a stand-up performance during which Williams borrows a pink scarf from an audience member in the front row and wraps its round his head to simulate a Hijab, or Islamic headscarf.

66th Primetime Emmy Awards: On the red carpet Show all 34 1 /34 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Masters of Sex actress Lizzie Caplan on the red carpet C Flanigan/Getty Images 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Julia Roberts arrives at the EMMY Awards 2014 at the Nokia Theatre in Los Angeles PA Wire 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Kevin Spacey and Ashleigh Banfield arriving at the EMMY Awards 2014 PA Wire 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Taylor Schilling from Netflix "Orange is the New Black" arrives at the 66th Primetime Emmy Awards in Los Angeles, California REUTERS/Lucy Nicholson 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Kerry Washington arriving at the EMMY Awards PA Wire 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Taylor Schilling Getty Images 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Actress Sofia Vergara Getty Images North America 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Michelle Dockery AFP/Getty 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Debra Messing Frazer Harrison/Getty Images 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Katherine Heigl David Livingston/Getty Images 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Shaun Robinson Getty Images 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Kelly Osbourne arriving at the EMMY Awards 2014 at the Nokia Theatre in Los Angeles PA Wire 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Claire Danes PA Wire 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Model Camila Alves McConaughey and actor Matthew McConaughey Getty Images 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards January Jones C Flanigan/Getty Images 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Gwen Stefani Jason Merritt/Getty 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards C Flanigan/Getty Images 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Kristen Wiig Jason Merritt/Getty Images 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Matt LeBlanc and Andrea Anders arriving at the EMMY Awards 2014 at the Nokia Theatre in Los Angeles PA Wire 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Heidi Klum arriving at the EMMY Awards 2014 at the Nokia Theatre in Los Angeles PA Wire 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Laverne Cox from Netflix series 'Orange is the New Black' arrives at the 66th Primetime Emmy Awards in Los Angeles REUTERS/Lucy Nicholson 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Natalie Dormer Getty 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Laura Prepon Getty 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Keke Palmer Getty Images 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Actor Peter Dinklage attends the 66th Annual Primetime Emmy Awards Getty Images 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Kaley Cuoco-Sweeting arriving at the EMMY Awards 2014 PA Wire 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Zooey Deschanel and Jacob Pechenik PA Wire 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Mindy Kaling PA Wire 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Jessica Pare PA Wire 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Sarah Hyland C Flanigan/Getty Images 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Frazer Harrison/Getty 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Sarah Paulson Getty Images 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Kate Walsh Getty Images North America 66th Primetime Emmy Awards: On the red carpet 66th Primetime Emmy Awards Hayden Panettiere arriving at the EMMY Awards 2014 at the Nokia Theatre PA Wire

"I would like to welcome you to Iran… Help me!" he cries.

Viewers participating over Twitter were quick to criticise the inclusion of the joke as "racist":

The Williams Emmys tribute followed a shorter honour to the late comedian at the MTV VMAs on Sunday (24 August).

The VMAs tribute was also branded "offensive", this time down to the lack of care fans felt had gone into the short pictorial montage.