所以我想有一个与它4个视频轮播和时遇到一些问题,不明白为什么。 首先,我只能用圆圈在屏幕的底部中间切换视频,我不能点击左侧或右侧或视频进行切换。 当我做开关移动到左边工作正常,但是当我去右边出现的播放按钮在左侧的指示灯应该是,当我播放视频它弹出回到中间。 因为我在这里还算难倒任何帮助,将不胜感激。 这里是我的代码。 提前致谢。
<div id="help--video-help-carousel" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#help--video-help-carousel" data-slide-to="0" class="active"></li>
<li data-target="#help--video-help-carousel" data-slide-to="1"></li>
<li data-target="#help--video-help-carousel" data-slide-to="2"></li>
<li data-target="#help--video-help-carousel" data-slide-to="3"></li>
</ol>
<div class="carousel-inner" role="listbox">
<div class="item active">
<video width="900" height="600" border="5" controls="controls">
<source src="help1.mp4" type="video/mp4">
</video>
<div class="carousel-caption">
<h3 class="h3-responsive">Help 1</h3>
</div>
</div>
<div class="item">
<video width="900" height="600" controls="controls">
<source src="help2.mp4" type="video/mp4">
</video>
<div class="carousel-caption">
<h3 class="h3-responsive">Help 2y</h3>
</div>
</div>
<div class="item">
<video width="900" height="600" controls="controls">
<source src="help3.mp4" type="video/mp4">
</video>
<div class="carousel-caption">
<h3 class="h3-responsive">Help 3</h3>
</div>
</div>
<div class="item">
<video width="900" height="600" controls="controls">
<source src="help4.mp4" type="video/mp4">
</video>
<div class="carousel-caption d-none d-md-block">
</div>
<div class="carousel-caption">
<h3 class="h3-responsive">Help 4</h3>
</div>
</div>
<a class="carousel-control-prev" href="#help--video-help-carousel" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#help--video-help-carousel" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>