The moon blacked out the sun in totality over Indonesia's main western island of Sumatra, providing crowds with stunning views of a total solar eclipse.