Amo Wu

Results 18 comments of Amo Wu

感覺星級沒什麼參考價值呢,應該不會有人推薦一星的付費軟體吧⋯

@ethan-funny Monodraw 的 URL 貼錯囉~ http://monodraw.helftone.com/

egghead 的 [Learn Advanced CSS Layout Techniques](https://egghead.io/courses/learn-advanced-css-layout-techniques)?

Hi @nathanielc ! Thank you very much for your feedback. > The current behavior is to perform a major release version bump on all BREAKING CHANGES. I propose that for...

Hi @retorquere > Will this automatically tag & release on my project when I have a commit message like fix: ...? Yes, when you have a pull request merged into...

Hi @retorquere > Will this only work for pull requests? Not when I tag something myself on master? Currently, you can only automate the creation of a changelog through a...

> 似乎不知道哪里出问题了,在 codesandbox 上确实不显示字幕,但我在官网上测试确实正常的:[demo](https://artplayer.org/?libs=https%3A%2F%2Fcdnjs.cloudflare.com%2Fajax%2Flibs%2Fhls.js%2F8.0.0-beta.3%2Fhls.min.js&code=var%20art%20%3D%20new%20Artplayer(%7B%0A%09container%3A%20%27.artplayer-app%27%2C%0A%20%20%20%20url%3A%20%27https%3A%2F%2Ftest-streams.mux.dev%2Fx36xhzz%2Fx36xhzz.m3u8%27%2C%0A%20%20%20%20customType%3A%20%7B%0A%20%20%20%20%20%20%20%20m3u8%3A%20function%20(video%2C%20url)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20(Hls.isSupported())%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20const%20hls%20%3D%20new%20Hls()%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20hls.loadSource(url)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20hls.attachMedia(video)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20const%20canPlay%20%3D%20video.canPlayType(%27application%2Fvnd.apple.mpegurl%27)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20if%20(canPlay%20%3D%3D%3D%20%27probably%27%20%7C%7C%20canPlay%20%3D%3D%3D%20%27maybe%27)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20video.src%20%3D%20url%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20art.notice.show%20%3D%20%27%E4%B8%8D%E6%94%AF%E6%8C%81%E6%92%AD%E6%94%BE%E6%A0%BC%E5%BC%8F%EF%BC%9Am3u8%27%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%7D%2C%0A%20%20%20%20subtitle%3A%20%7B%0A%20%20%20%20%20%20%20%20url%3A%20%22https%3A%2F%2Fartplayer.org%2Fassets%2Fsample%2Fsubtitle.srt%22%2C%0A%20%20%20%20%20%20%20%20type%3A%20%22srt%22%2C%0A%20%20%20%20%20%20%20%20style%3A%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20color%3A%20%22%23fe9200%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20fontSize%3A%20%2220px%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20encoding%3A%20%22utf-8%22%0A%20%20%20%20%7D%2C%0A%7D)%3B) 找到原因了,如果 hls.js 用 `8.0.0-beta.3` 可以成功顯示字幕,可是奇怪的是這個版本只有在 cdnjs 上有,npm 只到 `1.2.1-0.canary.8561`。

> > 似乎不知道哪里出问题了,在 codesandbox 上确实不显示字幕,但我在官网上测试确实正常的:[demo](https://artplayer.org/?libs=https%3A%2F%2Fcdnjs.cloudflare.com%2Fajax%2Flibs%2Fhls.js%2F8.0.0-beta.3%2Fhls.min.js&code=var%20art%20%3D%20new%20Artplayer(%7B%0A%09container%3A%20%27.artplayer-app%27%2C%0A%20%20%20%20url%3A%20%27https%3A%2F%2Ftest-streams.mux.dev%2Fx36xhzz%2Fx36xhzz.m3u8%27%2C%0A%20%20%20%20customType%3A%20%7B%0A%20%20%20%20%20%20%20%20m3u8%3A%20function%20(video%2C%20url)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20(Hls.isSupported())%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20const%20hls%20%3D%20new%20Hls()%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20hls.loadSource(url)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20hls.attachMedia(video)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20const%20canPlay%20%3D%20video.canPlayType(%27application%2Fvnd.apple.mpegurl%27)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20if%20(canPlay%20%3D%3D%3D%20%27probably%27%20%7C%7C%20canPlay%20%3D%3D%3D%20%27maybe%27)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20video.src%20%3D%20url%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20art.notice.show%20%3D%20%27%E4%B8%8D%E6%94%AF%E6%8C%81%E6%92%AD%E6%94%BE%E6%A0%BC%E5%BC%8F%EF%BC%9Am3u8%27%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%7D%2C%0A%20%20%20%20subtitle%3A%20%7B%0A%20%20%20%20%20%20%20%20url%3A%20%22https%3A%2F%2Fartplayer.org%2Fassets%2Fsample%2Fsubtitle.srt%22%2C%0A%20%20%20%20%20%20%20%20type%3A%20%22srt%22%2C%0A%20%20%20%20%20%20%20%20style%3A%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20color%3A%20%22%23fe9200%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20fontSize%3A%20%2220px%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20encoding%3A%20%22utf-8%22%0A%20%20%20%20%7D%2C%0A%7D)%3B) > > 找到原因了,如果 hls.js 用 `8.0.0-beta.3` 可以成功顯示字幕,可是奇怪的是這個版本只有在 cdnjs 上有,npm 只到 `1.2.1-0.canary.8561`。 順便問一下 hls.js https://github.com/video-dev/hls.js/issues/4841