本地嵌入的视频无法在Chrome中开始自动播放

时间:2019-04-23 18:49:26

标签: html google-chrome video autoplay

我了解chrome的静音支持,但我不希望视频静音。 我可以通过在链接源在线后添加“?autoplay”来设法播放链接的视频而没有静音,但是有没有办法用本地视频来实现这一令人讨厌的杰作?

这是我的代码。

HTML

Route::middleware('auth:api')->group( function(){
    ...your routes here
});

CSS

<video frameborder="0%" height="50%" loop controls autoplay >
        <source src="egg.mp4?autoplay" type="video/mp4">
</video>

0 个答案:

没有答案