1.3.7-alpha.1 • Published 11 months ago

@gaopeng123/hls-player v1.3.7-alpha.1

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

hls-player

hls播放器

Usage

type HlsPlayerConfig = {
  "object-fit": 'fill',
  width: '100%',
  height: '100%',
  'media-data-source': {
    url: '',
    type: ''
  },
};


const hlsPlayer = document.querySelector('hls-player');
hlsPlayer.setAttribute('media-data-source', JSON.stringify({
  url: 'https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8'
}));
1.3.7-alpha.0

11 months ago

1.3.7-alpha.1

11 months ago

1.3.6-alpha.15

1 year ago

1.3.6-alpha.14

1 year ago

1.3.6-alpha.13

1 year ago