[Think Tank] HTML 5 Support(Videos) in Browser / Calling all Devs (Cyanogen!!) - Nexus One Android Development

Ok So I know a thread already exists for this however I belive its being viewed by the wrong audience. Mod please do not delete or merge, Im hoping to get this thinktank going.
All of us with the Nexus 1 should know that HTML 5 is already supported by the most recent version of webkit(webbrowser) we have See below:
Copied from:http://developer.android.com/sdk/android-2.0-highlights.html#UserFeatures
Browser
Refreshed UI with actionable browser URL bar enables users to directly tap the address bar for instant searches and navigation.
Bookmarks with web page thumbnails.
Support for double-tap zoom.
Support for HTML5:
Database API support, for client-side databases using SQL.
Application cache support, for offline applications.
Geolocation API support, to provide location information about the device.
<video> tag support in fullscreen mode.
Click to expand...
Click to collapse
Im wondering if Cyanogen or any of the developers could edit the webkit to get it to work as it is claimed to work with h264 codec. Using Youtube's HTML5 Beta you can see we are almost there. See pic below.
Our N1's support this codec natively. It seems its already there we just need for our browser to recognize the <video> tag. Devs can you please help, this would be a huge jump and leap that we would cross and would not have to twiddle our thumbs waiting for Flash and of course another advantage over the Max-I-Pad and Ifone......
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The same occurs with Stock MT browser and Dolphin.
(Thanks Mikhael for the Screenshot)

Ok well remember that Android CoreMedia only supports a subset of the mp4 spec. However it looks like the mp4 videos on youtube are playable, at least the ones I scraped are.
I'm not sure what you're trying to achieve here. The android youtube app pulls the same mp4 files (depending on bandwidth) are you specifically wanting the video to play _within_ the html control or do you just want to be able to click on a html5 <video> element and have that video play fullscreen? The latter is possible if the site makes sure to an an onclick event to the video as mentioned here:
http://stackoverflow.com/questions/1711078/html5-video-element-on-android
I just tested this out myself making a HTML5 page using the <video> element and clicking on the element does indeed simply play the video. So really its allready done, we just need to convince youtube to update their site/mobile site.

I think he just wants to be able to open a video within the browser itself.

That is unlikely to happen, the overhead of rendering a video to a surface then compositing that onto a webview would be a massive waste of cpu. I'd be happy to have fullscreen video kick off from clicking on a <video> element and that pretty much works as long as the site owners use video.play(). Unfortunately youtube does some auto-detection that doesn't bear android in mind, but thats more youtube's fault, though a default onclick event might be nice. You could do that with oilcan and a userscript

SilentMobius said:
That is unlikely to happen, the overhead of rendering a video to a surface then compositing that onto a webview would be a massive waste of cpu. I'd be happy to have fullscreen video kick off from clicking on a <video> element and that pretty much works as long as the site owners use video.play(). Unfortunately youtube does some auto-detection that doesn't bear android in mind, but thats more youtube's fault, though a default onclick event might be nice. You could do that with oilcan and a userscript
Click to expand...
Click to collapse
but isn't the real value of Flash (and HTML5) not just in playing video in the Youtube sense, but in fully rendering interactive animation on web pages? I think that's more what people are missing more than just embedded video when they bemoan the lack of Flash in mobile web browsers...

j.books said:
but isn't the real value of Flash (and HTML5) not just in playing video in the Youtube sense, but in fully rendering interactive animation on web pages? I think that's more what people are missing more than just embedded video when they bemoan the lack of Flash in mobile web browsers...
Click to expand...
Click to collapse
The OP was talking about HTML5 video, if we're thinking about enabling the whole mathml/svg namespaces then that is a different thing entirely, and much harder again.
Personally I loathe flash, as a developer myself, I'd much prefer it to die. But I can see the utility of having it available to android users so that we have the option of consuming content. Regardless of the quality of the content designers decisions.

Related

