Results 5 comments of 王威威

其实偶觉着吧,css还是不要这些功能了,不讨论本身这个语法的写法问题,个人觉得CSS和JS应该各司其职,做自己该做的事情,就像曾经的java web与java的模板语言(freemaker,velocity等)一直想做逻辑与呈现分离,如果css加入了逻辑就会将逻辑与呈现耦合在一起,当然上面这些需求是存在的,但可以需求另外的解决途径,比如sass、less等,css自身没有逻辑也就不需要相应的解析器做额外的开销(css的expression这个奇葩的货),个人认为轻盈、专注才应该是js和css发展方向!

@bdoubleu86 Due to the limitation of browser mechanisms, Chrome and Firefox could capture frames through 'canplaythrough' event, but in Safaril, it starts play video through progress, so we can get...

https://github.com/wangweiwei/video-metadata-thumbnails#getmetadata-method---getthumbnails-method ```javascript function onChange(files) { __video_metadata_thumbnails__.getMetadata(files[0]).then(function(metadata) { console.log('Metadata: ', metadata); }) __video_metadata_thumbnails__.getThumbnails(files[0]).then(function(thumbnails) { console.log('Thumbnails: ', thumbnails); }) } ```

@zacwillis which browser was your code running,you can see the supported browser [https://github.com/wangweiwei/video-metadata-thumbnails#environment-support](https://github.com/wangweiwei/video-metadata-thumbnails#environment-support)

@cainmaila The issue of obtaining video frames in Safari has been fixed in version 1.0.18, but there are still some problems with the parameters, which are still being processed, thank...