A-Frame IOS Inline video Phonegap

夙愿已清 提交于 2019-12-12 02:39:25

问题


Does anyone know if its possible to play inline video via A Frame in a Phonegap app?

I can get inline video working on my IPhone if the webpage is pinned to the home screen and I access the web page that way.

(How people are using it here: https://github.com/aframevr/aframe/issues/316)

When I try and run the page via phone gap, the video opens up in full screen.

I have pinned the server address to my homepage.

I don't know much about phone gap (its the first time i have used it) but have added :

<preference name="AllowInlineMediaPlayback" value="true" />

to the config.xml

thanks.


回答1:


It turns out that you need to build the phonegap app. I added the preference:

<preference name="AllowInlineMediaPlayback" value="true" />

I cant seem to get it working with the emulator but on my iPhone 5 it works fine.

:)



来源:https://stackoverflow.com/questions/39260216/a-frame-ios-inline-video-phonegap

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!