<!DOCTYPE html>
<html>
<head>
<style>
body{
background-color:#ffffff
}
</style>
</head>
<body>
<!-- im attempting to make an iframe display a video the user types into
the prompt.-->
<input id="txtUrl" style="width:82%;" placeholder="youtube.com/watch?v=(finish the url)" name="url" type="text" />
<iframe src="www.youtube-nocookie.com/embed/(I WANT THE USERS INPUT
HERE)" allowfullscreen></iframe>
</body>
</html>
私はこれを遠くに持っていて、私の心は空白になります。私は可能な解決策を考えるたびに、それはちょうど私の心を去り、私は混乱に戻ります。これはおそらく本当に簡単に修正することができ、私はばかだが、どんな助けもありがたい。テキストボックスの入力を使用してiframe URLの一部を変更するにはどうすればよいですか?
私はJavaScriptを置く: - (お気軽に何が明確でない場合)ここで解決策はありますか?私は
の冒頭に関連する問題