htmlドキュメントをフラスコのアプリケーションから取り込むことができますが、この部分は文字列の中にあります。これについてどうすればいいですか?フラスコからhtmlの文字列を書式設定する
私はこの試みた:
<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>
をしかし、動作するようには思えません。 {{playlistid}}と{{playerid}}はPythonのフラスコアプリからのものである、
return render_template(
"player.html", playerid = LogInfo['username'],
playlistid=LogInfo['playlist'])