我有一個(gè)iframe在我的website.I要?jiǎng)?chuàng)建的視頻我有一個(gè)縮略圖url的iframe存儲(chǔ)在database.I要?jiǎng)?chuàng)建這個(gè)我試過代碼視頻的縮略圖。<img src="http://img.youtube.com/vi/_uQrJ0TkZlc/hqdefault.jpg" alt="" style="height:61px">它運(yùn)行良好,但問題是我使用的(_uQrJ0TkZlc)id 是靜態(tài)的。我希望 id 應(yīng)該是動(dòng)態(tài)的,它在我的數(shù)據(jù)庫表中這是我的 iframe<iframe style="width:10px;height:10px;" id="<?php echo $fetchorderdetails['id']?>" src="<?php echo $fetchorderdetails['video_links']?>rel=0&wmode=Opaque&enablejsapi=1;showinfo=0;" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
我無法創(chuàng)建視頻縮略圖
慕哥6287543
2021-10-14 10:42:01