X 归档 2021-09-15
Media Source Extensions (MSE) requires containerized media (fMP4, WebM, MP3) to buffer & play. That's sad 😢 if you use WebCodecs right?
No worry! Check out https://github.com/wolenetz/mse-for-webcodecs/blob/main/explainer.md 🧪 proposal to learn how to feed encoded chunks directly to MSE.
Feedback appreciated!
No worry! Check out https://github.com/wolenetz/mse-for-webcodecs/blob/main/explainer.md 🧪 proposal to learn how to feed encoded chunks directly to MSE.
Feedback appreciated!
Media Source Extensions(MSE)需要封装好的媒体格式(fMP4、WebM、MP3)才能缓冲和播放。如果你用 WebCodecs,是不是很郁闷 😢?
别担心!看看这个 https://github.com/wolenetz/mse-for-webcodecs/blob/main/explainer.md 🧪 提案,了解如何把编码数据块直接喂给 MSE。
欢迎反馈!
别担心!看看这个 https://github.com/wolenetz/mse-for-webcodecs/blob/main/explainer.md 🧪 提案,了解如何把编码数据块直接喂给 MSE。
欢迎反馈!
Similar concept, but a square mask!
This mask is fit dynamically to a hovered || tapped DOM element 🤓
For some flair, the video shows offsetting sides of the square with delays on the custom property transitions
src https://codepen.io/argyleink/pen/jOwwWOb
try it https://codepen.io/argyleink/full/jOwwWOb
This mask is fit dynamically to a hovered || tapped DOM element 🤓
For some flair, the video shows offsetting sides of the square with delays on the custom property transitions
src https://codepen.io/argyleink/pen/jOwwWOb
try it https://codepen.io/argyleink/full/jOwwWOb
类似的概念,不过这次是方形遮罩!
这个遮罩会动态贴合被 hover || 点按的 DOM 元素 🤓
为了更有味道,视频里还通过给自定义属性的过渡加延迟,让方形的各条边错落变化
src https://codepen.io/argyleink/pen/jOwwWOb
试试 https://codepen.io/argyleink/full/jOwwWOb
这个遮罩会动态贴合被 hover || 点按的 DOM 元素 🤓
为了更有味道,视频里还通过给自定义属性的过渡加延迟,让方形的各条边错落变化
src https://codepen.io/argyleink/pen/jOwwWOb
试试 https://codepen.io/argyleink/full/jOwwWOb


