Giter Site home page Giter Site logo

cristiancfm / webdeck-player Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 0.0 269 KB

A Javascript Youtube playlists player for personal websites

Home Page: https://webdeckplayer.neocities.org/

License: MIT License

HTML 8.14% JavaScript 22.86% CSS 69.00%
javascript music-player neocities youtube youtube-player

webdeck-player's Introduction

header

Webdeck Player

Cool music for your cool website!

The Webdeck Player is a player for Youtube playlists coded entirely in Javascript and intended for personal websites. Use it for showing your amazing music taste to your visitors!

Live demo: https://webdeckplayer.neocities.org

GitHub release (latest by date) GitHub GitHub all releases downloads paypal

Features

  • Play Youtube videos saved in playlists
  • Integrated video controls (play, pause, volume, shuffling, etc.)
  • Playlist selector - select between your defined playlists
  • Themes - customize the player with the included themes or create your own!
  • Very easy to use
  • Written in pure modern Javascript - no weird stuff!
  • Lightweight
  • aesthetic™

Downloads

Releases section: https://github.com/cristiancfm/webdeck-player/releases

Instructions

(read these instructions also on the website)

Getting started with the Webdeck Player is very simple. Follow this tutorial and you'll get your copy of the player running in a few minutes!

Installing the player

  1. Go to the Releases section of the Github repository and download the latest version available. You should get a webdeck-player-v.X.X.X.zip file.

  2. Unzip the file and put the webdeck-player folder into your website root folder.

  3. a. Run the player on a separate browser window (recommended)

  • The player is designed to work inside a container of 600x250 pixels. You can make the player open in a new browser window - it will look great and visitors can navigate the rest of your site while keeping the player running! To do it, place a tag like the following in your site:
    <button onclick="window.open('/webdeck-player/index.html', 'Web Deck Player', 'height=250, width=600')">Open Web Deck Player</button>
    This code creates a button that will open a window with the specified height and width containing the player.
  1. b. Run the player inside an iframe
  • You can also run the player inside a page of your site using an iframe tag. To do it, you can write the following tag in the HTML of your page:
    <iframe src="/webdeck-player/index.html" height="250" width="600"></iframe>

Adding playlists

Go to the script.js file inside the webdeck-player folder. There you can follow the instructions to change the playlists shown in the player.

Adding themes

To add a new theme to the player, copy its folder to the themes folder. Then, open the script.js file and add it to the list following the instructions.

Creating a new theme

Themes are just a collection of resources (like images or fonts) and a CSS file to modify the player appearance. You just need basic knowledge about CSS to start! Create a new theme following these steps:

  1. Inside the webdeck-player folder, locate the themes folder and open it.
  2. Choose a theme folder as a base, for example, the default theme. You can modify any other theme.
  3. Duplicate your chosen folder and rename it. For example, call it my-theme.
  4. Add your new theme to the script.js file following the instructions inside it.
  5. Inside your theme folder, open the webdeck-player.css file and modify it to your liking. You can also change the fonts and the images. Do not rename any image. Their paths are used in the script.js file. The about.txt file is for adding a description about the theme and your name.

About

Created by Chris. Licensed under the MIT License. Some components of the software such as fonts were created by others. In these cases, attribution was given for their work.

webdeck-player's People

Contributors

cristiancfm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.