I am working on an idea where I need to render an HTML5 web page in video on android. Actually it works this way that a video is being displayed on the screen of the TV and I want to render a web page on that video So far my research shows that this is called as video overlay or composite which can be found here Link. My question is how can I acheive this in Android??
Or in other words I would say how can I achieve video overlay in android. Is there any API for that ??
Any suggestion to achieve this will be really appreciated.
Thanks in advance
Related
I am working in a Angular and Java project, where I need to show my camera live (camera added using IP) in my web page (developed in angular). I heard G streaming can help me on this but I did not found any helpful link for this.
I am wondering if G-streaming is only the way to show the camera live streaming or is there any thing else I can do.
Any help would a great help.
As this will be a demo so I have very little knowledge on this, please ask if any doubt.
UPDATE:
I need to ready a demo where I can put my camera's IP and it will show live in my webpage developed in angular.
just few infos until your question is closed ..
I found this
And this
I think that you can stream the camera with Gstreamer rtsp server
implementation and open up that web browser if I understand that properly..
HTH
I am working on app which contain inline image and embeded video in HTML content. video displayed but clicking on play button video wont play. I have used following code of loading html content on webview.
WebSettings mainViewsettings = witContentWebView.getSettings();
mainViewsettings.setJavaScriptEnabled(true);
mainViewsettings.setAllowFileAccess(true);
mainViewsettings.setLayoutAlgorithm(WebSettings.LayoutAlgorithm.NARROW_COLUMNS);
mainViewsettings.setLoadWithOverviewMode(true);
mainViewsettings.setBuiltInZoomControls(true);
mainViewsettings.setDomStorageEnabled(true);
witContentWebView.setWebChromeClient(new WebChromeClient()
{
});
witContentWebView.loadDataWithBaseURL("", witsContentStr,"text/html", "UTF-8", "");
I have also set android:hardwareAccelerated="true" in manifest file, but I did not get any success. Could you guys help me solveout in this.
Maybe problem in is codec? Just open a browser? You use Chromium Web View or old Web View? (Android version)
Answer shamelessly copied from https://stackoverflow.com/a/3520920/1602333.
I am not sure if this is what you need. Anyway I hope the following be useful.
You can use the iframe method that youtube provides to play its videos. If the browser supports html5 will show the video with it, otherwise with flash.
You can use the following code as an example <iframe class="youtube-player" type="text/html" width="640" height="385" src="http://www.youtube.com/embed/bIPcobKMB94" frameborder="0">
in the above example the video id is bIPcobKMB94. You can change this id and show your video.
You can access a live example of it here
More infromation for youtube iframe
YouTube HTML5 Video Player
My current issue is about fetching Text from a Jimdo Webpage and printing it as a News Blog on my Android App.
I am not sure which direction to go now, maybe you have some hints according to this?
I am a new developer, trying to get my head around android. I managed to get fragments working and I am unable to add and play a video on it.
Also, I added a image successfully, is it possible to pinch zoom on that image, if so how?
I really appreciate your help.
Thanks
You can implement this library
https://github.com/chrisbanes/PhotoView for zoom on image.
if you read the Sample Usage and analyse the sample app you can zoom it.
About playing video on fragment. It is simple just google it.
I'm developing a game using the libGDX Framework.
I'd like to implement an icon that would make the user like the game on facebook. I've tried the libGDX forums with little to no luck. I'll be very glad if I can get some help on it, or at least be told of a tutorial or explanation link.
Thank you very much in advance.
Facebook like button is actually just an HTML link. So why not add that to a label or any other area in your game and just open the browser to that URL, or send a POST or GET request if that's possible?
https://developers.facebook.com/docs/reference/plugins/like/
http://www.webmonkey.com/2010/04/adding-facebook-like-buttons-to-your-site-is-damn-easy/