I have this:
<videogular >
<vg-video vg-src="config.sources" vg-native-controls="true"></vg-video>
</videogular>
and the dependencies:
'com.2fdevs.videogular',
"com.2fdevs.videogular.plugins.controls",
"com.2fdevs.videogular.plugins.overlayplay",
"com.2fdevs.videogular.plugins.buffering",
"com.2fdevs.videogular.plugins.poster"
and in the controller:
$scope.config = {
sources: [
{src: $sce.trustAsResourceUrl("http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4"), type: "video/mp4"},
{src: $sce.trustAsResourceUrl("http://clips.vorwaerts-gmbh.de/big_buck_bunny.webm"), type: "video/webm"},
{src: $sce.trustAsResourceUrl("http://clips.vorwaerts-gmbh.de/big_buck_bunny.ogg"), type: "video/ogg"}
],
theme: {
url: "styles/themes/default/videogular.css"
}
};
And I see the video bar, but when I press play, the sound is on but the video disappeared, what is the problem?