На моей странице много видео, и я хочу остановить видео при воспроизведении другого видео в HTML5.
<?php
$result = "SELECT data from events_gallery where `events_id`='$id'";
$query = mysqli_query($db, $result);
$rows = mysqli_num_rows($query);
if($rows > 0){
while ($res = mysqli_fetch_array($query)) {
$image = $res['data'];
}
?>
<div class="item active">
<video controls="controls" playsinline width="180" height="300">
<source src="images/video.mp4" type="video/mp4">
<p>Video is not Supporting</p>
</video>
</div>
<?php
}
?>