NEW-UC Browser 7.8 Official Android

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Just released today check it out
Get UC Browser 7.8 Official Android here
http://mobileplanet-waryam.blogspot.com/2011/07/uc-browser-78-official-android-s60v3.html
LibertyMonger said:
Get UC Browser here
If you find the default IE mobile web browser to be a little clunky then give UC Browser a try.
UC Browser is designed to make mobile Web access quicker and more convenient. It's a pretty lightweight application that manages to cram in a number of interesting features without slowing down your browsing experience too much.
Viewing WAP and web sites in UC Browser is a painless experience thanks to its multiple tabs, which allow you to have several pages loaded at once in much the same way as Firefox does. You can flick between the pages simply by tapping tabs, or by using the window icon at the bottom to pull up a pop-up screen listing the tabs you have open.
UC Browser gives you a lot of control over page layout, too. You can choose to view pages in full screen, tweak the font size, zoom images, and tweak image quality.
UC Browser has a number of interesting tools that you don't normally see in a mobile Web browser, such as an integrated download manager, built-in Clipboard for simple copy and paste, and a start page with a number of preset links to a range of categorized web sites. Of course, there's full support for bookmarks too.
There's a simple, yet effective Search tool within UC Browser that facilitates quick searching through Google, Bing or Yahoo!, allowing you to choose which search engine the browser uses. The inclusion of the 'Home' screen makes it easier to get started, because it houses shortcuts to all of your most viewed web pages.
UC Browser is a proxy-based browser, which re-renders and compresses page data on a server before sending it to the client (in much the same as Opera Mini and Skyfire do). This makes it exceptionally quick at loading pages. Unfortunately, it seems that image rendering is sacrificed somewhat in this process, and often you'll find that images won't display properly, which can get annoying.
Click to expand...
Click to collapse
How does it compare to Opera?
JiroPrinz8 said:
How does it compare to Opera?
Click to expand...
Click to collapse
i haven't used either much but whats nice about this is you pick your make and model of your phone and it customizes the fit and etc. to suit your phone. It's pretty sweet. The pages fit perfect to read them easier without always having to zoom in and scroll around
A ok browser but no flash not a good browser for a droid
Sent from my XT720 using XDA Premium App
mchlbenner said:
A ok browser but no flash not a good browser for a droid
Sent from my XT720 using XDA Premium App
Click to expand...
Click to collapse
Just released today UC Browser 7.8 Official Android

[Q] Why aren't more people...

..using youtube to display their work? I made a video today using an app called 'Screencast', and from finding the app to posting the youtube link on XDA took less time than creating a display image. Not to mention the benefit of people seeing the work in motion!
I'm just curious really; as we have hundreds of pages of screenshots with very few videos. Screenshots don't capture transition animations, or selection highlights etc, when the phone is actually in use.
Here's my example so that you can see what i'm talking about:
http://youtu.be/nbjwQS3pDao
I'm only using a single core device so using the app does slow down the UI somewhat, but a dual core would be perfect for this.
They're either shy, don't like exposing themselves, can't be bothered, don't have a camera, just don't want to, etc. There's no one answer to this. It does allow more exposure and a better experience. Also allows more understanding (to the viewer) and other stuff which can help people since they are actually seeing everything in "realtime".
No camera needed. This app and others like it are for screen caps. No audio so it's not like a full blown video review. It's just showing off your homescreens and customizations but in moving pictures.
The same effect could be had by using a gif editor i suppose but you either have to start with a video anyway, or a bunch of screenshots. The method i've used is so simple and fast i'm just curious as to why more people aren't using it!
'Show of your homescreen' thread? Embed youtube demo.
Simples, no?
Yep, pretty simple. Maybe it's just not "advertised" enough. As in, people don't know of it. But more will now...
I must say the video is quite impressive and the app will definitely make the process easier, and could also be used to highlight certain issues members might be having.
Thanks for pointing it out.
XperienceD said:
I must say the video is quite impressive and the app will definitely make the process easier, and could also be used to highlight certain issues members might be having.
Thanks for pointing it out.
Click to expand...
Click to collapse
I'm a self-confessed n00b, and that was my first youtube upload. (yeah, slow learner, right?) It took ten minutes from thinking of the possibility, to finding an app, making the vid, uploading it and then posting it!
With my skill set, or lack thereof, it takes me longer to come up with the usual 'display picture'. i.e:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
All the best launchers like Launcher Pro or ADW EX have options for how to handle selection highlights. I always run into the nightmare of finding a set-up i like, only to end up hating it every time i select a shortcut! I can't be the only one? Static images don't show how people handle issues like that. ADW EX at least allows a fully transparent highlight so that you don't see it at all. Not all Launchers do though.
Perhaps it's only me, but when i see somebody's glorious creations, i think 'hah...how does it look when you click on that shortcut/widget..?? In a video you can see how!

MX Video Player [FREE] Plays Matroska (MKV) and Honeycomb Optimized

