Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 987 Bytes

README.MD

File metadata and controls

38 lines (23 loc) · 987 Bytes

How it wroks

Taking the system time of the day, starts playing a predefined playlist in the exact second, so that every browser loading the site will see the same content.

//a video
===


//a playlist
[===.===.===.===]


//a day
                      now
-----------------------|--------------------------------------------


//fill up the day with playlists

[===.===.===.===][===.===.===.===][===.===.===.===][===.===.===.===]
-----------------------|--------------------------------------------


//determine the video to play for the current time of the day

                      video
[===.===.===.===][===.<===>.===.===] 
------------------------|--------------------------------------------



//calculate the start second of the video

                      start
[===.===.===.===][===.<=|==>.===.===] 
------------------------|--------------------------------------------

Demo Playlist: Top 25 Billboard Dance/Electronic