如何解决为什么视频播放器在这里而不是那里工作
我做了Sandbox来显示问题。在沙盒中,视频播放器正在运行,但是用下面的代码替换代码无效。如果我将System.out.println("Enter an Number");
n = scanner.nextInt();
while (n != 0) {
// Calling printFactors method to print all
// factors of N
printFactors(n);
System.out.println("Enter an Number");
n = scanner.nextInt();
}
移至src={filePa..
,则可以正常运行,但没有字幕dunno
我编写了这段代码,它可以正常工作:
<video..
然后我尝试此操作,但它无法正常工作,播放器不会在日志中没有警告显示任何警告:
return (
<div className="pg-driver-view">
<div className="video-container">
{this.renderLoading()}
<video
style={{ visibility }}
controls
type={`video/${fileType}`}
onCanPlay={e => this.onCanPlay(e)}
src={filePath}
>
Video playback is not supported by your browser.
</video>
</div>
</div>
);
有什么主意吗?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。