当我执行此代码时,所有视频一次播放。我该如何停止自动播放?
<?php
echo "<h3>".$row["title"]."</h3>";
echo "<p>".$row["description"]."</p>";
// echo "<a href=''><img style='width:120px; height:50px' src='images/".$row["employ_file"]."'></a>";
$file = explode('.',$row['employ_file']);
if (($file['1']=='avi') || ($file['1']== 'mp4') || ($file['1']== 'pdf')) {
echo "<iframe style='width:600px;height:300px;' src='images/".$row['employ_file']?."'>
</iframe>";
}
else if(($file['1']=='png') || ($file['1']== 'jpg') || ($file['1']=='JPG')){
echo "<img style='width:120px; height:50px' src='images/".$row['employ_file']."'>";
}
?>
</div>
<?php }
?>