我正在尝试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中,它适用于源和类型。