The Thai government abruptly scrapped plans to sue Google after the U.S. company agreed to remove from a Web site video clips deemed insulting to the country’s revered king, an official said Friday.

The government blocked access to YouTube — a popular video-sharing site owned by Google — on April 4, after Google Inc. turned down Thailand’s request to remove the clips seen as offensive to King Bhumibol Adulyadej.