HTML5视频在棒棒糖中运行良好,而不是在kikat或早期操作系统上运行。该应用程序是使用AngularJS开发的。有没有办法在所有Android版本上播放视频。
请帮助!...........
$scope.theme = {
url: "http://www.videogular.com/styles/themes/default/latest/videogular.css"
};
$scope.postSource = [
{src: $sce.trustAsResourceUrl(value.post_url), type: "video/mp4"},
{src: $sce.trustAsResourceUrl(value.post_url), type: "video/webm"},
{src: $sce.trustAsResourceUrl(value.post_url), type: "video/ogg"}
];
html
<videogular vg-theme="theme.url">
<vg-media vg-src="postSource"
vg-native-controls="true">
</vg-media>
</videogular>