Hi,

We had our video encoded in a format that OSM supports, codec reported as 'H.264 / AVC' by the GNOME media player in Linux, works great. In browsers it's fine in Chrome (HTML5) and falls back to Flash neatly in Firefox.

Haven't tried it on an iPhone/iPad, as I don't have one, but tried it on my Acer Iconia Android 3 tablet and the player just died on me. Appears as though it's going to play, but then shows a big question mark in the middle of the screen.

I guess this is a problem with Android 3's HTML5 support? Anyone else come across this? How does Android 2 behave? Are there CODECs that will run on iOS and Android devices?

Thanks!

Comments

johnpitcairn’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev

A long while later ... bumping this to 7.x.

I have good playback on iphone/ipad. Initially video would not play at all due to the private filesystem (required by my client). Installing the Resumable Downloads module fixed this.

I'm now attempting to support back to Android 2.2 as requested by my client. In Android 2.2, the supplied (to-spec) demo video will on play on a tap after an orientation change, and the player controls are constantly hidden under the player. Not the best user experience.

Can anyone confirm this, and/or report on Android 3 and 4?

travist’s picture

Have you guys tried this for version 7.x-2.x? If not, then I would rather you target this release since the media player is 'supposed' to work on mobile devices.

johnpitcairn’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev

Ahh ... yep was 7.x-2.0rc3 in my case.

johnpitcairn’s picture

I'm using the minplayer. On Android 2.2, there is a black element covering the entire player and controls.

Later ... OK, it's .media-player-preview element which is covering the player. This will hide it for testing:

.media-player .media-player-preview {
  display: none !important;
}

Great, the player and controls are now visible at least. But the preview does not load (it does on iphone), and nothing responds to a tap.

The video (big_buck_bunny.mp4) will not play (or autoplay, but that makes sense on mobile where play is fullscreen).

enjoylife’s picture

#1914594: Encoding recommendations for mobile has been marked as a duplicate of this issue.

samgreco’s picture

This issue is ages old, but I have not seen a solution. I am having issues on 2 different Android devices. Both 4.x devices.

Any clues as to how to fix this?

hzakaryan’s picture

Issue summary: View changes

samgreco,

You can download Chrome Beta browser and try on that one.
It is possible for your issue to be browser related.

Hayk

samgreco’s picture

I could not get video to play on any browser in Android. But now with all of the experimenting I've done, I seem to have borked it completely. I am currently using a Views slideshow just to have it running something.