ngyyuusora

Results 25 comments of ngyyuusora

不太清楚该项目是否保留兼容ie, 判断array类型使用了Array.isArray,如果需要兼容ie可能需要改为使用prototype.name === [object array]或者prototype.toString.call

> 不太清楚该项目是否保留兼容ie, 判断array类型使用了Array.isArray,如果需要兼容ie可能需要改为使用prototype.name === [object array]或者prototype.toString.call 然后想起来ie的话findindex也没有,,,只能用传统循环自己实现了,,,唉

I made a vtt sample which some cues accoding to the issue. and a seek sample print the activeCues ![企业微信截图_16474137319068](https://user-images.githubusercontent.com/28800738/158534118-397e1f93-0372-4b7b-8555-f2e93cb88bbd.png) ![image](https://user-images.githubusercontent.com/28800738/158534283-a2532ee1-2e79-4827-b7f3-81780a548ab5.png) .

https://github.com/jiliangsoft/DPlayer/tree/multisubtitle 请问还需要吗,我自己项目上需要用,加了个切换字幕的功能(未来还需要做对应hls直接打包多个字幕的)。

> 播放器采用的是单独提供一个vtt格式字幕的链接,直接做一个然后加在播放器参数里就可以了

https://github.com/jiliangsoft/DPlayer/tree/multisubtitle 请问还需要吗,我自己项目上需要用,加了个切换字幕的功能(未来还需要做对应hls直接打包多个字幕的)。

Fixed in, https://github.com/DIYgod/DPlayer/pull/1241/commits/fa4835d75006374677c7d8185c76606f7054c512 Have been merged

Sorry for comment a long time.I use pyppeteer and have this issue too. You can try the code like this: `await page.evaluate('''handle => handle.click()''', some_handle)` some_handle is a 'element_handle' you...

I'm not sure what's the correct expression in page.evaluate(). Pyppeteer's offical reference not exactly, and this just worked for me.