Encode URL before embedding.