Trying to get the html document be able to take in variables from my flask app, but this part is inside a string. How do I go about this?
I tried this:
<iframe
src="https://embed.spotify.com/?uri=spotify%3Auser%3A{{playerid}}%3Aplaylist%3A{{playlistid}}&theme=white".format() width="1400" height="800" frameborder="0" allowtransparency="true">
</iframe>
but doesn't seem to work. The {{playlistid}} and {{playerid}} is from the python flask app,
return render_template(
"player.html", playerid = LogInfo['username'],
playlistid=LogInfo['playlist'])