my problem refers to the play button of a Vimeo video Iframe used it on an Android mobile device. When I press the play button the video goes in full screen mode automatically. There is the possibility to solve this problem? It occurs only using mobile devices. Thanks in advance
Related
I am working on video player app and I want no other app can record my video and audio as well. I am using simple VideoView to run videos in my app.
I have tried this code, this code prevents from taking the screenshot only.
getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, WindowManager.LayoutParams.FLAG_SECURE);
Problem
But when I downloaded a screen recording app i.e. DU Recorder and check by recording, it's recording my video's screen and audio as well, this i don't want.
Could anyone help me from this? Thanks in advance
If you are using SurefaceView with media player then use SurfaceView.setSecure(true) , then your video will be secured from any other apps.
Pull down your bar on the screen go to settings and find shortcut keys then you can turn off the automatic screenshot setting
Developers,
We have requirement to open 360 degree youtube videos from our applications.
But we want to open youtube app directly in cardboard viewer mode playing videos.
This is mainly for android application development. Thanks a lot in advance.
Please note we already know how to open videos full screen and user presses cardboard button to go into mode.
One such link of youtube video is Visit Hamilton Island in 360˚ Virtual Reality with Qantas
I had the same issue, it looks like it is not possible right now.
I want to play video from youtube link https://www.youtube.com/watch?v=yi-AImV09q0. I am using Youtube Player to play video but it have some problems.
This video is bigger than real video (on web) so I just only see a part of video. However,if I turn off HQ mode - with lower quality, this video work fine.
This problem also happens in Youtube App. I'm testing with Samsung S2 device
Anyone can give me some advice? Thank in advance
I am connecting to a website which hosts youtube videos via webview. When I click on the youtube video it works fine - the player plays within the webvideo window. But when I make the video full screen it plays. But when I press the back button - it goes back to the webview and I can navigate to the rest of my app - but I can still hear the video play in the background. Whats happening here?
I had a similar problem and found a solution here on StackOverflow. I don't have link to that question though.
Here it is:
webview.loadData("", "text/html", "utf-8");
Is possible to run (on Android/iOS) full screen youtube video on click on a link? I don't want click on a player. For example: clicking on url will open video on full screen.
You can create a new activity with a VideoView in it. VideoView accepts video links (they say it can play rtsp, which is what youtube mobile is using, but I have yet to try)
just do videoView.setVideoUri(rtsp://...);