Skip to content
This repository has been archived by the owner on May 18, 2020. It is now read-only.

Full-Screen goes blank when playing video in full-screen #5

Open
rikinshah23 opened this issue Jul 18, 2018 · 0 comments
Open

Full-Screen goes blank when playing video in full-screen #5

rikinshah23 opened this issue Jul 18, 2018 · 0 comments

Comments

@rikinshah23
Copy link

Hello,
I am using this package it helps with full screen video playing on android devices. There are 2 problem that I would like to ask:

Issue 1 -
My code is -

<AndroidWebView
ref="videoView"
scalesPageToFit={true}
javaScriptEnabled={true}
allowsInlineMediaPlayback={true}
//ignoreSslError={true}
source={{uri: item.node.newsUrl + '&fs=1'}}
/>

When I click on Full screen button it start video in landscape mode in full-screen. but after 1 second or 2 my screen goes blank and no turning back from there. I have to kill the app.

CSS:
newsVideo: {
overflow: 'hidden',
alignSelf: 'center',
width: deviceWidth,
height: 225,
borderRadius: 0,
marginTop: 0,
borderColor: 'transparent',
},
Please suggest a solution if you can think of any. Thanks.

Issue 2 - I would like to know if there is any way to get data when I click on this webview, basically detect the click on video.

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant