mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 01:21:20 -08:00
add some polyfill to demo
This commit is contained in:
1 parent
d536452067
commit
090a1b6f7d
3 files changed
+11
-5
No files matched your search
@@ -109,6 +109,7 @@ export default class Subtitle extends Component {
|
||||
proxy(this.textTrack, 'cuechange', this.update.bind(this));
|
||||
}
|
||||
|
||||
errorHandle(window.fetch, 'fetch not support');
|
||||
return fetch(url)
|
||||
.then((response) => response.arrayBuffer())
|
||||
.then((buffer) => {
|
||||
|
||||
Reference in new issue
Block a user