Skip to content

Commit 5429646

Browse files
committed
added how streamly works
1 parent 2f43e16 commit 5429646

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ Go to our website! <http://streamly.us.to>
1717

1818
Or clone us into your web server...
1919

20+
## How does Streamly work?
21+
22+
Streamly is written in Javascript. Every aspect of Streamly is controlled by the user (it does not and cannot get its information from anywhere else).
23+
24+
Pausing videos is operated by an external button. Going from one video to another is controlled by cycling through a Javascript object containing the user's original search, the video's URL, and the video's time.
25+
26+
Saving playlists is done by creating a [JSON](https://json.org) string of the object containing video properties, then encoding it into [Base64](https://en.wikipedia.org/wiki/Base64), and finally running that into the hash parameter of the URL.
27+
2028
## Why does Streamly require the video's length?
2129

2230
Due to the no-API nature of Streamly, it is a little different from other YouTube streamers. This means that it will not retrieve the video's length (needed for playlists). It also will not retrieve the exact name of the video you load.

0 commit comments

Comments
 (0)