Dinesh Raj
Dinesh Raj

Reputation: 654

WebView video not playing in Android 2.3

After including android:hardwareAccelerated="true" in AndroidManifest.xml file, WebView video playing perfectly in android 4.0 and above, But not in android 2.3.3 .

what is the problem?

Upvotes: 1

Views: 1492

Answers (1)

Brijesh Thakur
Brijesh Thakur

Reputation: 6788

android:hardwareAccelerated="true" is supported from Android 3.0 and above. But If you add it in your AndroidManifest and your targetSDK is API-11 or later. Apk will run on Android 2.3 but android:hardwareAccelerated="true" flag will be ignored.

For playing video in Android 2.3 you will have to open it in Video View. Read the below link for more detail :

http://www.longtailvideo.com/blog/31646/the-pain-of-live-streaming-on-android/

Upvotes: 3

Related Questions