I have a website where users can watch videos (I used HTMLVideoElement).
In Samsung Browser, when entering full-screen mode, there is a button that allows to float the video, and watch it while scrolling.
It is also possible to use Samsung Browser's Video Assistant for that as well (video).
I wish to disable this feature, but couldn't find anything related.
Your help will be much appreciated :)
Thanks
SamSung browser has this Video element by default . disablign this mean one need to disable samsung browser by default.
You can do a work on HTML pages by explicitly disabling any external app in accessing you video content , this way the samsung browser would be able to pick you video content into its plugin.
Use Content Locker for HTML web pages which can disable samsung browser from picking up your video content on your webpage.
Related
I am using OpenSeaDragon to show images on my website. With the desktop browser everything is working correct. Also in device mode with the DevTools from chrome. But when I switch to a real mobile device, I can't change to fullscreen mode.
The view try to expand, the buttons slide to the top, but cancels itself immadiately.
I have build a small Android application with a webview to access the website.
I even don't know, if it is a Android issue or an OpenSeaDragon issue. Any hint what I should check could be helpful.
Thanks in advance
I'm having a frustrating day.
The video links on this test page I'm doing for a friend of mine work in Desktop Firefox/Chrome and iOS, but not IE 11 or (more importantly) Android:
http://davelozinski.com/testvideos
Issue #1 and most important:
In the default Samsung Android "Internet" browser, it comes up with "No app can perform this action".
However!
If I load the video directly onto the phone (in this case, a Galaxy S4 mini), the video plays perfectly when I tap it.
This is affecting videos we'll have to be producing as we need them to play using the default Android browser.
I have found no way to associate the browser to the inbuilt "gallery" application to play the video.
Does anyone have any ideas/suggestions?
Issue #2:
In IE11, a popup dialog comes up asking if we want to "open or save" the video file. Either way, it downloads it directly and then we have to double-click to open instead of being able to view it in the browser itself.
How do we get around this so it'll play directly in the browser too?
Thank you!
I finally figured it out!
Under "Application Manager | All" there was an item called "Downloads" with a bright green down pointing arrow as an icon.
This was turned off.
When I turned this one and clicked on a video link, my phone started prompting me now whether I wanted to download the video, or use a thing called "Android System" to handle it.
Choosing the latter my phone now plays videos.
String url = "http://www.example.com";
Intent i = new Intent(Intent.ACTION_VIEW);
i.setData(Uri.parse(url));
startActivity(i);
Try this...
If not possible open it in android webview.
Is there a basic example showing how to disable the default Android browser on a Samsung Galaxy S6, MDM or otherwise, without root permissions? I’ve already tried the basic profile example; however, it does not encompass what I need.
If you go to
settings>apps>(all tab)>Browser>Click "Disable"
you won't have to ever answer if you want a link or anything to open in Browser or Chrome. It will act like Browser isn't on your phone and default to Chrome.
I am working on a project where I am using a set-top-box (Geniatech ATV1220) to display one website (http://goo.gl/1SckBk) on which there are some webkit transitions and other stuff like a video in a carousel.
The box is running Android 4.2.2 and it will only display the site correctly when I use the Google Chrome Browser (v34). The only problems I have with it, is that the Android Google Chrome doesn't have a kiosk mode and that autoplay of the video tag is not supported by intent, so I have to "click" manually to start it. Once I activated it, it will play without a problem in the next rounds of the carousel.
Is there any way to toggle the fullscreen API or get the video to automatically play without user interaction?
If I use the tag
<meta name="mobile-web-app-capable" content="yes">
and then add a site to homescreen I still have the android status bar with the clock and I don't want that. So that is sadly not an option.
I was also thinking about maybe using Webview, since it gives you the option to remove the need of user interaction to play a video, but after my first tries it also didn't display the site correctly, probably because it is not using the chrome webkit version.
Before I dig deeper into it and maybe try to work with chromeview or something I wanted to ask if anyone had some similar needs and could guide me in the right direction on how to continue.
Thanks in advance,
egon
I ended up building a custom chromium content shell with the needed features.
For the fullscreen I did as explained here:
kiosk mode or fullscreen in chromium on android
For the autoplay you have to set m_userGestureRequiredForPlay in the HTMLMediaElement.cpp to false:
if (document.settings() && document.settings()->mediaPlaybackRequiresUserGesture())
m_userGestureRequiredForPlay = false;
I have a mobile web page which includes an input element of type 'file', to allow users to upload image files to a server. The page works fine on iOS, and on a Nexus 4 (Android 4.2.1) in the Chrome Browser.
When I use a Samsung S3 (Android 4.0.4) with the default browser clicking on the 'Choose file' button opens the image selection dialog as expected, however after I choose an image and close the dialog the web page gets refreshed, so I lose the image that was selected. Has anyone else seen this behaviour? Any suggestions for a workaround?
The input element that I'm using is fairly standard, and looks like this:
<input id="addPhoto" type="file" accept="image/*"/>
Even without the 'accept' attribute I get the same problem.
Have a look a this issue:
https://code.google.com/p/android/issues/detail?id=53088
Basically, what seems to be happening is this:
Android does not have enough memory available for the file-chooser or camera app.
It frees up memory by closing the browser
After the file chooser/camera is closed the browser is opened again, triggering a page refresh, which renders the whole file choosing exercise useless.
It seems to me that this is beyond the control of any browser based solution but I would love to be proven wrong on this assumption.
I'm having the same problem on a phone with Andriod 2.3.6. One of my colleagues does not have the problem on his phone (can't recall what that is running). He suggested it may be a memory issue. If the phone doesn't have enough available memory, the browser might actually be forced to reload the page after selecting the picture, which defeats the purpose. I have not yet been able to confirm that this is the problem, but my phone does have considerably less available memory than his.
You could try this JQuery Method: http://blueimp.github.com/jQuery-File-Upload/
Uploadify also looks promising: http://www.uploadify.com/
Here's a demo of it: http://www.uploadify.com/demos/
I think the problem is not your code, but the default Android browser you are using.