Home > Mobile >  Android how to use the h5 video element
Android how to use the h5 video element

Time:09-30

Personally think is need to add hardware acceleration, but I in applicationbi label has been added to the android: hardwareAccelerated="true", but there has been no action, canvas. IsHardwareAccelerated () returns have been false, teach my android small white,

CodePudding user response:

From the top...

CodePudding user response:

Is to load the h5 h5 video element is invalid?

CodePudding user response:

refer to the second floor can reply wang:
is to load the h5 h5 video element is invalid?

Flash back on, click the play automatically, online said there is no hardware acceleration, my side in the application configuration of the hardware acceleration, also have no effect, canvas. IsHardwareAccelerated () returns have been false

CodePudding user response:

I load the HTML page directly, it also can load video, but use the android apk by quoting from the HTML page, and then cannot be loaded

CodePudding user response:

Error in logcat log, look at the logs, feeling is you are short of permissions

CodePudding user response:

reference 5 floor wang can reply:
error in logcat log, look at the log, the feeling is you are short of rights

I see, thank you

CodePudding user response:

reference 4 floor milkbrother1988 response:
I load the HTML page directly, it also can load video, but use the android apk by quoting from the HTML page, and then can't load

My side is above the led display of the similar TV have been flash back, but as I m 8 on the phone, there is no problem, I have 2 mobile phone can also play a red rice, and permissions I directly inside the application management to all, but still have no, good headache

CodePudding user response:

Do you know why I have been won't open hardware acceleration, this in addition to the configuration in the application, also need to configure
  • Related