Videogular播放器在Android-Smartphone上显示电影胶片 [英] Videogular Player shows filmstrips on Android-Smartphone
问题描述
我在我的第一个Ionic应用程序的最后步骤,我使用的videogular播放器。
I am in the final steps on my first Ionic-App and I am using the videogular-player.
到目前为止一切正常,但我看到一个奇怪的错误/功能,我的三星S5迷你Android手机。每次我打开我的MediaPlayer播放器页面,其中的videogular播放器集成我看到这个奇怪的电影胶片画面在背景中。我也有一个重叠播放不是从视频。
So far everything works fine but I see a strange bug/feature on my Samsung S5 mini android phone. everytime I am opening my "MediaPlayer-Player"-page, where the videogular-player is integrated I see this strange filmstrips-picture in the background. Also I got an overlay-play not from videogular.
对于测试,我隐藏每个视频插件,如海报和重叠播放,我仍然看到这张图片。
For a test I hide every videogular-plugin like poster and overlayplay and I still see this picture.
有没有人知道它可能来自哪里?
Does anybody has an idea where it could come from?
下面是我提到的图片:
Here is the picture I mentioned:
推荐答案
这里是最后的解决方案。问题来自video-html-tag中缺少的poster-attribute。所以我只是添加以下代码在我的videogular.js,我做所有的配置与我自己的控制器,一切工作正常。唯一仍然在这里的问题是第二重叠播放。
So here the final solution. The problem comes from the missing poster-attribute in the video-html-tag. So i just added the following code in my videogular.js, where I do all the configs with my own controller and everything works fine. The only problem that is still here, is the second-overlay-play.
that.onPlayerReady = function(API) {
that.API = API;
that.API.mediaElement.attr("poster", "./img/1x1.png");
};
这篇关于Videogular播放器在Android-Smartphone上显示电影胶片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!