Videogular播放器显示了Android系统的智能手机电影胶片 [英] Videogular Player shows filmstrips on Android-Smartphone

查看:175
本文介绍了Videogular播放器显示了Android系统的智能手机电影胶片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的第一离子-App中的最后一步,我现在用的videogular玩家。

I am in the final steps on my first Ionic-App and I am using the videogular-player.

到目前为止,一切工作正常,但我看到我的三星S5迷你Android手机上一个奇怪的错误/功能。每次我打开我的的MediaPlayer播放器-page,其中videogular播放器集成我看到在后台这个陌生的电影胶片画面。此外,我从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.

有关测试我躲每videogular-插件像海报和overlayplay,我仍然看到这张照片。

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:

推荐答案

因此​​最终的解决方案。这个问题来自于视频的HTML标签缺失的海报属性。于是我就加入了以下code在我videogular.js,在那里我做的所有的configs用我自己的控制器和一切工作正常。这仍然是这里唯一的问题,就是第二叠加播放。

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系统的智能手机电影胶片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