<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Golam Kibria</title>
    <description>The latest articles on DEV Community by Golam Kibria (@gkshuvo).</description>
    <link>https://dev.to/gkshuvo</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F594819%2F08931e13-3906-4fbd-81b3-6022125c8c1c.jpeg</url>
      <title>DEV Community: Golam Kibria</title>
      <link>https://dev.to/gkshuvo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gkshuvo"/>
    <language>en</language>
    <item>
      <title>React Video Corner: The Ultimate Floating Video Player Component</title>
      <dc:creator>Golam Kibria</dc:creator>
      <pubDate>Mon, 15 Sep 2025 10:54:49 +0000</pubDate>
      <link>https://dev.to/gkshuvo/react-video-corner-the-ultimate-floating-video-player-component-589p</link>
      <guid>https://dev.to/gkshuvo/react-video-corner-the-ultimate-floating-video-player-component-589p</guid>
      <description>&lt;p&gt;&lt;strong&gt;Transform your React apps with this sleek, customizable floating video player! ✨&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;What is React Video Corner?&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;A lightweight, zero-dependency React component that creates a beautiful floating video player in the corner of your screen. Perfect for tutorials, demos, or any app that needs unobtrusive video content.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;🌟 Key Features&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;🎯 Smart Positioning&lt;/strong&gt;: Choose from 4 corner positions (top-left, top-right, bottom-left, bottom-right)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;📱 Responsive Design&lt;/strong&gt;: Automatically adapts to different screen sizes&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;🎨 Fully Customizable&lt;/strong&gt;: Control size, colors, border radius, and more&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;🎥 Dual Video Support&lt;/strong&gt;: Works with both local videos and YouTube URLs&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;⚡ Zero Dependencies&lt;/strong&gt;: No external CSS frameworks required&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;🔧 TypeScript Ready&lt;/strong&gt;: Full type safety out of the box&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;🎮 Interactive Controls&lt;/strong&gt;: Play/pause, mute/unmute, restart functionality&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;👶 Tiny Bundle&lt;/strong&gt;: Minimal impact on your app's performance&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;💻 Quick Start&lt;/strong&gt;
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install &lt;/span&gt;react-video-corner
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight jsx"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;VideoCorner&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;react-video-corner&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;App&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;VideoCorner&lt;/span&gt;
      &lt;span class="na"&gt;videoSrc&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"/path/to/video.mp4"&lt;/span&gt;
      &lt;span class="na"&gt;position&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"bottom-right"&lt;/span&gt;
      &lt;span class="na"&gt;smallSize&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="mi"&gt;150&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
      &lt;span class="na"&gt;largeSize&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="mi"&gt;320&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
      &lt;span class="na"&gt;autoplay&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
      &lt;span class="na"&gt;initiallyMuted&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;/&amp;gt;&lt;/span&gt;
  &lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  &lt;strong&gt;🎨 Customization Options&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Position&lt;/strong&gt;: &lt;code&gt;bottom-right&lt;/code&gt; | &lt;code&gt;bottom-left&lt;/code&gt; | &lt;code&gt;top-right&lt;/code&gt; | &lt;code&gt;top-left&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sizes&lt;/strong&gt;: Customizable small and large dimensions&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Styling&lt;/strong&gt;: Border color, background color, border radius&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Behavior&lt;/strong&gt;: Autoplay, initially muted, expand/collapse&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;🔥 Perfect For&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Tutorial Websites&lt;/strong&gt;: Show step-by-step guides without interrupting the main content&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;E-commerce&lt;/strong&gt;: Product demonstrations that don't block the shopping experience&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Documentation&lt;/strong&gt;: Interactive help videos that stay accessible&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Portfolios&lt;/strong&gt;: Showcase your work with floating video previews&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Educational Platforms&lt;/strong&gt;: Supplementary content that enhances learning&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;🪧 Live Demo&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Check out the interactive demo: &lt;a href="https://g-k-shuvo.github.io/react-video-corner/" rel="noopener noreferrer"&gt;https://g-k-shuvo.github.io/react-video-corner/&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;⁉️ Why Choose This Package?&lt;/strong&gt;
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;No CSS Dependencies&lt;/strong&gt;: Uses inline styles, so no Tailwind or other CSS frameworks needed&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;YouTube Integration&lt;/strong&gt;: Seamlessly switch between local videos and YouTube content&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Accessibility&lt;/strong&gt;: Built with keyboard navigation and screen reader support&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Performance&lt;/strong&gt;: Optimized for smooth animations and minimal re-renders&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Maintenance&lt;/strong&gt;: Actively maintained with regular updates and bug fixes&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;🛠️ Advanced Usage&lt;/strong&gt;
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight jsx"&gt;&lt;code&gt;&lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;VideoCorner&lt;/span&gt;
  &lt;span class="na"&gt;videoSrc&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"https://www.youtube.com/watch?v=dQw4w9WgXcQ"&lt;/span&gt;
  &lt;span class="na"&gt;isYoutube&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
  &lt;span class="na"&gt;position&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"top-left"&lt;/span&gt;
  &lt;span class="na"&gt;smallSize&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="mi"&gt;120&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
  &lt;span class="na"&gt;largeSize&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="mi"&gt;400&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
  &lt;span class="na"&gt;borderRadius&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
  &lt;span class="na"&gt;borderColor&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"#3b82f6"&lt;/span&gt;
  &lt;span class="na"&gt;backgroundColor&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"#ffffff"&lt;/span&gt;
  &lt;span class="na"&gt;autoplay&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
  &lt;span class="na"&gt;initiallyMuted&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;/&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  &lt;strong&gt;📦 Package Stats&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Size&lt;/strong&gt;: ~15KB gzipped&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dependencies&lt;/strong&gt;: 0 (peer dependencies only)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;TypeScript&lt;/strong&gt;: Full support&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;React&lt;/strong&gt;: 16.8+ (hooks support)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Browser&lt;/strong&gt;: Modern browsers (ES6+)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;🖇️ Links&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub&lt;/strong&gt;: &lt;a href="https://github.com/g-k-shuvo/react-video-corner" rel="noopener noreferrer"&gt;github.com/g-k-shuvo/react-video-corner&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;NPM&lt;/strong&gt;: &lt;a href="https://www.npmjs.com/package/react-video-corner" rel="noopener noreferrer"&gt;npmjs.com/package/react-video-corner&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Live Demo&lt;/strong&gt;: &lt;a href="https://g-k-shuvo.github.io/react-video-corner" rel="noopener noreferrer"&gt;g-k-shuvo.github.io/react-video-corner&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;💡 Pro Tips&lt;/strong&gt;
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Use &lt;code&gt;initiallyMuted={true}&lt;/code&gt;&lt;/strong&gt; for better user experience (browsers block autoplay with sound)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Set appropriate &lt;code&gt;smallSize&lt;/code&gt;&lt;/strong&gt; to avoid blocking important UI elements&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Consider &lt;code&gt;position="bottom-right"&lt;/code&gt;&lt;/strong&gt; for better mobile experience&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use YouTube URLs&lt;/strong&gt; for better performance with large video files&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;🎯 Use Cases&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;SaaS Onboarding&lt;/strong&gt;: Guide users through features with floating tutorial videos&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;E-learning Platforms&lt;/strong&gt;: Provide supplementary video content&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Product Demos&lt;/strong&gt;: Showcase features without leaving the main interface&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Support Documentation&lt;/strong&gt;: Interactive help videos&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Portfolio Websites&lt;/strong&gt;: Showcase projects with floating previews&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;😍 Get Started Today!&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;This package is perfect for developers who want to add professional video functionality to their React apps without the complexity of building it from scratch. The zero-dependency approach means it works with any React setup, and the extensive customization options ensure it fits your design perfectly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Star the repo, try the demo, and let me know what you think! ⭐&lt;/strong&gt;&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Tags&lt;/strong&gt;: &lt;code&gt;#React&lt;/code&gt; &lt;code&gt;#JavaScript&lt;/code&gt; &lt;code&gt;#TypeScript&lt;/code&gt; &lt;code&gt;#VideoPlayer&lt;/code&gt; &lt;code&gt;#UIComponent&lt;/code&gt; &lt;code&gt;#OpenSource&lt;/code&gt; &lt;code&gt;#WebDevelopment&lt;/code&gt; &lt;code&gt;#Frontend&lt;/code&gt; &lt;code&gt;#NPM&lt;/code&gt; &lt;code&gt;#Tutorial&lt;/code&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
