I have tried a few different variations but this is what i have currently. This code works on everything pc and android but NOT IOS. I also used IFRAMEs originally but had the same effect but it wouldn't let me embed the mov. file
<div class="container bg-white">
<div class="row">
<div class="col-xl-8 " style ="padding-top: 25px">
<div class="embed-responsive embed-responsive-16by9 bg-secondary">
<embed
src="video/IMG_6921_webm.webm" allowfullscreen
src="video/IMG_6921_avi.avi" allowfullscreen
src="video/IMG_6921_mp4.mp4" allowfullscreen
src="video/IMG_6921_mov.mov" width="32" height="32">
</embed>
</div>
</div>
字符串
我试过使用Iframes,但效果一样。这些视频在Chrome、Opera、FireFox、Edge、Android和Kindle上都能正常播放,但在iOS(苹果产品)上就不行了。“
1条答案
按热度按时间nle07wnf1#
您可以尝试使用标记
<video></video>
示例:https://www.w3schools.com/tags/tag_video.asp