For those of you who are familiar with DicePlayer, this is another player which is capable of playing Matroska (MKV) format files with ease!
Just install its FREE version from the Market, run the player and it will prompt for a relevant codec update, which in our case is (ARMv7), thats it! Now you can play all your .MKV file without need of DicePlayer!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Description:
MX Video Player is the best player to enjoy movies on your Android device. it plays almost every video files and every subtitle files with multi-core decoding capability.
a) MULTI-CORE DECODING - MX Video Player is the first Android video player that performs multi-core decoding. According to test results on dual-core devices, it shows up to 70% performance improvement over single-core decoding.
b) CPU OPTIMIZE - Provides CODECs and Rendering Engines highly optimized for processors including ARM® NEON™ and NVIDIA® Tegra™ 2.
c) MULTI-TOUCH VIDEO ZOOM - You can easily zoom video using multi-touch.
d) SUBTITLE SCROLL - When you scroll subtitle text, video playback position also will be changed to the text show-up position.
e) CLEAR TEXT - Increased subtitle text readability with ticker border and shadow.
f) FULL HONEYCOMB SUPPORT
Click to expand...
Click to collapse
Market link [Player]
Market Link [ARMv7 codec]
going to try it. thanks.
wow... nice, will test it @ home.
Thx for posting this...
Nobody should be using MKV file to begin with. Its a dead technology that was never and will never be supported by devices.
Evan2ac said:
Nobody should be using MKV file to begin with. Its a dead technology that was never and will never be supported by devices.
Click to expand...
Click to collapse
Sry man but this is kinda stupid.
MKVs have best ratio as a video container (measured by compression and file size) so why do you say its a dead technology even its highly supported by the community?
Evan2ac said:
Nobody should be using MKV file to begin with. Its a dead technology that was never and will never be supported by devices.
Click to expand...
Click to collapse
I used to think that until i actually started downloading them, and realised how popular and how good they are
Evan2ac said:
Nobody should be using MKV file to begin with. Its a dead technology that was never and will never be supported by devices.
Click to expand...
Click to collapse
5th element i thought you were banned??? No worries, reporting you again

[Q] How to make web pages display correctly in Chrome Beta ?

Hello,
For the stock Web Browser, I know there is a method to make web sites render really like the PC version, I mean like the screenshot below. We use the 'about:debug' url to change some advanced settings (UAString, viewport,...).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
But I don't know how to do that in Chrome Beta. I waited for the last update which integrates an option to view a web page in 'Desktop mode' but, seems like it changes only the UAString, but not the viewport.
It's very annoying, and I'll continue using the stock browser until I find a solution for that... So if someone know how to fix that... Thanks !
Maybe you can find the answer buy taking a look at the support Page for chrome.. The support page usually provide information and you as a user can give feedback so that they now what to fix.
https://support.google.com/chrome/bin/answer.py?hl=en&answer=2393487&p=mktg_mobile_help#/answer/2462846
Crashes
I received the “Chrome Beta is not responding” message on my Asus Transformer Prime.
We’re working on fixing performance issues that occur on specific hardware configurations.
Font and language issues
Fonts are the wrong size after I rotate my device.
Text size should remain the same when you rotate from portrait to landscape orientation, but in some cases will appear too large. We’re working on fixing this issue.
Font size is inconsistent on some sites, such as Reddit and T-Mobile.
We're working on improving the display of non-mobile sites on phones, especially ones that use a large range of styles and fonts.
On tablet landscape mode, the text doesn't respect my font size setting
Text scaling may not be applied correctly on some sites. We’re working on fixing this issue.
Issues with other apps and settings
I have tabs open on other devices and I’m signed in to Chrome, but no tabs are listed on the New Tab page.
There may be a delay as information is syncing across your devices. If tabs don’t appear in the "Other Devices" section after 1-2 minutes or after you've refreshed the page, try reopening Chrome on your devices. To close Chrome for Android, swipe it from the Android app switcher.
Site display issues
Facebook pages won’t scroll properly on some devices.
We’re working on fixing this issue.
Scrolling is laggy and content loads slowly when scrolling quickly.
We’re working to improve scrolling performance on certain devices and the loading speed for pages with many images or extensive dynamic content.
On tablet landscape mode, some pages are zoomed in by default.
When viewing a site in landscape mode on certain screen sizes, some sites may load slightly zoomed in instead of fully zoomed out. We’re working on fixing this issue.
Text is blurry on the desktop site for Gmail.
We’re working on fixing this issue.
When I reopen Chrome, some tabs appear to reload only the outdated content.
Restored tabs initially load cached content. For pages that update content frequently, such as news sites, the content of a restored tab may not update unless you refresh the page. We’re working on fixing this issue.
---------- Post added at 09:53 PM ---------- Previous post was at 09:47 PM ----------
And they just released a update for chrome.
Chrome for Android Beta has been updated to 0.18.4409.2396 (Chrome 18.0.1025.133) on Google Play. As mentioned on the Chrome Blog, this update includes a number of new features, as well as the following changes:
Allow for download of files to the device
Complex Text Layout (CTL) and Right to Left (RTL) text support in rendered pages
Enable old-style YouTube embed content to be played via native YouTube app
Support for country-specific suggested search engines.
Known issues:
115732 : External links don't open in new tabs if multiple links are opened
113041 : No way to auto-hide the toolbar
114964 : Error pages are not optimized for mobile / Android devices
Other notable issues listed here
If you find a new issue, please let us know by filing a bug. More information on Chrome for Android is available on the Chrome site.
Srikanth Rajagopalan
Google Chrome

