【发布时间】:2019-01-26 07:30:02
【问题描述】:
在我的页面中,我有很多视频,我想在播放另一个 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
}
?>
【问题讨论】:
标签: javascript php html