我正在尝试 Videogular 以下是我的 HTML 模板,
<videogular>
<vg-media vg-src="vsource.sources">
</vg-media>
<vg-controls>
<vg-play-pause-button></vg-play-pause-button>
<vg-time-display>{{ currentTime | date:'mm:ss' }}</vg-time-display>
<vg-scrub-bar>
<vg-scrub-bar-current-time></vg-scrub-bar-current-time>
</vg-scrub-bar>
<vg-time-display>{{ timeLeft | date:'mm:ss' }}</vg-time-display>
<vg-volume>
<vg-mute-button></vg-mute-button>
<vg-volume-bar></vg-volume-bar>
</vg-volume>
<vg-fullscreen-button></vg-fullscreen-button>
</vg-controls>
<vg-overlay-play></vg-overlay-play>
<!-- <vg-poster vg-url='controller.config.plugins.poster'></vg-poster> -->
</videogular>
它在 Chrome 上正常工作。但在 Firefox 中,视频标签是空的。就像<Video></video>
. 但在 chrome 中,它适用于源和类型。