NewsSpot for Google Reader -[R]- 2013-02-01 -[U]- 2012-02-01 -[V]- 3.0

NewsSpot for Google Reader was just released for Windows Phone 8.
This is the Windows Phone 8 update of my app NewsSpot, which is already quite some time available for WP7 (see this thread). Besides the features listed in the other post, NewsSpot for Windows Phone 8 adds the following:
Full lock screen integration with quick and detailed status as well as background image. All updating in the background.
Pin sharp live tiles including the new wide tile style
Fast app resume
New splash screen
All graphics now in high resolution
The usual bug fixes
You can download it here:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I'm looking forward to your feedback!
There is an add-supported version which is restricted to sync max. 200 unread and 50 starred articles, whereas the full version supports up to 1000 unread or starred articles. Additionaly the lock screen background is only available in the full version.
Issue with a live tile.
First of all great app!!! It's FAST and I found the ui is very user friendly. My only gripe right now is the live tile not updating correctly. I setup one group and it is currently saying I have 1000+ unread articles. And putting the live tile into "medium size" actually cuts off the logo. Other than that the app is awesome and is definitely my daily driver for news! Thanks!
dazednfazed said:
First of all great app!!! It's FAST and I found the ui is very user friendly. My only gripe right now is the live tile not updating correctly. I setup one group and it is currently saying I have 1000+ unread articles. And putting the live tile into "medium size" actually cuts off the logo. Other than that the app is awesome and is definitely my daily driver for news! Thanks!
Click to expand...
Click to collapse
Thanks! I'm glad you to hear like NewsSpot.
Yeah, the 1000+ is actually a limitation by the Google Reader API, since it reports the unread counts only up to this limit. There are ways to get around this limitation, but implementing it is awkward (you have to do one web request for every tile instead of getting all unread counts at once).
The cutoff is intended, as I think knowing the number is more important than seeing the logo Otherwise I would have to move the number or make the font smaller, which somehow breaks the default styling of the tiles.
Regards
is there any way for a google reader app to pre-download/fetch the full article so i can read it when i do not have a connection?
Thanks
ekolb123 said:
is there any way for a google reader app to pre-download/fetch the full article so i can read it when i do not have a connection?
Thanks
Click to expand...
Click to collapse
I get this request indeed more often recently. Technically it should not be that difficult, since all the code is already in place for caching the article previews and their images. I will see what I can do
FourSpotProject said:
I get this request indeed more often recently. Technically it should not be that difficult, since all the code is already in place for caching the article previews and their images. I will see what I can do
Click to expand...
Click to collapse
Any update?
Well, I'm currently involved in two other projects, so the next updates of NewsSpot might need some time to be released. However, I'm sure it will come this year.
Regards
As you will have already noticed, Google is shutting down its Reader service by the 1st of July. However, this does in no way mean NewsSpot will be retired, too. Please read our Statement to see what's next for NewsSpot.
It's been already a while that we released an update, so here are the news:
(WP8 only) Raised limit of number of synced articles to 2.000 for each starred and reading list
(WP8 only) Added share via QR-code
YouTube videos are started without using an external app
Improved sharing via phone services
Long hold an item in the article list to share it
Accelerated switching between articles
(WP8 only) Fixed bug: autosync on start works again
Happy reading!

Categories

Resources