Têtes À Claques

(2006) Têtes à claques (Slap Heads) is an animated French comedy website created by Michel Beaudet.

Titanos - Têtes à claques
https://youtu.be/rjrbGp_4P4c

Three pirates get swallowed by a whale, leaving the captain to take a deadly full tour while the two remaining crew members are safely shot out of its blowhole. They land safely on a wooden boat full of gold, along with the skeleton remains of their captain.