Problems with the same layer playback of Aliyun VOD

Aliyun VOD has a different effect on playing videos in Apple and Android. On Android phones, the X5 browser hijacks the Video tag and pops up full-screen playback with the player, which is on the top layer and overrides the DOM element. As a result, the page cannot continue to slide, and now the page can continue to scroll when you want to play the video in the Android environment. Could you tell me how to solve

Mar.08,2021

when you can initialize the player, add
extraInfo: {
"x5-playsinline": ""
},
x5roomtype: ""

now Ali player is on the same layer by default. Add x5roomtype: after 'h5', android Wechat environment h5 will play video on black screen

.

clipboard.png


first go to ide/tech.html-sharp/" rel=" nofollow noreferrer "> x5 your own document .

< hr >

in addition, it seems that Aliyun has a , which also gives a set of methods to enable playback at the same layer .


I used the official demo to browse in the Android Wechat environment and had the same problem. After clicking to play, only the sound screen did not come out

Menu