Optimal posted price with uniformly distributed values
You are correct if there is only one buyer or one good for each buyer.
If there are $n$ buyers, but only one good, the seller maximizes
$$(1-p^n)p,$$
which has FOC $p^* = (\frac{1}{n+1})^{1/n}$.