Thursday, March 6, 2014

android support html5 video tag for online play yet


I used webview load Html5 online play page, the page is displayed correctly, but click to play when he has been stuck in this "play a buffer page," I have tried on sony 4.0 and motor 3.2 pad, same result.

question: android webview support html5 video tag yet, there is no one realized html5 online play on the android platform?
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
log log:
06-13 09:41:26.990: E / libEGL (1217): call to OpenGL ES API with no current context (logged once per thread)
06-13 09:41:26.990: D / ShaderProgram (1217): couldn't load the vertex shader
!06-13 09:41:26.990: E / libEGL (1217): call to OpenGL ES API with no current context (logged once per thread)
06-13 09:41:26.990: D / ShaderProgram (1217): couldn't load the vertex shader
!06-13 09:41:26.990: E / libEGL (1217): call to OpenGL ES API with no current context (logged once per thread)
06-13 09:41:26.990: D / ShaderProgram (1217): couldn't load the vertex shader
!06-13 09:41:26.990: E / libEGL (1217): call to OpenGL ES API with no current context (logged once per thread)
06-13 09:41:26.990: D / ShaderProgram (1217): couldn't load the vertex shader
!06-13 09:41:26.990: E / libEGL (1217): call to OpenGL ES API with no current context (logged once per thread)
06-13 09:41:26.990: D / ShaderProgram (1217): couldn't load the vertex shader
!
Reply:
android webview default is not HTML5 support,
Reply:
expressed concern about the rookie mark
Reply:
Seems to support html5 Android 4.0 browser that comes with the above.
Reply:
reference to the second floor of the reply:
android webview default is not HTML5 support,

How Html5 will not support it, but the support is not very good, no less powerful
ios
Reply:
references, 4th Floor reply:
seems to support html5 Android 4.0 browser that comes with the above.



I tried the 4.0, the player has been in a buffer state
Reply:
There may be your video formats, even the video tag html5 not support this issue, my colleagues and I have discussed.
Reply:
references 6th Floor reply:
references, 4th Floor reply:

Seems to support html5 Android 4.0 browser that comes with the above.



I tried the 4.0, the player has been in a buffer state




Mp4 video format, so the format should not be a problem, you discuss what the result is
Reply:

lz can be achieved online playBut you have to call the system of player can, you can see for yourself the whole I have been for a long time


The following code:
/ / Html



/ / Java
JavaScriptInterface jsInterface = new JavaScriptInterface (this);
webView.getSettings () setJavaScriptEnabled (true);.
webView.addJavascriptInterface (jsInterface, "JSInterface");


public class JavaScriptInterface {
private Activity activity;

public JavaScriptInterface (Activity activiy) {
this.activity = activiy;
}

public void startVideo (String videoAddress) {
/ / Call the player (see here how to write your own)
Bundle bundle = new Bundle ();
bundle.putString ("path", address);
MyIntent.startIntent (WebViewActivity.this, MyIntent.VIDEO, bundle);
}
}
Reply:
Amount forget there is a problem with the video made out of html seemingly anyone know how to change the style
Reply:
4.1
Reply:
Can
Reply:
I also do video label displayed on the phone's browser, my Android version is 2.3.5, using the default browser, the player is not the problem, but not autoplay, autoplay = "autoplay" did not work , also a headache
Reply:
Version 2.3.5 supports video tag you. . . I can not play


reference to the 13th floor of the reply:
I also do video label is displayed on the mobile browser, My Android version is 2.3.5, using a system The default browser is no problem to play, but not autoplay, autoplay = "autoplay" did not work, but also a headache

Reply:
Brother, there is wood on csdn download source code examples have provided resources ah! Seeking to share the link to download
reference to the 9th floor Reply:
lz can
online playBut you have to call the system of player can, you can see for yourself the whole I have been for a long time


The following code:
/ / Html

Reply:
Will android4.0 video label inside the package with phonegap directly when playing full-screen video, does not want to play in full screen, how to modify ah?
Reply:
No matter what autoplay on Android, you can not automatically play

Like singular, music video playback depending on when you can automatically play, how they get?
Reply:
Under the top bar. . . I have also been some others buffering wet method does not work
Reply:
cited 22 floor oQiDian12345 reply:
Will android4.0 video label inside the package with phonegap, when playing full-screen video directly, does not want to play in full screen, how should Modify ah?

Hello, I recently also studying part of html5 phonegap package.
I ask, do you mean the video via phonegap package labels can play right? Just some of the problems it is not? Did you have your own examples, right?
Thank you very much!
Reply:
reference to the 24th floor arkoosa reply:
under the top bar. . . I have also been some other people's buffer wet method does not work

Hello, I recently also studying this content.
Can ask, you can also play back video via phonegap package label is not it? Has not been able to play it? Now the problem is still there, right?
Thank you very much.
Reply:
reference to the 14th floor luxiaoli234 reply:
version 2.3.5 support the video tag yet. . . I can not play


[Quote = reference to the 13th floor of the reply:]

I also do video label displayed on the phone's browser, my Android version is 2.3.5, using the default browser, the player is not the problem, but not autoplay, autoplay = "autoplay" did not work , also a headache

No comments:

Post a Comment