DEV Community

Sh Raj
Sh Raj

Posted on • Originally published at github.com

TweetX: HTML5 Twitter like Video Player for Your Website ✨

Introducing TweetX: The Twitter Video Player Clone for Your Website!

Twitter

https://codexdindia.blogspot.com/2024/04/tweetx-html5-twitter-like-video-player.html

GitHub logo SH20RAJ / TweetX

TweetX Video Player - A Twitter/X UI HTML5 Video Player

TweetX

License GitHub stars GitHub forks Twitter Visitors

A Twitter video player clone for embedding Twitter-style video players on your website TweetX Video Player - A Twitter/X UI HTML5 Video Player

Key Features:

  • 🎥 Sleek Twitter-like Design: Get the Twitter video player look and feel on your website.
  • 🎨 Customizable: Easily tweak colors and styles to match your website's theme.
  • ▶️ Play, Pause, Volume Control: All the essential video player functionalities.
  • 📐 Responsive: Works seamlessly on desktops, tablets, and mobile devices.
  • 💻 Lightweight: Minimal footprint for fast loading times.

Codepen | Demo | Dev.to


Installation

To use the TweetX video player on your website, follow these steps:

  1. Include the CSS file in the <head> section of your HTML:

    <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/SH20RAJ/TweetX/TweetX.min.css">
    Enter fullscreen mode Exit fullscreen mode
  2. Include the JavaScript file at the bottom of your HTML, just before the closing </body> tag:

    <script src="https://cdn.jsdelivr.net/gh/SH20RAJ/TweetX/TweetX.min.js"></script>
    Enter fullscreen mode Exit fullscreen mode

Use both…

If you've ever wanted to embed Twitter-style video players on your website, look no further! TweetX is a lightweight, customizable, and easy-to-use Twitter video player clone that brings the familiar Twitter UI to your videos.



Key Features:

  • 🎥 Sleek Twitter-like Design: Get the Twitter video player look and feel on your website.
  • 🎨 Customizable: Easily tweak colors and styles to match your website's theme.
  • ▶️ Play, Pause, Volume Control: All the essential video player functionalities.
  • 📐 Responsive: Works seamlessly on desktops, tablets, and mobile devices.
  • 💻 Lightweight: Minimal footprint for fast loading times.

Quick Links:


How to Use TweetX:

1. Installation:

Include the CSS and JavaScript files in your HTML:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/SH20RAJ/TweetX/TweetX.css">
<script src="https://cdn.jsdelivr.net/gh/SH20RAJ/TweetX/TweetX.js"></script>
Enter fullscreen mode Exit fullscreen mode

2. Usage:

Place a <video> element with the tweetx class:

<video tabindex="-1" data-video="" allowfullscreen="false" controlslist="nodownload" class="tweetx">
  <source src="path/to/your/video.mp4" type="video/mp4">
</video>
Enter fullscreen mode Exit fullscreen mode

3. Customization:

  • Customize the CSS variables for colors.
  • Modify the JavaScript for additional functionalities.

Get Started with TweetX Today!

Get the Source Code on GitHub

Follow Us on Twitter


License

TweetX is licensed under the MIT License.


Your Feedback Matters!

We're constantly improving TweetX based on your feedback. Feel free to contribute, share your thoughts, or report issues on GitHub. Let's make TweetX even better together!


Acknowledgements

A big thank you to the original creator of the Twitter video player clone, Ahmet Aksungur, for the inspiration and initial implementation.


If you find TweetX useful, don't forget to give it a ⭐️ on GitHub and share it with your friends. Let's bring the Twitter video experience to your website! 🚀


Thank you for checking out TweetX – The Twitter Video Player Clone for Developers! 🎉

Top comments (2)

Collapse
 
tr11 profile image
Tiago Rangel

Pretty nice :)

Collapse
 
sh20raj profile image
Sh Raj

Thanks for the better appreciation brother ❤️