along the river; on the river
По реке плывёт мячик.
A ball is floating down the river.
Нет, когда я был маленьким, то плавал по реке.
No, when I was little, I used to swim in the river.
— Ночи Кабирии (1957)