<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Web-Component on Định Nguyễn</title>
    <link>https://dinhnn.com/tags/web-component/</link>
    <description>Recent content in Web-Component on Định Nguyễn</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 10 Apr 2026 00:00:00 +0700</lastBuildDate>
    <atom:link href="https://dinhnn.com/tags/web-component/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Building py-player — A Media Player Nobody Asked For</title>
      <link>https://dinhnn.com/posts/building-py-player/</link>
      <pubDate>Fri, 10 Apr 2026 00:00:00 +0700</pubDate>
      <guid>https://dinhnn.com/posts/building-py-player/</guid>
      <description>&lt;h2 id=&#34;tldr&#34; class=&#34;anchor-link&#34;&gt;&lt;a href=&#34;#tldr&#34;&gt;TL;DR&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;I built a dependency-free Web Component media player with 7 layout presets, 7 themes, audio visualization, and i18n. Nobody asked for it. I&amp;rsquo;m not sure anyone needs it. But I built it anyway, with Claude Code doing most of the heavy lifting.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Docs &amp;amp; Playground:&lt;/strong&gt; &lt;a href=&#34;https://py.dinhnn.com&#34;&gt;py.dinhnn.com&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href=&#34;https://github.com/dinhnguyen/py-player&#34;&gt;github.com/dinhnguyen/py-player&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;npm:&lt;/strong&gt; &lt;code&gt;npm install py-player&lt;/code&gt;&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;an-idea-that-sat-around-for-years&#34; class=&#34;anchor-link&#34;&gt;&lt;a href=&#34;#an-idea-that-sat-around-for-years&#34;&gt;An Idea That Sat Around for Years&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve wanted to build a custom media player for a long time. Not because the world needs another one — HTML5 &lt;code&gt;&amp;lt;audio&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;video&amp;gt;&lt;/code&gt; have gotten really good. The native controls work fine for most people. The ecosystem of existing players is mature. There&amp;rsquo;s howler.js, plyr, vidstack, and dozens more.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
