Compare commits

...
118 Commits
Author SHA1 Message Date
Thomas Zarebczan c5ba00c437 Update youtube_status.php 2019-06-20 13:26:04 -04:00
Thomas Zarebczan 5c38abd74f note about FAQ when syncing 2019-06-20 13:14:27 -04:00
Thomas Zarebczan c80d4e2f9c Update naming.md 2019-06-19 23:16:21 -04:00
Niko Storni 7b202378df fix error labels in ytsync page 2019-06-20 04:17:24 +02:00
Thomas Zarebczan 2d335fa6b0 Update youtube.md 2019-06-19 21:20:28 -04:00
Thomas Zarebczan c63479ba64 Improve warning on invalid channel name (#1052) 2019-06-18 16:55:47 -04:00
Niko Storni 766f313e37 restore site visitor logging 2019-06-18 21:21:01 +02:00
Niko Storni 8a892cce6e disable visitor logging temporarily 2019-06-18 19:33:52 +02:00
Thomas Zarebczan d294da0882 Update youtube.md 2019-06-16 18:26:32 -04:00
netop://ウエハ 3751b1eaae Removed iframe from FAQ article 2019-06-13 11:25:43 -05:00
Thomas Zarebczan 9dcb04787d Update youtube.md 2019-06-11 13:02:55 -04:00
Thomas Zarebczan 288ec6d6a1 Update exchanges.md 2019-06-07 15:55:47 -04:00
Jeremy Kauffman e62277fcd3 copy tweak 2019-06-07 10:32:26 -04:00
Jeremy Kauffman 69747ad2cb add header to faq prompt 2019-06-07 10:31:00 -04:00
netop://ウエハ 49e7e5c581 Fixes 2019-06-07 10:28:56 -04:00
netop://ウエハ 513e8fc5e4 Minor improvements 2019-06-07 10:28:56 -04:00
Alex Grin 795769fbbd Update canary.php 2019-06-04 11:32:15 -04:00
Thomas Zarebczan 7a2e159b2e Update how-to-backup-wallet.md 2019-05-31 16:16:20 -04:00
Thomas Zarebczan 77695430e2 Update how-to-backup-wallet.md 2019-05-28 15:00:20 -04:00
Thomas Zarebczan d8fdf0310c Update how-to-backup-wallet.md 2019-05-27 08:56:25 -04:00
Thomas Zarebczan 933349663b Update how-to-backup-wallet.md 2019-05-26 23:52:35 -04:00
Thomas Zarebczan 18da0f2db1 Update how-to-backup-wallet.md 2019-05-26 23:51:13 -04:00
Thomas Zarebczan fe087ac106 Update multisig.md 2019-05-23 19:33:38 -04:00
Thomas Zarebczan cf1a3e7230 Update how-to-find-lbry-log-file.md 2019-05-23 14:09:36 -04:00
netop:// ウェッブ 6044bcc2e6 Merge pull request #1047 from lbryio/youtube-fixes
fix youtube channel name change
2019-05-23 11:39:53 -05:00
Niko Storni 54830110e8 fix youtube channel name change
update composer to remove warnings
2019-05-23 17:34:39 +02:00
Clement 8d1c2a7255 Update 212-comm-update.md (#1045)
added image to our hive description
2019-05-22 16:04:40 -04:00
Thomas Zarebczan dd1b772ffe grammar 2019-05-22 16:04:25 -04:00
Thomas Zarebczan 8e67ebbae3 add image 2019-05-22 15:41:27 -04:00
Thomas Zarebczan f87cfef0fe Multisig faq (#1046) 2019-05-22 15:35:21 -04:00
Thomas Zarebczan c446c8e97b Update referrals.md 2019-05-22 09:48:01 -04:00
YULIUS KURNIAWAN KRISTIANTO 52891ffc3b Update 212-comm-update.md (#1044)
added open.lbry.io link
2019-05-21 18:36:56 -04:00
Brendon J. Brewer 8af6a8639c Updated the number about how much content there is (#1036)
* Edits about publishing

* Updated figure about how much content there is
2019-05-21 17:07:33 -04:00
Thomas Zarebczan 07810d6bcd Update 212-comm-update.md 2019-05-21 17:06:59 -04:00
Thomas Zarebczan d47f5f99d9 Update 212-comm-update.md 2019-05-21 16:53:19 -04:00
YULIUS KURNIAWAN KRISTIANTO 5055510be7 add twitter links 2019-05-21 16:28:17 -04:00
Julie Sigwart fdc0a4fc89 Fix bad link 2019-05-21 12:58:09 -07:00
Julie Sigwart e16f414093 Add LBRY en español Discord link 2019-05-21 12:44:16 -07:00
Julie Sigwart 5cd578ea38 Remove lazybit.io url for now pending updates 2019-05-21 10:14:43 -07:00
Julie Sigwart 1344a4a54d Added LBRY Ladies pic 2019-05-20 14:54:02 -07:00
Julie Sigwart 0c2417be2d Create 212-comm-update.md 2019-05-20 14:21:20 -07:00
Clement 6f6eea6cf0 Create lbryindia.php
created this age to redirect our new subscriptions to LBRY. Don't want to manage a database of those signing up on our website. So if this is okay, then please approve this pr so that we can update the link on our website https://lbryindia.com
2019-05-16 16:10:22 -04:00
Brinck Slattery 9c222a91d2 Update 211-32-skidoo.md 2019-05-16 14:58:39 -04:00
Brinck Slattery f4e5f687a7 Add files via upload 2019-05-16 14:58:00 -04:00
Brinck Slattery 3d9c75b219 Rename 32-skidoo.md to 211-32-skidoo.md 2019-05-16 14:57:37 -04:00
Brinck Slattery 0524e35e51 Create 32-skidoo.md 2019-05-16 14:56:21 -04:00
Thomas Zarebczan a412e6e873 Update exchanges.md 2019-05-15 19:15:55 -04:00
Brinck Slattery bc49820c90 Update 210-Malabarize-se.md 2019-05-14 12:15:17 -04:00
Brinck Slattery 0ed5aa8f7f Update 210-Malabarize-se.md 2019-05-14 12:11:46 -04:00
Brinck Slattery 06c2bc75b4 Update 210-Malabarize-se.md 2019-05-14 12:00:37 -04:00
Brinck Slattery 80c95c6674 Add files via upload 2019-05-14 11:59:15 -04:00
Brinck Slattery e4f49ba795 Update 210-Malabarize-se.md 2019-05-14 11:58:27 -04:00
Brinck Slattery 5a1459d645 Merge pull request #1039 from lbryio/Feanor78-patch-1-1
Juggling Puzzle Blog Post
2019-05-14 11:56:59 -04:00
Brinck Slattery 0c0956dcca Create 210-Malabarize-se.md 2019-05-14 11:56:26 -04:00
Brinck Slattery f5fee4440e Add files via upload (#1038) 2019-05-14 11:28:42 -04:00
Thomas Zarebczan d7f5929fe1 android 2019-05-11 03:07:14 -04:00
Julie Sigwart e4b9b87e8a Merge pull request #1035 from lbryio/jsigwart-patch-5
Bees for Community update
2019-05-09 16:48:24 -07:00
Julie Sigwart 993d1886f7 Bees for Community update 2019-05-09 11:36:24 -07:00
Abiskan 5fb436d1e2 add note about ipv6/debian 2019-05-09 09:28:54 -04:00
netop:// ウェッブ aef22ab1c4 Merge pull request #1031 from ykris45/patch-2
Update and rename jquery-3.3.1.min.js to jquery-3.4.1.min.js
2019-05-07 10:02:42 -05:00
YULIUS KURNIAWAN KRISTIANTO 72a2356f6a fix invalid telegram link (#1032)
added : in front of https
2019-05-02 16:04:37 -04:00
YULIUS KURNIAWAN KRISTIANTO 4e73c2b239 Update Response.class.php 2019-05-02 21:32:12 +07:00
YULIUS KURNIAWAN KRISTIANTO 52bb131e65 Update and rename jquery-3.3.1.min.js to jquery-3.4.1.min.js 2019-05-02 21:27:23 +07:00
YULIUS KURNIAWAN KRISTIANTO b123d8f9fd change releases link to the latest (#1030)
because now lbry have latest version 0.31.1
2019-05-01 13:42:30 -04:00
Josh Finer 2e8fea4e07 Create 2019-Q1.md 2019-05-01 09:33:45 -04:00
YULIUS KURNIAWAN KRISTIANTO d7f9758bd7 Update 209-binance.md (#1029)
add backlink for email
2019-04-30 12:25:28 -04:00
netop:// ウェッブ 5b903047fa Merge pull request #1028 from lbryio/paul-test
sync consent fix
2019-04-30 10:16:23 -05:00
ポール ウェッブ 2f296c8eb8 sync_consent 0, fix 2019-04-30 10:14:03 -05:00
ポール ウェッブ e9110ad489 idk 2019-04-30 10:14:03 -05:00
ポール ウェッブ 2240ae7202 Updated og image for YouTube Sync 2019-04-29 15:50:45 -05:00
YULIUS KURNIAWAN KRISTIANTO cd3791b791 add download links (#1027) 2019-04-29 12:04:13 -04:00
Brendon J. Brewer c2d04c4f7b Edits about publishing (#1025) 2019-04-28 19:00:51 -04:00
YULIUS KURNIAWAN KRISTIANTO 4f02813a5e Update temporary.yaml (#1026)
alias /support
2019-04-27 18:03:47 -04:00
YULIUS KURNIAWAN KRISTIANTO 13e07996e2 fix incorrect email address (#1024)
* fix incorrect email address
2019-04-26 17:49:20 -04:00
Thomas Zarebczan 099020e1f9 manual verification update 2019-04-26 10:32:44 -04:00
ポール ウェッブ ebdd3433d1 Updated submodule added class to error message 2019-04-25 16:00:12 -05:00
ポール ウェッブ ef28a931f9 Reverted submodule change 2019-04-25 10:56:21 -05:00
Jeremy Kauffman 891e3171c4 commas in yt values 2019-04-25 10:14:02 -04:00
Jeremy Kauffman 0d4c5e2988 dynamic rewards 2019-04-25 10:13:33 -04:00
ポール ウェッブ f3e1fe5db9 Fixed submodules not updating issue 2019-04-24 15:41:02 -05:00
ポール ウェッブ da3e7db281 Closes #1020 2019-04-24 15:37:12 -05:00
ポール ウェッブ 7999ad4232 Closes #1000 2019-04-23 12:08:47 -05:00
ポール ウェッブ ba6aa28657 Merge branch 'master' of github.com:lbryio/lbry.com 2019-04-23 10:50:58 -05:00
ポール ウェッブ 79e211e88d Prod code 2019-04-23 10:50:49 -05:00
YULIUS KURNIAWAN KRISTIANTO 8e17f405f6 remove embedded tweet
Remove Tweet Embed and Put and Image based on tweet
2019-04-22 20:57:11 -04:00
ポール ウェッブ 3c9e5601d4 Fixed error message 2019-04-22 16:20:37 -05:00
ポール ウェッブ 0fdc535a53 Uncommented code for production 2019-04-19 14:30:46 -05:00
ポール ウェッブ 48eab05b62 Scrolling to errors and passing along sync status to YT sync works 2019-04-19 13:28:05 -05:00
ポール ウェッブ ca1856e203 Improved YT sync visuals and accounted for pending email 2019-04-17 14:53:34 -05:00
ポール ウェッブ c6d5990629 Removed random YT reward and added notes 2019-04-16 16:51:43 -05:00
Jeremy Kauffman 808dc1a1e5 mediocre fix for error returns from google oauth 2019-04-16 11:25:54 -04:00
ポール ウェッブ d0dbe05f68 Merge branch 'master' of github.com:lbryio/lbry.com 2019-04-16 10:01:52 -05:00
ポール ウェッブ afdf804012 Closes #898 2019-04-16 10:01:43 -05:00
Thomas Zarebczan a4f1f12318 add back crypopia 2019-04-16 10:02:05 -04:00
ポール ウェッブ 1ede1805bb Closes #898 2019-04-15 18:09:41 -05:00
ポール ウェッブ 6ea7cb7806 Closes #994 2019-04-15 13:51:51 -05:00
ポール ウェッブ cd306baad8 Styling to YS error message 2019-04-11 11:19:00 -04:00
ポール ウェッブ 1ca8f54deb Checkbox fixes for YouTube Sync 2019-04-11 10:26:01 -04:00
Thomas Zarebczan ab8da160aa fix link 2019-04-08 12:25:52 -04:00
Thomas Zarebczan 8727a328f9 fix link 2019-04-08 12:25:24 -04:00
netop:// ウェッブ 9d09248bd0 Merge pull request #1006 from lbryio/yt-update
YouTube Sync redesign
2019-04-08 10:07:02 -05:00
ポール ウェッブ a341a776c1 Combined boxes and changed some things 2019-04-05 17:05:25 -05:00
ポール ウェッブ 5590a31e15 Removed unnecessary line 2019-04-05 16:29:48 -05:00
ポール ウェッブ 87d594469f Redesign 2019-04-05 16:19:51 -05:00
Robert Smith d9e0168610 Merge pull request #1021 from lbryio/YouTube-Copy-Changes
New copy for /youtube.
2019-04-04 16:51:27 -04:00
Rob f93de426ba New copy for /youtube. 2019-04-04 16:17:45 -04:00
Thomas Zarebczan 7c650ccd52 Update startup-troubleshooting.md 2019-04-04 11:45:54 -04:00
YULIUS KURNIAWAN KRISTIANTO 5932d73e71 Update 186-hacktoberfest.md (#1019)
Delete embed twittert widget
2019-04-04 10:04:37 -04:00
Jeremy Kauffman 779ae99206 remove incorrect redirect 2019-04-03 18:17:25 -04:00
netop:// ウェッブ 50349f3417 Merge pull request #1009 from lbryio/992-tablet-nav-fix
Fix navigation for touchscreen devices
2019-04-02 13:38:21 -05:00
ポール ウェッブ acdc71b1f4 Done 2019-04-02 13:37:33 -05:00
YULIUS KURNIAWAN KRISTIANTO c5c00bea4d Update images in Twitter Tipbot FAQ 2019-04-02 10:44:44 -04:00
YULIUS KURNIAWAN KRISTIANTO 7661f24f76 update lbry cast reward amount 2019-04-01 11:50:46 -04:00
Thomas Zarebczan 544ade886d Update 209-binance.md 2019-03-30 01:32:10 -04:00
Julie Sigwart f33a32997a Add files via upload (#1012) 2019-03-29 16:58:34 -04:00
Julie Sigwart 519d02b24f change image (#1013) 2019-03-29 16:58:20 -04:00
Julie Sigwart 287765abfa Merge pull request #1011 from lbryio/jsigwart-patch-2
Update and rename pi.php to game.php
2019-03-29 13:19:01 -07:00
ポール ウェッブ cc91d0ac57 Initial commit 2019-03-28 17:52:41 -05:00
108 changed files with 1904 additions and 3186 deletions

No files matched your search

+1 -2
View File
@@ -39,7 +39,6 @@ Contributions to this project are welcome, encouraged, and compensated. For more
This project is MIT licensed. For the full license, see [LICENSE](LICENSE).
## Build URLs
lbry.com provides functionality for redirecting to build assets of other LBRY repos. The general structure is:
`lbry.com/releases/<github_repo_name>.<extension>`
@@ -55,7 +54,7 @@ Extension is used to get the release for the appropriate operating system, even
| Windows | msi, exe
| macOS | dmg, pkg
| Linux (Debian) | deb
| Android | apk
| Android | apk
The asset returned will match the latest release on the appropriate GitHub repo.
Generated
+49 -46
View File
@@ -4,31 +4,33 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "81a1536f324a2095f1d8804dcee5c790",
"content-hash": "ca843772aaf0c95ce9e4ab5e311b252c",
"packages": [
{
"name": "doctrine/instantiator",
"version": "1.1.0",
"version": "1.2.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/instantiator.git",
"reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda"
"reference": "a2c590166b2133a4633738648b6b064edae0814a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/instantiator/zipball/185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda",
"reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda",
"url": "https://api.github.com/repos/doctrine/instantiator/zipball/a2c590166b2133a4633738648b6b064edae0814a",
"reference": "a2c590166b2133a4633738648b6b064edae0814a",
"shasum": ""
},
"require": {
"php": "^7.1"
},
"require-dev": {
"athletic/athletic": "~0.1.8",
"doctrine/coding-standard": "^6.0",
"ext-pdo": "*",
"ext-phar": "*",
"phpunit/phpunit": "^6.2.3",
"squizlabs/php_codesniffer": "^3.0.2"
"phpbench/phpbench": "^0.13",
"phpstan/phpstan-phpunit": "^0.11",
"phpstan/phpstan-shim": "^0.11",
"phpunit/phpunit": "^7.0"
},
"type": "library",
"extra": {
@@ -53,25 +55,25 @@
}
],
"description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
"homepage": "https://github.com/doctrine/instantiator",
"homepage": "https://www.doctrine-project.org/projects/instantiator.html",
"keywords": [
"constructor",
"instantiate"
],
"time": "2017-07-22T11:58:36+00:00"
"time": "2019-03-17T17:37:11+00:00"
},
{
"name": "erusev/parsedown",
"version": "1.7.1",
"version": "1.7.3",
"source": {
"type": "git",
"url": "https://github.com/erusev/parsedown.git",
"reference": "92e9c27ba0e74b8b028b111d1b6f956a15c01fc1"
"reference": "6d893938171a817f4e9bc9e86f2da1e370b7bcd7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/erusev/parsedown/zipball/92e9c27ba0e74b8b028b111d1b6f956a15c01fc1",
"reference": "92e9c27ba0e74b8b028b111d1b6f956a15c01fc1",
"url": "https://api.github.com/repos/erusev/parsedown/zipball/6d893938171a817f4e9bc9e86f2da1e370b7bcd7",
"reference": "6d893938171a817f4e9bc9e86f2da1e370b7bcd7",
"shasum": ""
},
"require": {
@@ -104,7 +106,7 @@
"markdown",
"parser"
],
"time": "2018-03-08T01:11:30+00:00"
"time": "2019-03-17T18:48:37+00:00"
},
{
"name": "erusev/parsedown-extra",
@@ -254,16 +256,16 @@
},
{
"name": "myclabs/deep-copy",
"version": "1.8.1",
"version": "1.9.1",
"source": {
"type": "git",
"url": "https://github.com/myclabs/DeepCopy.git",
"reference": "3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8"
"reference": "e6828efaba2c9b79f4499dae1d66ef8bfa7b2b72"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8",
"reference": "3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8",
"url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/e6828efaba2c9b79f4499dae1d66ef8bfa7b2b72",
"reference": "e6828efaba2c9b79f4499dae1d66ef8bfa7b2b72",
"shasum": ""
},
"require": {
@@ -298,7 +300,7 @@
"object",
"object graph"
],
"time": "2018-06-11T23:09:50+00:00"
"time": "2019-04-07T13:18:21+00:00"
},
{
"name": "pelago/emogrifier",
@@ -532,16 +534,16 @@
},
{
"name": "phpdocumentor/reflection-docblock",
"version": "4.3.0",
"version": "4.3.1",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
"reference": "94fd0001232e47129dd3504189fa1c7225010d08"
"reference": "bdd9f737ebc2a01c06ea7ff4308ec6697db9b53c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/94fd0001232e47129dd3504189fa1c7225010d08",
"reference": "94fd0001232e47129dd3504189fa1c7225010d08",
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/bdd9f737ebc2a01c06ea7ff4308ec6697db9b53c",
"reference": "bdd9f737ebc2a01c06ea7ff4308ec6697db9b53c",
"shasum": ""
},
"require": {
@@ -579,7 +581,7 @@
}
],
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
"time": "2017-11-30T07:14:17+00:00"
"time": "2019-04-30T17:48:53+00:00"
},
{
"name": "phpdocumentor/type-resolver",
@@ -942,16 +944,16 @@
},
{
"name": "phpunit/phpunit",
"version": "6.5.13",
"version": "6.5.14",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "0973426fb012359b2f18d3bd1e90ef1172839693"
"reference": "bac23fe7ff13dbdb461481f706f0e9fe746334b7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/0973426fb012359b2f18d3bd1e90ef1172839693",
"reference": "0973426fb012359b2f18d3bd1e90ef1172839693",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/bac23fe7ff13dbdb461481f706f0e9fe746334b7",
"reference": "bac23fe7ff13dbdb461481f706f0e9fe746334b7",
"shasum": ""
},
"require": {
@@ -1022,7 +1024,7 @@
"testing",
"xunit"
],
"time": "2018-09-08T15:10:43+00:00"
"time": "2019-02-01T05:22:47+00:00"
},
{
"name": "phpunit/phpunit-mock-objects",
@@ -1081,6 +1083,7 @@
"mock",
"xunit"
],
"abandoned": true,
"time": "2018-08-09T05:50:03+00:00"
},
{
@@ -1644,16 +1647,16 @@
},
{
"name": "symfony/css-selector",
"version": "v4.2.2",
"version": "v4.2.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/css-selector.git",
"reference": "76dac1dbe2830213e95892c7c2ec1edd74113ea4"
"reference": "48eddf66950fa57996e1be4a55916d65c10c604a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/css-selector/zipball/76dac1dbe2830213e95892c7c2ec1edd74113ea4",
"reference": "76dac1dbe2830213e95892c7c2ec1edd74113ea4",
"url": "https://api.github.com/repos/symfony/css-selector/zipball/48eddf66950fa57996e1be4a55916d65c10c604a",
"reference": "48eddf66950fa57996e1be4a55916d65c10c604a",
"shasum": ""
},
"require": {
@@ -1693,20 +1696,20 @@
],
"description": "Symfony CssSelector Component",
"homepage": "https://symfony.com",
"time": "2019-01-03T09:07:35+00:00"
"time": "2019-01-16T20:31:39+00:00"
},
{
"name": "symfony/polyfill-ctype",
"version": "v1.10.0",
"version": "v1.11.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-ctype.git",
"reference": "e3d826245268269cd66f8326bd8bc066687b4a19"
"reference": "82ebae02209c21113908c229e9883c419720738a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e3d826245268269cd66f8326bd8bc066687b4a19",
"reference": "e3d826245268269cd66f8326bd8bc066687b4a19",
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/82ebae02209c21113908c229e9883c419720738a",
"reference": "82ebae02209c21113908c229e9883c419720738a",
"shasum": ""
},
"require": {
@@ -1718,7 +1721,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
"dev-master": "1.11-dev"
}
},
"autoload": {
@@ -1751,20 +1754,20 @@
"polyfill",
"portable"
],
"time": "2018-08-06T14:22:27+00:00"
"time": "2019-02-06T07:57:58+00:00"
},
{
"name": "theseer/tokenizer",
"version": "1.1.0",
"version": "1.1.2",
"source": {
"type": "git",
"url": "https://github.com/theseer/tokenizer.git",
"reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b"
"reference": "1c42705be2b6c1de5904f8afacef5895cab44bf8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/theseer/tokenizer/zipball/cb2f008f3f05af2893a87208fe6a6c4985483f8b",
"reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b",
"url": "https://api.github.com/repos/theseer/tokenizer/zipball/1c42705be2b6c1de5904f8afacef5895cab44bf8",
"reference": "1c42705be2b6c1de5904f8afacef5895cab44bf8",
"shasum": ""
},
"require": {
@@ -1791,7 +1794,7 @@
}
],
"description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
"time": "2017-04-07T12:08:54+00:00"
"time": "2019-04-04T09:56:43+00:00"
},
{
"name": "webmozart/assert",
+38
View File
@@ -0,0 +1,38 @@
---
title: "Quarterly Credit Report: First Quarter 2019"
sheet: https://docs.google.com/spreadsheets/d/1asnI5mGCVYb6zbcsxDhZaYu2IbXgWkGEBZcJ7VXt9XQ/edit?usp=sharing
category: policy
---
## Summary
This quarter we moved 146,289 operational credits from cold storage. We spent 1,695,734 total community credits on line items detailed below. 146,289 operational credits were used for the LBRY employee LBC purchase program.
We significantly larger community outlays throughout the rest of 2019 and starting in Q2 2019. Operational spending may increase at any time, but is not expected to increase significantly. Institutional spending is expected to be less than 1,000,000 LBC
## Overview By Fund
### Community Fund
1,695,734 credits were spent from the community fund, in the following areas:
| Category | Amount |
|---|---|
| Bounties | 328,380 |
| User Engagement | 291,000 |
| Community Engagement | 175,000 |
| Publishing | 10,000 |
| Acquisition | 286,990 |
| Testing | 1,100 |
| LBRY.fund | 203,264 |
| Swarm | 400,000 |
As reliability and interest has been increasing, we anticipate continuing to reward new users, community contributions, and other beneficial activity. This is likely to represent 1-2 million LBC.
### Operational Fund
* LBRY sold no LBC on the open market
* LBRY issued 146,289 LBC to employees
LBRY does not anticipate moving credits to market this quarter. However, should market conditions or our needs change, we reserve the right to move credits to market as needed.
### Institutional Fund
There were no institutional moves or spends this quarter.
+1 -1
View File
@@ -20,7 +20,7 @@ No other data is stored with your email login. All other data, including your [w
If you ever need to change your LBRY Android App email address or sign out, please see [this guide](/faq/how-to-change-email#android). Clearing data or uninstalling leads to a loss of wallet currently, please [backup your wallet data](/faq/how-to-backup-wallet#android).
If you sign into a new email and need to transfer your verification status, you'll need to [reach out to us](mailto:help@lbryio) in order to link your accounts. Please do not verify again to obtain rewards on a 2nd account; your Rewards account may be disabled for abuse.
If you sign into a new email and need to transfer your verification status, you'll need to [reach out to us](mailto:help@lbry.com) in order to link your accounts. Please do not verify again to obtain rewards on a 2nd account; your Rewards account may be disabled for abuse.
### What If I Want To Run LBRY On Multiple Android Devices?
+1 -3
View File
@@ -10,14 +10,12 @@ We are listed on several exchanges. You can buy or sell LBRY Credits at one of t
- [Poloniex](https://poloniex.com/exchange#btc_lbc)
- [Upbit](https://upbit.com/exchange?code=CRIX.UPBIT.BTC-LBC)
- [Instant Bitex](https://instantbitex.com)
- [BitSquare](https://bitsquare.io)
- [Coinspot](https://www.coinspot.com.au/buy/lbc)
- [Trade by Trade](https://app.tradebytrade.com/exchange-one)
- [Coin Delta](https://coindelta.com)
- [Coindeal](https://frontend.coindeal.com/market/trade.html?pair=LBC/BTC)
### Instant Exchanges
- [Shapeshift](https://shapeshift.io) (Requires free membership account now)
- [Shapeshift](https://shapeshift.io) (Currently unavailable, ShapeShift working on it. Requires free membership account now)
- [Changelly](https://changelly.com/exchange/BTC/LBC/1)
- [ChangeNow](https://changenow.io/exchange?amount=1&from=btc&to=lbc)
- [Simple Swap](https://simpleswap.io)
+14 -7
View File
@@ -3,19 +3,26 @@ title: How do I back up my LBRY wallet?
category: wallet
---
The LBRY application relies on blockchain technology and the LBRY Credits (LBC) cryptocurrency in order to participate in the network. These LBC are stored in a wallet (data file on your PC) which is generated with each LBRY installation (think of your credits as digital cash on your PC). A wallet contains your funds, channel data, and claims (any uploads). It is important to understand that the wallet is not stored on any LBRY servers and as such, users are responsible for its safeguarding and making sure a backup (copy of the wallet file) is available in the event that it is lost. If a wallet is lost or needs to be transferred, follow the [restore procedures below](#restore).
The LBRY application relies on blockchain technology and the LBRY Credits (LBC) cryptocurrency in order to participate in the network. These LBC are stored in a wallet (data file on your PC/device) which is generated with each LBRY installation...think of your credits as digital cash on your PC. A wallet contains your funds, channel data, and claims (any uploads). An Account Sync service is provided by LBRY where an encrypted copy of your wallet is stored securely by us. Strong wallet passwords are highly recommedned if this service is used.
Otherwise, it is important to understand that the wallet is not stored on any LBRY servers (except when [sync](#sync) is enabled) and as such, users are responsible for its safeguarding and making sure a backup (copy of the wallet file) is available in the event that it is lost. If a wallet is lost or needs to be transferred, follow the [restore procedures below](#restore).
*Note: Wallets should be re-backed up after creating new Channels/Identities (this is stored directly in the wallet file, and not part of the seed/restore process at the moment).*
## Wallet Account Sync (Android only) {#sync}
On Android, LBRY provides a wallet backup service where an encrypted version of your account, including any claims/channels/updates, is securely backed up and stored by LBRY Inc. **LBRY cannot recover this account without the password set by the user when enabling sync. Extra caution is advised when setting/storing the password** This allows users to sign back into their devices using their email and account password, and keeping their account/wallet history. Choosing a secure password is highly recommended, especially when storing larger amounts of LBC.
Only a single account will be synced per LBRY account. Wallet merging is not currently available. Both new and existing users are able to enable and configure account sync. **If an existing wallet is synced to an account that has a sync backup, it will overwrite the current wallet.** Password change and more storage (i.e. own location) features to be added at a later date.
*Coming to LBRY Desktop in Summer 2019*
## How do I find my wallet in the LBRY Desktop App?
The easiest way to find the location of your LBRY wallet is via the [LBRY app](/get). Open LBRY and on the left side, you should see a sidebar menu called "Wallet".
![wallet](https://spee.ch/@clement:e/lbcwallet2.png)
The easiest way to find the location of your LBRY wallet is via the [LBRY app](/get). Open LBRY and on the left side, you should see a sidebar menu called "Help" - the wallet location is in the **Backup Your LBRY Credits** section.
## How do I backup my LBRY Desktop App wallet?
Click on the Wallet tab to expand then click `Backup`.
![backup](https://spee.ch/@clement:e/backup.png)
after clicking on backup, you will see a link for `Backup`, open the location of the link in your local machine and make a copy of the files stored in that location. If this link is grayed out, it usually means you don't have any credits (see section below on how to manually find the wallet).
Click on "Help" and scroll down to the **Backup Your LBRY Credits** section. Open the location of the link in your local machine and make a copy of the files stored in that location. If this link is grayed out, it usually means you don't have any credits (see section below on how to manually find the wallet).
When you click `Backup`, you will be shown the location of your `lbryum` directory that contains the wallet file. Navigate to this directory via your file explorer to locate your wallet. You can either choose to backup this whole directory, the wallets directory inside it or the `default_wallet` file itself inside the wallets directory.
@@ -33,7 +40,7 @@ The easiest way to find the location of your LBRY Android wallet is via the [And
![Find wallet](https://spee.ch/b3535b68750ad69c48566cb028c67d323d1fdeb9/walli.jpg)
## How do I backup my LBRY Android app wallet? {#android}
The Android wallet will be removed if you uninstall the app or clear data. Scroll to the top of this page to learn more about your wallet.
The Android wallet will be removed if you uninstall the app or clear data or do not participate in the [sync](#sync) program. Scroll to the top of this page to learn more about your wallet.
*Please note that this may vary with each Android device*
1. Open your favorite file manager, navigate to `Internal storage/android/data/io.lbry.browser/files/lbryum/wallets`
2. Copy the default_wallet to any other location on your device, i.e. your SD card or another directory on the Internal Storage
+5 -2
View File
@@ -3,16 +3,19 @@ title: How do I locate my log files?
category: troubleshooting
---
In certain cases, we may ask you to send us your log file(s). The current log file is titled `lbrynet.log` (or just `lbrynet` if you have file extensions hidden) and is archived each time the files reaches 2MB. Older log files are copied to `lbrynet.log.<#>`. Typically only the lbrynet.log file is required, but we may ask for the others depending on the situation. Since each Operating System has its own set of working directories, use the below guide in order to locate the log file(s).
In certain cases, we may ask you to send us your log file(s). The current log file is titled `lbrynet.log` (or just `lbrynet` if you have file extensions hidden) and is archived each time the files reaches 2MB. Older log files are copied to `lbrynet.log.<#>`. Typically only the lbrynet.log file is required, but we may ask for the others depending on the situation. Since each Operating System has its own set of working directories, use the below guide in order to locate the log file(s).
**lbrynet.log files may contain your IP address. While sharing this is not inherently dangerous, if you desire maximum privacy, please mask it before posting to public websites.**
### Find Logs via the LBRY App
You are able to open the log folder from the Help tab in the LBRY app.
From the LBRY App, click on Help. Next, click on "Open Log Folder"
![log](https://spee.ch/a/helps.jpeg)
![log](https://spee.ch/b/app-logs.jpeg)
The folder will be highlighted, so just double click to open and here you will see "lbrynet.log".
### Sending log files from Android
Navigate to the **About** page and use the **Send Logs** button at the bottom. You can email them to [help@lbry.com](mailto:help@lbry.com)
### Find Logs Manually
## Windows
1. Open File Explorer (Keyboard shortcut: Windows Key + E).
+6 -3
View File
@@ -46,7 +46,9 @@ If you don't have LBRY yet, download it [here](/get).
Click `Publish`.
The file will process in the background and will be added to the LBRY Blockchain. Larger files will take longer to upload depending on your network speed. Please leave LBRY running while your content is in the "pending confirmation" mode. This page will automatically refresh and you will be notified when the publish is completed. You can continue to use LBRY while the upload completes.
The file will process in the background and will be added to the LBRY Blockchain. Please leave LBRY running while your content is in the "pending confirmation" mode. This page will automatically refresh and you will be notified when the publish is completed. After this, your content will be available to other LBRY users. However, it is a good idea to leave LBRY open for a while after this to make sure the app is able to share your file to at least one peer on the data network. Larger files will take longer to upload depending on your network speed.
You can continue to use LBRY while the upload completes.
### How do I create a Channel?
@@ -100,7 +102,8 @@ Yes, the claim can be edited to increase the bid amount. Go into your published
### How can I tell if someone is downloading my content?
Currently, this is only possible if you set a price for your content - you will see transactions in your LBRY wallet as people purchase it. In the future, we will add these types of statistics to LBRY.
The LBRY app now has view counts for your published content.
In the future, we will add more of these types of statistics to LBRY.
### My video doesn't stream in the app, what's wrong?
@@ -108,7 +111,7 @@ The in-app video player's streaming capabilities are limited to MP4 files which
### I shared my URL, but others can't download it. What's going on?
Since LBRY is a Peer-to-Peer network, it requires that your device is accessible to the internet. LBRY also runs servers to assist in content hosting, but this process may fail if your device cannot send it to us. By default, the TCP sharing port is set to 3333. If your network is properly configured and LBRY is running, a port status check on TCP Port 3333 should pass on this [port checking tool](http://www.canyouseeme.org). If it fails, you can check if UPnP is enabled on your router or forward TCP port 3333 manually. If you need assistance, check out the [help page](/faq/how-to-report-bugs) on how to reach us.
Since LBRY is a Peer-to-Peer network, it requires that your device is accessible to the internet. LBRY also runs servers to assist in content hosting, but this process may fail if your device cannot send it to us or if you didn't wait long enough after the initial publish. By default, the TCP sharing port is set to 3333. If your network is properly configured and LBRY is running, a port status check on TCP Port 3333 should pass on this [port checking tool](http://www.canyouseeme.org). If it fails, you can check if UPnP is enabled on your router or forward TCP port 3333 manually. If you need assistance, check out the [help page](/faq/how-to-report-bugs) on how to reach us.
### Where is my Channel and content saved locally?
+1 -1
View File
@@ -19,7 +19,7 @@ Your card information is submitted directly to [Stripe](https://stripe.com), one
### What If I Don't Want To Provide It?
No problem! We've added two other verification methods - [Phone Verification](/faq/phone) and manual verification via [Discord chat](https://chat.lbry.com). To begin manual verification, type **-new** in the #verification channel which will create a ticket (channel) for your request. **Note: DO NOT message any team members or post in other channels about verification concerns. Rewards will only be granted on a 1 account per household basis**
No problem! We've added two other verification methods - [Phone Verification](/faq/phone) and manual verification via [Discord chat](https://chat.lbry.com). To begin manual verification, see the #verification channel to start your request. **Note: DO NOT message any team members or post in other channels about verification concerns. Rewards will only be granted on a 1 account per household basis**
Otherwise, you are welcome to use the LBRY browser without providing any personal information. We just can't give you any rewards.
+1 -1
View File
@@ -12,7 +12,7 @@ The purpose of this FAQ is to answer questions about some of the basic functiona
Emails are collected to authenticate and [uniquely identify](/faq/identity-requirements) users so that they can be eligible for [LBRY Rewards](#rewards), sync subscription data and to stay up to date on the latest LBRY happenings. No other data is stored with your email login. All other data, including your [wallet](#wallet), [downloads](#data) and published content are stored locally on your computer. You can find your connected email by going to Settings (gear icon in the top right) > Help > Connected email.
### How do I change my LBRY connected email?
If you ever need to change your LBRY email address or sign out, please see [this guide](/faq/how-to-change-email). If you sign into a new email and need to transfer your verification status, you'll need to [reach out to us](mailto:help@lbryio) in order to link your accounts. Please do not verify again to obtain rewards on a 2nd account; your rewards account may be disabled for abuse.
If you ever need to change your LBRY email address or sign out, please see [this guide](/faq/how-to-change-email). If you sign into a new email and need to transfer your verification status, you'll need to [reach out to us](mailto:help@lbry.com) in order to link your accounts. Please do not verify again to obtain rewards on a 2nd account; your rewards account may be disabled for abuse.
### What if I want to run LBRY on multiple computers or different Windows accounts?
If you want to run the LBRY app on multiple PCs or on other platforms like Android, you can sign in with the same email on all devices. Each installation will still have it's own separate wallet file and download data (as mentioned above). Any rewards earned will be sent locally to the wallet where they are claimed. In the future, it is our goal to enable an opt-in wallet syncing service across all of your devices.
+54
View File
@@ -0,0 +1,54 @@
---
title: Multisignature and Ledger Hardware Wallets
category: powerusers
---
This guide is meant for power users and those who want to store LBRY Credits on their [Ledger Hardware devices](#HW) before official support is added. If you are participating in the LBRY Swarm program, this solution will allow you to store LBC at a Multisignature address which typically requires more than 1 person to sign off on a transaction before it's sent to the network. **It is important to test a single small transaction incoming and outgoing before using the wallet to store larger amounts. Also make sure a backup is taken (see instructions below).**
**Please note that the LBRY apps / SDK currently do not support outgoing transactions to multisignature wallets. Incoming transactions to the apps will work, but require a restart of the app afterward. Future support is planned for both.**
Learn more about Multisignature wallets and how they work: [Electrum Documentation ](http://docs.electrum.org/en/latest/multisig.html), [Creating a Multisignature Wallet](https://bitcoinelectrum.com/creating-a-multisig-wallet/). This documentation can also be referenced along with the steps below.
![wallet](https://spee.ch/2/multisig.jpg)
### Installing and Running Electrum for LBRY
You can find the downloads and setup information for [Electron LBRY on GitHub](https://github.com/tzarebczan/electrum/releases/tag/0.1.0). Windows and Mac installers are provided, but Linux needs to be run from source as detailed on the install instructions. If you previously ran an old version and created wallets, they will need to be re-created in this new version. You can use the old version to send the funds to another wallet and then re-create a new one.
### Setting up a Multisignature Wallet
You can also reference [step by step instructions with images here](https://drive.google.com/file/d/1zS9gXyfsz8e5gQGj8GrtlzCuhIWibQv4/view) or follow along below.
On the initial screen, you'll be asked to select a wallet file or create a new one. If this is the first time running it, proceed with a new file. If you have a wallet file already and want to create another, change the name of the file. Each user in the multisignature scheme will need to do this locally to create the same wallet (they all require to have started this process or have a key from the LBRY app wallet).
At the next prompt, you'll be asked for the wallet type - choose Multi-signature. Next, choose how many people (including the current person/wallet) will be sharing this wallet (from X cosigners) and how many are required to approve the transaction (require X cosigners). For example, if you choose 2 of 3, any 2 people will need to sign off to send the transaction.
Next, you'll be asked to provide a key for each wallet, including the current one, which is first. If you want to use your LBRY app's key / seed, proceed with "I already have a seed". You can find this seed inside your default_wallet file that's [created as part of your app installation](https://lbry.io/faq/how-to-backup-wallet). Open the default_wallet and you'll see a seed there. The wallet must not be encrypted to view it (you can decrypt temporarily via Desktop App > Settings). Otherwise, you can proceed with a new seed or Hardware device (requires Ledger device, [see below](#HW). Make sure to back up the seed if creating a new one - this can be done by copying the seed phrase or backing up the wallet file that's created.
You will be given a Master Public Key that will be shared with the other co-signers when they create the same wallet locally. Next, you will be prompted for the next cosigners key. This would come from their PC while setting up the same wallet, or from their [default_wallet file](https://lbry.io/faq/how-to-backup-wallet) by opening it and using the ```"public_key":``` portion (this assumes they will create their Electrum wallet from this LBRY app seed). Proceed with all cosigners until they are all filled out. Lastly, enter a password to encrypt the multisignature wallet.
### Receiving LBC in the Wallet
To receive LBC in the Electrum wallet, go to the Receive tab to view an address or enable the addresses view by going to **View > Show Addresses** from the top menu bar. Here you will see all available addresses on the wallet. Multisignature addresses with start with an **r**, regular wallets, including hardware ones, will start with a **b**.
### Sending Multisignature Transactions
Once all parties have their multisignature wallets configured and LBC has been received, you can now send LBC to other addresses. Anyone in the party can start by creating a transaction. Once the transaction is created, you'll see an option to Copy or Export it. It must be shared via one of those two methods with however many cosigners are needed (i.e. for 2 of 3, 1 other cosigner must sign it). Send the other cosigner the copied message or exported file. You may also be able to share the Transaction Id and import it that way, but the copy/file method will always work.
The cosigner has to open the wallet on their PC and go to **Tools > Load Transaction** and then choose from text (if copied) or from file (if export was used). They can then sign the transaction. Each cosigner will need to do the same to send the transaction on the network.
### Ledger Hardware Wallet with Electrum {#HW}
You can use your Ledger device with LBRY Electrum to store LBC. Please follow [these directions on how to install it on your device](https://github.com/tzarebczan/ledger-app-btc/releases/tag/lbry) and then use the above directions to setup a new wallet. For a normal account (non-multisignature), you will choose **Standard wallet** when setting up the device, and then **Use a hardware device**, and then follow the prompts.
Official support with Ledger will be coming at a later date.
### Electrum Wallet File Location {#backup}
Electrum wallet files and blockchain data can be found in the App Data Roaming directory under `Electrum-lbry`. The wallet is located in `%appdata%\Electrum-lbry\wallets` and the data in `%appdata%\Electrum-lbry` on Windows. On Mac/Ubuntu, search your system for the Electrum-lbry folder or the name of the wallet file. The wallet should be backed up if you do not have your phrase or are not using the LBRY Desktop wallet.
### Troubleshooting
If the balance is not updating properly or transaction not showing confirmed, try restarting the application. To resync the wallet data, delete the blockchain_headers file in `%appdata%\Electrum-lbry` and restart the application.
If you are having trouble sending due to fees, make sure that fee estimation is set to static, and edit fees manually is checked under **Tools > Preferences**.
+3 -3
View File
@@ -1,4 +1,4 @@
---
---
title: How does LBRY naming work? Why don't you just assign names the same way as internet domains?
category: LBRY 101
order: 4
@@ -54,7 +54,7 @@ LBRY supports several types of URL resolution:
4. **Names are more like search terms.** When a user searches the LBRY network, or a recommendation engine suggests content, all valid claims are considered. Not having the community URL for your content does not mean no one will see it. Many different pieces of content under the same name can be displayed when users look for content on the network.
For more details on claims, please see /faq/claimtrie-implementation
For more details on claims, please see the [claimtrie implementation](https://lbry.tech/spec#claimtrie)
### Experimentation
@@ -62,4 +62,4 @@ Whether you're in love with this design or not, you'd likely agree it's unlike a
The bottom line is that LBRY is dedicated to providing true content freedom. We want to provide the world's best method for creators and consumers to share and monetize digital content without intermediaries. We happen to think this is a superior method to the alternatives, but we're also not dogmatic about it.
We're trying to solve a very hard problem in a novel way, and we're committed to giving this system a chance. 100,000 pieces of content in, it has worked seamlessly. But if we ever saw this system harming rather than helping, we wouldn't hesitate to change it.
We're trying to solve a very hard problem in a novel way, and we're committed to giving this system a chance. 750,000 pieces of content in, it has worked seamlessly. But if we ever saw this system harming rather than helping, we wouldn't hesitate to change it.
+2 -2
View File
@@ -11,7 +11,7 @@ You can earn LBRY Credits (LBC) for referring others to use LBRY. In the latest
### How many LBRY Credits do I earn and how do I see how many credits I've earned?
New invites sent via the LBRY app are eligible for a 20 LBC reward.
New invites sent via the LBRY app are eligible for a 20 LBC reward (subject to change based on our discretion).
### When do I get my rewards?
@@ -33,7 +33,7 @@ Accepted means the user has signed into LBRY. Claimable means they have verified
### Is there a limit to the credits I can earn?
If you expect to refer more than 50-100 people, please discuss it with us on [Discord chat](http://chat.lbry.com) or email [us](mailto:josh@lbry.com).
If you expect to refer more than 50-100 people, please discuss it with us on [Discord chat](http://chat.lbry.com) or email [us](mailto:tom@lbry.com).
Currently, there is a limit of 10 redemptions per account.
+1 -1
View File
@@ -20,7 +20,7 @@ In order to be eligible for LBRY Rewards, users must have a verified account via
| **First Publish** | 10 LBC | A one-time reward for publishing your first piece of content to LBRY
| **Many Views** | 2- ???? LBC | A multi-level reward for watching videos on LBRY. See descriptions in-app for levels/details!
| **Sub Sandwich** | 1 -2 LBC | A multi-level reward for subscribing to channels.
| **Weekly LBRYCast** | 4 LBC | A weekly award for checking out featured content on LBRY. This content is marked with the red rocket logo and will be announced via email, recurring weekly.
| **Weekly LBRYCast** | 10 LBC | A weekly award for checking out featured content on LBRY. This content is marked with the red rocket logo and will be announced via email, recurring weekly.
| **Welcome Back** | 6 LBC | Return to the LBRY app 24-48 hours following your first use of the app. This reward will self-destruct after that time span.
| **Android in Beta** | 20 LBC | Limited time reward for early Android Beta testers.
| **Upgrade** | 10 LBC | Rewarded each time the LBRY app updates versions (i.e. 0.27 to 0.28).
+5 -1
View File
@@ -32,7 +32,7 @@ First and foremost, please ensure you are on the [latest version](/get) of LBRY.
- Reset your downloads data by deleting the `db_revision` and `lbrynet.sqlite` files in [the lbrynet folder](/faq/lbry-directories)
- On Windows, if you get stuck on the green "Starting daemon" screen, the lbrynet-daemon file may be missing. The workaround is to re-run the [latest](/get) LBRY installation file and try again.
- On Windows 7, if you can't get the app to start, you may need to apply [this Windows patch](https://www.microsoft.com/en-us/download/confirmation.aspx?id=49093&fbclid=IwAR2Gl1Qay34-_NnHpOSZm0VqMC9CQFish4vYXf4AQQ01cnJeE9ZDHdmInv0).
- On older MAC installations, you may run into an issue with the daemon shutting down immediately. Please see [this GitHub issue](https://github.com/lbryio/lbry-desktop/issues/291) for troubleshooting.
- On older MAC installations, you may run into an issue with the daemon shutting down immediately. Please check your `daemon_settings.yml` file in the [LBRY folder](/faq/lbry-directories) for a download directory. If it's incorrect, remove it, save, and try again.
- On older Linux/Mac installs you may see `Cannot read property 'match' of undefined`. Install the [latest version](/get) to fix this.
- Other typical startup troubleshooting would be to ensure that the LBRY app or the lbrynet process is not already running in the background. If the processes cannot be killed, a restart of your computer may be required.
@@ -43,3 +43,7 @@ If you are stuck on the blockchain sync step or it shows a block count that does
#### Linux auth_token requirements {#auth}
Currently, LBRY requires an authorization token to be generated using the [keytar](https://github.com/atom/node-keytar) libraries. Please ensure libsecret and keytar are installed. On some distributions, LBRY won't run unless gnome-keyring is also installed/operational. See [GitHub issue](https://github.com/lbryio/lbry-desktop/issues/386) for more information. If you get a GLIBCXX_3.4.2 error, please see [this issue](https://github.com/lbryio/lbry-desktop/issues/423#issuecomment-327519486).
#### SDK could not start because port is in use (IPV6 / debian)
If the newly installed or re-installed LBRY has the start up issue with daemon being in use, check the .local/share/lbry/lbrynet folder for `daemon_settings.yml` file.
If the file doesn't exist, create one and settings inside should be: `api: 127.0.0.1:5279`. Alternatively, you can start the sdk with `lbrynet start --api=127.0.0.1:5279`
+9 -29
View File
@@ -8,14 +8,7 @@ order: 3
Tips, in LBRY Credits (LBC), are an integral part of our community because they allow us to reward members for their contributions - whether that's for sharing something insightful, providing feedback, testing our various apps or helping promote LBRY's vision and technology. You can earn them, share, or transfer them via simple Tweets which include tagging the tipbot Twitter account + command. Check out [this thread as an example](https://twitter.com/TomZarebczan/status/1015244426841677826).
> Call commands with: [@LBC_TipBot](https://twitter.com/LBC_TipBot) +<br/>
> help - Shows this command.<br/>
> balance - Get your balance.<br/>
> deposit - Get address for your deposits.<br/>
> withdraw ADDRESS AMOUNT - Withdraw AMOUNT credits to ADDRESS.<br/>
> tip USER AMOUNT - Tip USER AMOUNT.<br/>
> terms - Sends the TOS.<br/><br/>
> &mdash; LBC_TipBot (@LBC_TipBot) [July 6, 2018](https://twitter.com/LBC_TipBot/status/1015264401836765184)
![tom tweet](https://spee.ch/@tipbot-tw:c/tomtweet.png)
It is important to note that the LBC stored as a result of a tip is tied to your Twitter account username and are stored on LBRY's wallet server. It is your responsibility to withdraw the tips to your LBRY App or [a standalone wallet](/faq/standalone-wallet). If you plan on storing LBC on Twitter, it is a good idea to enable Two Factor Authentication (2FA) on your account. LBRY takes no responsibility for lost funds due to negligence.
@@ -26,30 +19,23 @@ This displays a list of tip commands and how to use them.
- [**Tweet Example:**](https://twitter.com/TomZarebczan/status/1015245364490833920) `@LBC_TipBot help`
> Call commands with: [@LBC_TipBot](https://twitter.com/LBC_TipBot) +<br/>
> help - Shows this command.<br/>
> balance - Get your balance.<br/>
> deposit - Get address for your deposits.<br/>
> withdraw ADDRESS AMOUNT - Withdraw AMOUNT credits to ADDRESS.<br/>
> tip USER AMOUNT - Tip USER AMOUNT.<br/>
> terms - Sends the TOS.</br></br>
> &mdash; LBC_TipBot (@LBC_TipBot) [https://twitter.com/LBC_TipBot/status/1017502447298736128](July 12, 2018)
![help](https://spee.ch/@tipbot-tw:c/help.png)
### Balance
Displays the balance of your Twitter LBRY wallet.
- [**Tweet Example:**](https://twitter.com/TomZarebczan/status/1015244426841677826) `@LBC_TipBot balance`
> You have 0 LBC.</br><br/>
> &mdash; LBC_TipBot (@LBC_TipBot) [https://twitter.com/LBC_TipBot/status/1017503489159618560](July 12, 2018)
![balance](https://spee.ch/@tipbot-tw:c/balance.png)
### Deposit
Displays your Twitter LBRY wallet address. Useful if you want to receive LBC directly to your wallet.
- [**Tweet Example:**](https://twitter.com/TomZarebczan/status/1015244855247888384) `@LBC_TipBot deposit`
> Your deposit address is bQ7k7EeA8s2ENR5LDcd7V91JjgNZxyQL93.</br></br>
> &mdash; LBC_TipBot (@LBC_TipBot) [https://twitter.com/LBC_TipBot/status/1017503717082271747](July 12, 2018)
![deposit](https://spee.ch/@tipbot-tw:c/deposit.png)
### Tip
Want to tip someone? This will send a tip to a chosen username.
@@ -57,10 +43,7 @@ Want to tip someone? This will send a tip to a chosen username.
- **Arguments:** `@LBC_TipBot tip <username> <amount>`
- [**Tweet Example:**](https://twitter.com/TomZarebczan/status/1015245926691205120): `@LBC_TipBot tip @TrendsPremium 10`
> Tipped [https://twitter.com/TrendsPremium](@TrendsPremium) 10 LBC!<br/>
> Transaction: [https://t.co/lumfDoMzGI](https://t.co/lumfDoMzGI)<br/>
> See [https://t.co/s9GAsGJ07Y](https://t.co/s9GAsGJ07Y) for more information.</br></br>
> &mdash; LBC_TipBot (@LBC_TipBot) [https://twitter.com/LBC_TipBot/status/1015245928406474752](July 6, 2018)
![tip](https://spee.ch/@tipbot-tw:c/tips.png)
### Withdraw
Use this to withdraw your balance from your LBRY Twitter wallet to another LBRY wallet such as the wallet in your LBRY app, or to an LBRY exchange wallet.
@@ -68,14 +51,11 @@ Use this to withdraw your balance from your LBRY Twitter wallet to another LBRY
- **Arguments:** `@LBC_TipBot withdraw <address> amount`
- [**Tweet Example:**](https://twitter.com/TrendsPremium/status/1015251227599364096) `@LBC_TipBot withdraw bP8P5Dr9d3XcH5ibSsjeDYFU8vMWR8HHe3 5`
> You withdrew 5 LBC to bP8P5Dr9d3XcH5ibSsjeDYFU8vMWR8HHe3. [https://t.co/pS2LzNR8Iw](https://t.co/pS2LzNR8Iw)</br></br>
> &mdash; LBC_TipBot (@LBC_TipBot) [https://twitter.com/LBC_TipBot/status/1015251229151191040](July 6, 2018)
![withdraw](https://spee.ch/f/withdraw.png)
### Terms
Displays the terms and conditions
- [**Tweet Example:**](https://twitter.com/TomZarebczan/status/1015245044415156225) `@LBC_TipBot terms`
> There are no fees to use this bot except the automatic daemon fee.<br/>
> Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.</br></br>
> &mdash; LBC_TipBot (@LBC_TipBot) [https://twitter.com/LBC_TipBot/status/1015245045740388352](July 6, 2018)
![withdraw](https://spee.ch/@tipbot-tw:c/terms.png)
+1 -1
View File
@@ -8,7 +8,7 @@ By agreeing to sync your content to the LBRY network, you agree to the terms spe
## The Terms
<iframe src="https://docs.google.com/document/d/e/2PACX-1vS0H7gnSg7Zlx5JO_JkyJh3EP5qq8esTr1Y1Wi8R2eYGDfr1QEmS8SaEpGGCIcjW-mbj7LJ_RxmX_Am/pub?embedded=true"></iframe>
Visit our [Google Doc](https://docs.google.com/document/d/e/2PACX-1vS0H7gnSg7Zlx5JO_JkyJh3EP5qq8esTr1Y1Wi8R2eYGDfr1QEmS8SaEpGGCIcjW-mbj7LJ_RxmX_Am/pub) for more information.
## Human-Friendly Highlights
+7 -8
View File
@@ -6,11 +6,11 @@ order: 4
**Moving your channel onto LBRY**
LBRY offers an easy way for YouTubers to sync their content to the LBRY network, engage with LBRY users, and earn LBC. This is intended for content creators that aren't quite ready to make the switch over to using the LBRY app at this time, and want us to keep their YouTube channel updated on LBRY.
LBRY offers an easy way for YouTubers to sync their content to the LBRY network, engage with LBRY users, and earn LBC. This is intended for content creators that aren't quite ready to make the switch over to using the LBRY app at this time, and want us to keep their YouTube channel updated on LBRY. Not all channels qualify for the YouTube sync / rewards program, but users can always [upload the content themselves](https://lbry.com/faq/how-to-publish) through the LBRY app instead.
To sync your existing channel to LBRY and learn more about the program, use the [LBRY.io YouTube Sync page](/youtube).
***Please note: you won't see your content in the LBRY app under `My LBRY - Publishes` nor have access to the channel until LBRY transfers over the synced content - a more automated process is still being worked out and will be ready in Q2 2019. However, the content will be accessible through the LBRY Desktop app and spee.ch (see links in your sync email). You also won't be able to claim the Publisher/Identity rewards until the transfer is complete.***
***Please note: you won't see your content in the LBRY app under `Publishes` nor have access to the channel until LBRY transfers over the synced content - a more automated process is still being worked out and will be ready by the end of the Summer. However, the content will be accessible through the LBRY Desktop app, https://beta.lbry.tv and spee.ch (see links in your sync email). You also won't be able to claim the Publisher/Identity rewards until the transfer is complete. Thank you for your patience and understanding***
Authenticating your YouTube channel and other information puts your content into a queue to be automatically mirrored on the LBRY network. This serves as an alternative to moving your entire channel by yourself. The content, its title and description, as well as thumbnails and other metadata, will sync to your channel name. When it is done, you will receive a notice from LBRY indicating your channel is available to view.
@@ -22,12 +22,11 @@ The sync process stores your wallet in a secure location, as you may not have th
**How to Receive Your LBRY Credits**
- Download the LBRY App at /get
- Download the LBRY App at [/get](https://lbry.com/get)
- Run the LBRY App
- Make sure the email saved in the application matches the email address on your [Sync Status Page](/youtube/status) ([email us](mailto:hello@lbry.com) if it does not)
- Click on the `Wallet` tab on the LBRY App `1` ![wallet](https://spee.ch/2/rewardsa.jpeg)
- Navigate to the `Rewards` section of your wallet `2` ![reward](https://spee.ch/5/rewardsww.jpeg)
- Scroll to the "YouTube Reward" claim button
- If you met a particular subscriber threshold (minimum 1K subs), you should receive the appropriate amount of credits.
- Make sure the email saved in the application matches the email address on your [Sync Status Page](/youtube/status) - you can update this and make sure to verify via the email you receive (the email may not update but it will link together)
- Click on the **Rewards** option from under Account in the sidebar.
- Scroll to the "YouTube Reward" tile and click Get XXXX LBC.
- If you met a particular subscriber threshold (minimum 1K subs, 10 videos), you should receive the appropriate amount of credits.
If you're having any trouble with the sync process or receiving your credits, please contact [help@lbry.com](mailto:help@lbry.com).
+2 -10
View File
@@ -6,10 +6,6 @@ cover: 'Hacktoberfest.jpg'
category: users
---
> What are you doing for [#Hacktoberfest](https://twitter.com/hashtag/Hacktoberfest)? Check out our first [#dev](https://twitter.com/hashtag/dev) video of the month, and join the fun - details here ➡️ [https://t.co/Z22zShYg31](https://t.co/Z22zShYg31) [pic.twitter.com/bzOQ6Jvmpp](https://t.co/bzOQ6Jvmpp)
>
> — LBRY (we never give away ETH) (@LBRYio) [October 5, 2018](https://twitter.com/LBRYio/status/1048247988949319681)
The leaves are starting to fall, and that means it's time for Hackoberfest! Thanks to [DigitalOcean's hard work](https://hacktoberfest.digitalocean.com), newbies and seasoned open source developers alike have a unique opportunity to solve new and challenging problems and bugs all through the month of October (and earn [some recognition and a free t-shirt](https://hacktoberfest.digitalocean.com/details) in the process).
Open source is (literally) part of our DNA here at LBRY, and we're always happy when we get an opportunity to support our fellow open source projects. Throughout the month of October, our developers will be hosting informational sessions, meetups, and coding projects to introduce other programmers to the world of open source software and start making contributions immediately.
@@ -46,9 +42,7 @@ Jack Robison - Protocol Developer
#### 10/6 - 10/7
> A lot is happening at the [#devfest](https://twitter.com/hashtag/devfest) [#vitvellore](https://twitter.com/hashtag/vitvellore) [#hackathon](https://twitter.com/hashtag/hackathon) [@LBRYio](https://twitter.com/LBRYio) [@itsmedn7](https://twitter.com/itsmedn7) [$lbc](https://twitter.com/search?q=%24lbc) [#lbry](https://twitter.com/hashtag/lbry) [#lbryians](https://twitter.com/hashtag/lbryians) [pic.twitter.com/ZQqiC1Oevi](https://t.co/ZQqiC1Oevi)
>
> — Premium_Trends (Clement) (@Premium_Trends) [October 6, 2018](https://twitter.com/Premium_Trends/status/1048573008124698629)
<img alt="Do1HkRNVsAItuRe" src="https://spee.ch/@chris45:bb/Do1HkRNVsAItuRe.jpg" />
Vellore India Hackathon
@@ -68,9 +62,7 @@ Akinwale Ariwodola - Lead Mobile Developer
#### 10/19 - 10/20
> Kicking off Hackathon: Blockchain with [@LBRYio](https://twitter.com/LBRYio) CEO Jeremy Kauffman and [@UNHCrypto](https://twitter.com/UNHCrypto) at the [#UNHECenter](https://twitter.com/hashtag/UNHECenter)! [pic.twitter.com/qOIeWcbh5P](https://t.co/qOIeWcbh5P)
>
> UNH ECenter (@UNHECenter) [October 19, 2018](https://twitter.com/UNHECenter/status/1053395944279027717)
<img alt="Dp5qBngWoAAu-9m" src="https://spee.ch/@chris45:bb/Dp5qBngWoAAu-9m.jpeg" />
University of New Hampshire Hackathon!
+1 -1
View File
@@ -119,7 +119,7 @@ If you aren't part of our Discord community yet, [join us](https://chat.lbry.com
![santa](https://spee.ch/@lbrynews:0/santa-yrbl.jpg)
Our community allows LBRYians to interact with the team directly and for us to engage users in order to grow the LBRY platform. Also follow us on [Twitter](https://twitter.com/lbryio), [Facebook](https://facebook.com/lbryio), [Reddit](https://www.reddit.com/r/lbry), [Instagram](https://www.instagram.com/lbryio), and [Telegram](https//t.me/lbryofficial).
Our community allows LBRYians to interact with the team directly and for us to engage users in order to grow the LBRY platform. Also follow us on [Twitter](https://twitter.com/lbryio), [Facebook](https://facebook.com/lbryio), [Reddit](https://www.reddit.com/r/lbry), [Instagram](https://www.instagram.com/lbryio), and [Telegram](https://t.me/lbryofficial).
[Back to **top**](#dev-updates)
+1 -1
View File
@@ -21,7 +21,7 @@ If you haven’t opened LBRY on your computer in a while, now’s the time to do
We need your feedback to make LBRY even better - upgrade in-app or [head to this link](/get) to download LBRY now, and let us know what you think on [Discord](https://chat.lbry.com) or [Twitter](https://www.twitter.com/lbryio)!
If you’re a developer and want to dive a bit deeper into the process, take a look at the [release notes here](https://github.com/lbryio/lbry-desktop/releases/tag/v0.28.0). Want to learn more or help us build out the LBRY ecosystem? Jump right into our [GitHub repos](https://github.com/lbryio/) and check out [lbry.tech](https://lbry.tech).
If you’re a developer and want to dive a bit deeper into the process, take a look at the [release notes here](https://github.com/lbryio/lbry-desktop/releases/latest). Want to learn more or help us build out the LBRY ecosystem? Jump right into our [GitHub repos](https://github.com/lbryio/) and check out [lbry.tech](https://lbry.tech).
Thanks for helping us build the decentralized internet of the future - we can’t do it without you!
+18
View File
@@ -11,3 +11,21 @@ LBRY has officially joined Binance Info's transparency initiative. By sharing pr
Binance Info is a cryptocurrency information platform, providing users with accurate and comprehensive crypto market data, news, and project rating reports. As an open information platform, Binance Info encourages all users to participate in maintaining accurate information on crypto projects by creating token profiles, editing missing or incorrect project information, contributing to news sources, and more. Users can help the community better understand coins and tokens.
Binance Info welcomes all projects to get involved in Binance Info's transparency initiative. Apply to participate:https://docs.google.com/forms/d/e/1FAIpQLSdn6Nq3uvXBfsulKO_lH3I3O0_s-Nbmm0gWO8K-9bkWQJeKmw/viewform
More about LBRY:
Please reach out to us at [hello@lbry.com](mailto:hello@lbry.com) if you have any questions about LBRY or the software!! Or chat with us on Discord: https://chat.lbry.com
Good starting points for resources:
[What is LBRY](https://lbry.com/faq/what-is-lbry)
[Download LBRY for Desktop & Android](https://lbry.com/get)
[Frequently Asked Questions](https://lbry.com/faq)
[Learn more about the tech](https://lbry.tech)
[Have a great idea?](https://lbry.fund)
[Want to get involved?](https://lbry.org)
+20
View File
@@ -0,0 +1,20 @@
---
author: brinck-slattery
title: 'Balls In The Air = Crypto In Your Wallet'
date: '2019-5-14 15:00:00'
cover: 'adorable-baby-blur-294173.jpg'
category: update
---
# We're excited to announce our very first crypto puzzle, courtesy of Malabarize-se! This is your chance to win 100,000 LBC and give your grey matter a workout - don't miss it!
## This is the only crypto puzzle to combine juggling, math, language, and a whole lot more into a challenging (and rewarding) package!
<iframe src="https://spee.ch/video-embed/@juggling:1/siteswapping" allowfullscreen="true" style="border:0"></iframe>
## Watch the video to get started!
If you haven’t opened LBRY on your computer in a while, now’s the time to do it - you can also check out the all new [LBRY on the web](https://beta.lbry.tv)!
We need your feedback to make LBRY even better - let us know what you think on [Discord](https://chat.lbry.com) or [Twitter](https://www.twitter.com/lbryio)!
Thanks for helping us build the decentralized internet of the future - we can’t do it without you!
+23
View File
@@ -0,0 +1,23 @@
---
author: 'brinck-slattery'
title: 'LBRY Enters Its Mid-30s'
date: '2019-05-16 15:00:00'
cover: 'upgrayyd.jpg'
category: update
---
### LBRY v0.32 is a feast for the eyes with all new creator pages, suggested subscriptions, and lots of work under the hood to lay the foundation for an all new discovery process.
<img alt="creatorpage" src="https://spee.ch/2/creatorpage.jpg" />
### In a nutshell, this upgrade brings you:
- A few new styles throughout the app - rounded edges are back! Also includes side bar tweaks.
- Randomized suggested subscriptions
- Initial channel page implementation. Updates can only be made via the CLI currently: https://lbry.tech/api/sdk#channel_update (wallets across multiple PCs will need to be re-synced)
- Upgraded SDK to support new metadata. It's being captured on upload but not displayed yet.
- SDK now supports viewing content without saving files or blobs, this release still has both enabled. We'll add options in future releases.
For all the details, you can [take a look at the release notes](https://github.com/lbryio/lbry-desktop/releases/tag/v0.32.0)
Upgrade now in-app or [download the newest version of LBRY](/get) to chedk it out today!
We need you to build the new, decentralized internet - if you have any questions about this release or anything else, ask us on [Discord](https://chat.lbry.com) or [Twitter](https://twitter.com/lbryio).
+188
View File
@@ -0,0 +1,188 @@
---
author: samuel-lbryian
title: 'Community Update May 2019'
date: '2019-05-20 13:00:00'
cover: 'bees.jpg'
category: community-update
---
# Welcome to the May 2019 LBRY Community update!
If you aren’t part of our Discord community yet, [join us](https://chat.lbry.com) anytime and say hello! Our community allows LBRYians to interact with the team directly and for us to engage users and grow the LBRY platform. If you don't already, follow us on [Twitter](https://twitter.com/lbryio), [Facebook](https://facebook.com/lbryio), [Reddit](https://www.reddit.com/r/lbry), and [Telegram](https://t.me/lbryofficial).
## In This Update:
* [Announcing New Swarm Program](#swarm)
* [Updated YouTube Partner Program with more LBC](#youtube)
* [Win 100,000 LBC if you solve this puzzle!](#puzzle)
* [LBRY Participation in the Messari Registry](#messari)
To read all of our previous updates, please visit our [Development and Community Update archive](https://lbry.com/news/category/community-update).
## LBRY Announces New Swarm Program {#swarm}
Growing the LBRY Community is a top priority for 2019! To this end, we’re introducing the LBRY Swarm Program. _What is the Swarm, you ask?_
The LBRY Swarm is a community program to promote awareness, use, and development of the LBRY protocol and network. We believe in empowering people across the globe to be able to promote and monetize their content and regain control from corporate-controlled centralized platforms.
If you’re interested in finding out more about the Swarm program, how to start a hive or join one, [please check out this link.](https://docs.google.com/forms/d/e/1FAIpQLSfDabPptaLx7TI7DeT_dAOZgeulSRD1A-VnYYypbuc_r4wlhA/viewform?usp=sf_link) We have a discussion list for all, plus Hive Officers get access to a special LBRY team Slack channel.
The following are some of the LBRY Hives you can join.
### Virtual Location Hives
While many hives are formed based on a geographic location, these hives have general interests and meet virtually. If you want to learn what the Swarm is all about, joining one of these hives is a great place to start! Or, if you'd like, you can [view our regional hives here.](#regional)
#### LBRY Social
*Focus: Content and Marketing*
LBRY Social focuses on highlighting and creating the finest, highest quality LBRY content to bring brand identity to the forefront, helping springboard LBRY as a real and major contender in the open source blockchain market. Power to the people!
We will be funding people who have high performing social media accounts for their participation in our social media marketing campaigns as part of our coming marketing push. We are also looking for people with exceptional design skills to help facilitate the creation of these campaigns.
* [Visit LBRY Social's Discord server](https://discord.gg/4MyNyUe)
* [Visit LBRY Social's Website](https://lbry.social)
* [Visit LBRY Social's Twitter page](https://twitter.com/LBRYSocial)
![LBRY.social](https://spee.ch/@lbrynews:0/lbrysocial)
#### LBRYC
*Focus: Marketing and Open Source Development*
The LBRY.Community hive is dedicated to bringing attention to the LBRY protocol and applications built on the LBRY protocol alongside showing our support and love for open source projects. Our goal is to promote and aid in the acknowledgement of projects built on the LBRY protocol and similar open source projects.
* [Visit LBRYC's Discord server](https://discord.gg/Nsp2Ncd)
* [Visit LBRYC's Website](https://lbry.community)
* [Visit LBRYC's Twitter page](https://twitter.com/LBRYCommunity)
![LBRYC logo](https://spee.ch/@lbrynews:0/LBRY-C-logo-positive.jpg)
#### Open Source LBRY
*Focus: Open Source Development*
The Open Source LBRY Hive is the home for a LBRY (library) of books, digitized and uploaded to the LBRY blockchain. These books are from the world’s most known and respected authors. These books are no longer held under copyright restrictions allowing the Open Source LBRY to share them with everyone!
The Open Source LBRY Hive develops software to help automate collecting and publishing of content to the LBRY Network.
* [Visit Open Source LBRY's Discord server](https://discord.gg/xDc3f4F)
#### Interactive Fiction Hive
One of the coolest features of LBRY is to be able to view non-linear content including Choose Your Own Adventure content and text-based interactive stories. The purpose of the Interactive Fiction Hive is to curate free and creative commons content stories and to seek new interactive fiction stories to be created for the LBRY Network.
You can see an example of interactive fiction here: [lbry://16ways](https://open.lbry.com/16ways#74a26c514fcecf5f76b71a6cb9fa7dd0b1532171)
* [Visit Interactive Fiction Hive's Discord server](https://discord.gg/hhMr9pD)
### Regional Hives {#regional}
#### Lazybit Hive
*Focus: Geographic area of ex-Yugoslavia/Balkans/Adriatic region*
Lazybit hive is working towards raising the level of knowledge about cryptocurrency and distributed technologies in the geographic area of ex-Yugoslavia/Balkans/Adriatic region as the currently available content is scarce and is generally of low quality. We want to promote LBRY as an example of fully functional, open source, distributed technology-based network that can serve the specific needs of content creators in this region.
You can join us on our Discord https://discord.gg/n8TJqBv
![Lazybit Hive](https://spee.ch/@lbrynews:0/lazybit.png)
#### LBRY en Español
*Focus: Spanish Language Content and Promotion*
LBRY en español is a place for all those Spanish speakers and creators who want to share their passions, opinions, and jokes. In a world where Spanish is the fourth most spoken language, our hive is where all kinds of content is shared, created, and most importantly: promoted.
* [Visit LBRY en Español Hive's Discord server](https://discord.gg/jPm86Qy)
* [Visit LBRY en Español Twitter page](https://twitter.com/LBRY_Esp)
#### LBRY India Supporters
*Focus: LBRY Groups Across India*
Championed by Clement Gerber, LBRY's India Community manager, this hive aims to bring events and grow awareness about LBRY in India. You can participate in social events and college hackathons, or even start your own local LBRY Hive through the LBRY India Supporters Hive.
* [Visit LBRY India Supporters Hive's Discord server](https://discord.gg/Q9NE3k7)
* [Visit LBRY India Supporters Hive's Website](https://lbryindia.com)
* [LBRY India WhatsApp](https://chat.whatsapp.com/IpHSjQzbw7Z8ix3YQgpdRO)
* [Visit LBRY India Twitter page](https://twitter.com/LBRYIndia)
![LBRY India](https://spee.ch/5/lbry-india.png)
#### LBRY Ladies India
*Focus: India Women's Interests and Networking*
LRBY Ladies India's mission is to create more awareness about LBRY and together build the LBRY India community and LBRYLadies. This hive is also focused on teaching the community about cryptocurrency. They also have their own content channel. Come join the LBRY Ladies!
* [Find LBRY Ladies on WhatsApp](https://chat.whatsapp.com/LPxltP3mdAO8E9t04rLyNb)
* [Visit LBRY Ladies India Twitter page](https://twitter.com/LBRYLadies)
![LBRY Ladies India](https://spee.ch/@lbrynews:0/lbryladiesindia.png)
#### LBRY China Hive
*Focus: LBRY in China*
The China Hive is dedicated to teaching Chinese users how to use LBRY. They are also currently working on translating and localizing the LBRY app and documents in Chinese language.
* Visit LBRY China Hive on WeChat: add ID: 327904087
![LBRY China Hive](https://spee.ch/@lbrynews:0/lbrychina.jpg)
#### QFLUX Hive
*Focus: Art and Music Scene in Raleigh, NC, USA*
QFLUX Hive is building a global media brand, using and promoting LBRY as its core technical infrastructure to represent the Raleigh, North Carolina art & music scene. This hive is Championed by Matt Sokol, a talented musician and artist on the LBRY Network.
![QFLUX](https://spee.ch/@lbrynews:0/qflux.jpg)
#### Noob Team Hive
*Focus: LBRY and Gaming in Poland*
Noob Team Hive started as a group of friends in Poland. We wanted to try doing something to better our future. We believe that together we can do anything! By helping each other to learn about technology, we find ways to learn new things and share them with everyone! Because community is not a thing made of 0s and 1s. Community is Me,You, and everyone around us. That's why we created our Noob Team Hive. We are doing lots of things to spread awareness of LBRY Network in Poland and the rest of the World.
We want people to join us to learn something new, make them exchange experience with others, and also break language barriers. We believe that everyone should have access to knowledge without need to worry about their knowledge level and, most importantly, have fun and make friends, because it's one of the most amazing things in the World!
Our adventure begins in 3 .. 2.. 1!
![Noob Team Hive](https://spee.ch/@lbrynews:0/noob-team.png)
#### Ukraine LBRY Supporters
*Focus: LBRY in the Ukraine*
The Ukraine LBRY Supporters Hive focuses on bringing attention to LBRY in Ukraine.
* [Visit the Ukraine LBRY Supporters' Discord](https://discord.gg/sqNHTpd)
## Greater LBC Rewards In Updated YouTube Sync Program {#youtube}
We're excited to announce we've increased the [rewards](https://lbry.com/youtube) for our YouTube Sync program.
If you haven't already synced your YouTube channel to LBRY, we've made it super easy for you to do so, ensuring your videos will never be removed or demonetized on the LBRY Network.
Go to [https://lbry.com/youtube](https://lbry.com/youtube) for all the details!
## 100,000 LBC (Over $3,000 USD) is up for grabs if you solve this cryptopuzzle! {#puzzle}
![Siteswapping Puzzle](https://spee.ch/@lbrynews:0/siteswapping)
Can you solve this puzzle? It looks like an ordinary juggling video, but it's much more! Break the secret code, and you can win over $3,000 USD in crypto prizes.
Lucas Abduch, juggler and content creator of the [lbry://@juggling](https://open.lbry.com/@juggling) channel has partnered with [LBRY.fund](https://lbry.fund) to bring you the world’s first juggling cryptopuzzle!
Want some extra hints and folks to collaborate with in trying to solve the puzzle? Lucas has set up channels in English and Portuguese on the [Malabarize-se Discord server.](http://bit.ly/siteswappingdiscordEN)
Watch the video on [lbry://siteswapping](https://open.lbry.com/@juggling#1f9bb08bfa2259629f4aaa9ed40f97e9a41b6fa1/siteswapping) or on [YouTube](https://www.youtube.com/watch?v=ERMjC6qzzOc) and see if you can be the first to solve the puzzle!
Additionally, Axie Infinity has donated a rare Mystic Axie #577, which is a crypto-collectible Ethereum-based token worth more than 1.4 ETH. This little cutie has rare qualities for a mystic, and is a good fighter in [Axie Infinity battles.](https://axieinfinity.com/)
![577](https://spee.ch/6/577.png)
## LBRY Participation in the Messari Registry {#messari}
As an Open Source project, LBRY is proud to be added to the Messari Registry disclosure database. Messari aims to create a central repository for information and standards of basic disclosures of open source projects.
You can find [more information about the Messari Registry here.](https://messari.io/registry)
![Messari Registry](https://spee.ch/@lbrynews:0/messari.jpg)
## Want to develop on the LBRY protocol?
Are you a developer and want to find out more? Start with [LBRY.tech](https://lbry.tech)! It's a great place to learn about the LBRY project and how all the pieces work together. All of our code is open source and available on [GitHub](https://github.com/lbryio).
Check out our [contributing guide](https://lbry.tech/contribute) and our LBRY App specific contributing [document](https://github.com/lbryio/lbry-app/blob/master/CONTRIBUTING.md) if you just want to dive right into the code.
[Back to **Development Updates**](#dev-updates)
Thanks for supporting LBRY - stay tuned for more news and updates! And if you haven’t downloaded the [LBRY app](https://lbry.com/get?auto=1) yet, what are you waiting for?
-1
View File
@@ -125,7 +125,6 @@ class Controller
$router->any('/dmca', 'ReportActions::executeDmca');
$router->any('/youtube/sub', 'AcquisitionActions::executeYouTubeSub');
$router->post('/youtube/edit', 'AcquisitionActions::executeYoutubeEdit');
$router->post('/youtube/token', 'AcquisitionActions::executeYoutubeToken');
$router->any('/youtube/status/{token}', 'AcquisitionActions::executeYoutubeStatus');
+3 -6
View File
@@ -2,12 +2,9 @@
class Session
{
const KEY_DOWNLOAD_ACCESS_ERROR = 'download_error2',
KEY_DOWNLOAD_ALLOWED = 'beta_download_allowed2',
KEY_GITHUB_ACCESS_TOKEN = 'github_access_token',
KEY_LIST_SUB_ERROR = 'list_error',
KEY_USER_CULTURE = 'user_culture',
KEY_YOUTUBE_TEMPLATE = 'youtube_landing_template';
const KEY_LIST_SUB_ERROR = 'list_error',
KEY_YOUTUBE_SYNC_ERROR = 'youtube_sync_error',
KEY_USER_CULTURE = 'user_culture';
const NAMESPACE_DEFAULT = 'default',
NAMESPACE_FLASH = 'flash',
+35 -98
View File
@@ -2,56 +2,18 @@
class AcquisitionActions extends Actions
{
public static function executeThanks()
{
return ['acquisition/thanks'];
}
public static function executeYouTubeSub()
{
if (!Request::isPost()) {
return Controller::redirect('/youtube');
}
$email = Request::getPostParam('email');
if (!filter_var($email, FILTER_VALIDATE_EMAIL)) {
Session::setFlash('error', 'Please enter a valid email.');
return Controller::redirect('/youtube');
}
Salesforce::createContact($email, SalesForce::DEFAULT_LIST_ID, 'YouTube Campaign');
Mailgun::sendYouTubeWarmLead(['email' => $email]);
Session::setFlash('success', 'Thanks! We\'ll be in touch. The good kind of touch.');
return Controller::redirect(Request::getReferrer(), 303);
}
public static function executeYouTube(string $version = '')
{
if (isset($_GET['error_message'])) {
$error_message = Request::encodeStringFromUser($_GET['error_message']);
$errorMessage = Request::getParam('error_message', '');
if (Session::getFlash(Session::KEY_YOUTUBE_SYNC_ERROR)) {
$errorMessage = Session::getFlash(Session::KEY_YOUTUBE_SYNC_ERROR);
}
$baseTemplate = 'acquisition/youtube';
$versionedTemplate = $baseTemplate . '-' . $version;
$template = $version && View::exists($versionedTemplate) ? $versionedTemplate : $baseTemplate;
if ($version && View::exists($versionedTemplate)) {
Session::set(SESSION::KEY_YOUTUBE_TEMPLATE, $template);
}
$template = Session::get(SESSION::KEY_YOUTUBE_TEMPLATE) ?? $template;
if (!View::exists($template)) {
Session::unsetKey(SESSION::KEY_YOUTUBE_TEMPLATE);
$template = $baseTemplate;
}
return [$template, [
'reward' => LBRY::youtubeReward(),
'error_message' => $error_message ?? ''
]];
return ['acquisition/youtube', [
'reward' => LBRY::youtubeReward(),
'error_message' => $errorMessage
]];
}
public static function executeVerify(string $token)
@@ -66,39 +28,39 @@ class AcquisitionActions extends Actions
public static function executeYoutubeToken()
{
return ['acquisition/youtube_token', ['_no_layout' => true]];
$channelName = Request::encodeStringFromUser($_POST['desired_lbry_channel_name']);
$immediateSync = (boolean)$_POST['immediate_sync'];
if ($channelName && $channelName[0] !== "@") {
$channelName = '@' . $channelName;
}
$token = LBRY::connectYoutube($channelName, $immediateSync);
if ($token['success'] && $token['data']) {
Controller::redirect($token['data']);
} else {
Session::setFlash(Session::KEY_YOUTUBE_SYNC_ERROR, $token['error'] ?? "An unknown error occured.");
Controller::redirect('/youtube');
}
}
public static function executeYoutubeStatus(string $token)
{
if (isset($_GET['error_message'])) {
$error_message = Request::encodeStringFromUser($_GET['error_message']);
}
$data = LBRY::statusYoutube($token);
if ($data['success'] == false) {
Controller::redirect('/youtube?error=true&error_message=' . $data['error']);
if (!$data['success']) {
Session::setFlash(Session::KEY_YOUTUBE_SYNC_ERROR, $data['error'] ?? "Error fetching your sync status.");
Controller::redirect('/youtube');
}
return ['acquisition/youtube_status', [
'token' => $token,
'status_token' => $data,
'error_message' => $error_message ?? ''
]];
'token' => $token,
'status_token' => $data,
'error_message' => Session::getFlash(Session::KEY_YOUTUBE_SYNC_ERROR)
]];
}
public static function actionYoutubeToken(string $desired_lbry_channel_name)
{
$desired_lbry_channel_name_is_valid = static::lbry_channel_verification($desired_lbry_channel_name);
if ($desired_lbry_channel_name_is_valid) {
$token = LBRY::connectYoutube($desired_lbry_channel_name);
if ($token['success'] == false) {
Controller::redirect('/youtube?error=true&error_message=' . $token['error']);
} else {
Controller::redirect($token['data']);
}
}
}
public static function actionYoutubeEdit($status_token, $channel_name, $email, $sync_consent)
{
$current_value = LBRY::statusYoutube($status_token);
@@ -109,11 +71,13 @@ class AcquisitionActions extends Actions
}
if ($status['success'] == false) {
Controller::redirect("/youtube/status/". $status_token . "?error=true&error_message=" . $status['error']);
Session::setFlash(Session::KEY_YOUTUBE_SYNC_ERROR, $status['error']);
Controller::redirect("/youtube/status/". $status_token);
} else {
Controller::redirect("/youtube/status/" . $status_token);
}
}
public static function executeYoutubeEdit()
{
return ['acquisition/youtube_edit'];
@@ -123,31 +87,4 @@ class AcquisitionActions extends Actions
{
return ['acquisition/youtube_status_redirect'];
}
protected static function email_verification($email)
{
if (preg_match('/\S+@\S+\.\S+/', $email)) {
return true;
} else {
return false;
}
}
protected static function youtube_channel_verification($youtube_channel_id)
{
if (preg_match('/^UC[A-Za-z0-9_-]{22}$/', $youtube_channel_id)) {
return true;
} else {
return false;
}
}
protected static function lbry_channel_verification($lbry_channel)
{
if (preg_match('/[1-z]+/', $lbry_channel)) {
return true;
} else {
return false;
}
}
}
+1 -1
View File
@@ -4,7 +4,7 @@
/apple-touch-icon.png: /img/fav/apple-touch-icon.png
/swarm: https://docs.google.com/document/d/1W4chXeUvF4I9T3lVyyeZ-N1SUuyoMrp_QH_ITA9BrZ4/edit#
/deck.pdf: "https://www.dropbox.com/s/0xj4vgucsbi8rtv/lbry-deck.pdf?dl=1"
/join-us: /
/LBRY-deck.pdf: "https://www.dropbox.com/s/0xj4vgucsbi8rtv/lbry-deck.pdf?dl=1"
/security: /faq/security
/youtubers: "https://traction.lbry.io/public/question/8dfc23e2-71e7-44cb-9740-0aec18d1da73"
/support: /faq/support
+2 -1
View File
@@ -19,4 +19,5 @@ $DIR/hooks/install.sh
$PHPBIN composer.phar install
git submodule update --init
$PHPBIN --server localhost:8000 --docroot "$DIR/web" "$DIR/web/index.php"
git submodule update --recursive --remote
$PHPBIN --server 0.0.0.0:8000 --docroot "$DIR/web" "$DIR/web/index.php"
+38 -15
View File
@@ -15,18 +15,18 @@ class LBRY
public static function getLBCtoUSDRate()
{
$response = CurlWithCache::get(static::getApiUrl('/lbc/exchange_rate'), [], [
'cache' => 3600, //one hour
'json_response' => true
]);
'cache' => 3600, //one hour
'json_response' => true
]);
return $response['data']['lbc_usd'] ?? 0;
}
public static function subscribe($email, $tag = null)
{
return Curl::post(static::getApiUrl('/list/subscribe'), array_filter([
'email' => $email,
'tag' => $tag,
]), ['json_response' => true]);
'email' => $email,
'tag' => $tag,
]), ['json_response' => true]);
}
public static function editEmailSettings($token, $email, $isPrimary =null, $isEnabled = null)
@@ -50,10 +50,20 @@ class LBRY
return Curl::post(static::getApiUrl('/user/unsubscribe'), ['email' => $email], ['json_response' => true]);
}
public static function connectYoutube($channel_name)
public static function connectYoutube($channel_name, $immediateSync = false)
{
$type = 'sync';
return Curl::post(static::getApiUrl('/yt/new'), ['desired_lbry_channel_name' => $channel_name, 'type' => $type], ['json_response' => true]);
// Uncomment next line for production and comment other return
return Curl::post(static::getApiUrl('/yt/new'), [ 'desired_lbry_channel_name' => $channel_name, 'immediate_sync' => $immediateSync, 'type' => 'sync' ], [ 'json_response' => true ]);
// Uncomment next line for development and comment other return (this also requires the testnet API)
// return Curl::post(static::getApiUrl('/yt/new'), [
// 'desired_lbry_channel_name' => $channel_name,
// 'immediate_sync' => $immediateSync,
// 'return_url' => 'http://localhost:8000/youtube/status/',
// 'type' => 'sync'
// ], [
// 'json_response' => true
// ]);
}
// Check the sync status
@@ -69,17 +79,30 @@ class LBRY
public static function editYouTube($status_token, $channel_name, $email, $sync_consent)
{
if ($email == null) {
return Curl::post(static::getApiUrl("/yt/update"), ['status_token' => $status_token, 'new_preferred_channel' => $channel_name, 'sync_consent' => $sync_consent], ['json_response' => true]);
} else {
return Curl::post(static::getApiUrl("/yt/update"), ['status_token' => $status_token, 'new_email' => $email, 'new_preferred_channel' => $channel_name, 'sync_consent' => $sync_consent], ['json_response' => true]);
$postParams = array('status_token' => $status_token);
if ($email) {
$postParams['new_email'] = $email;
}
if ($sync_consent) {
if ($sync_consent === 0) {
$sync_consent = null;
}
$postParams['sync_consent'] = $sync_consent;
}
if ($channel_name) {
$postParams['new_preferred_channel'] = $channel_name;
}
return Curl::post(static::getApiUrl("/yt/update"), $postParams, ['json_response' => true]);
}
public static function logWebVisitor($site, $visitorID, $IPAddress)
{
if (IS_PRODUCTION)
{
if (IS_PRODUCTION) {
return Curl::post(static::getApiUrl("/visitor/new"), ['site' => $site, 'visitor_id' => $visitorID, 'ip_address' => $IPAddress], ['json_response' => true]);
}
}
-14
View File
@@ -23,20 +23,6 @@ class Mailgun
return $status == 200;
}
public static function sendYouTubeWarmLead($data)
{
list($status, $headers, $body) = static::post('/' . static::MAIL_DOMAIN . '/messages', [
'from' => 'LBRY <mail@' . static::MAIL_DOMAIN . '>',
'to' => 'reilly@lbry.com',
'subject' => 'Interested YouTuber',
'html' => '<pre>' . var_export($data, true) . '</pre>',
'o:tracking-clicks' => 'no',
'o:tracking-opens' => 'no'
]);
return $status == 200;
}
protected static function post($endpoint, $data)
{
return static::request(Curl::POST, $endpoint, $data);
+1 -1
View File
@@ -18,7 +18,7 @@ chdir(ROOT_DIR);
Shell::exec('git fetch && git reset --hard origin/master');
Shell::exec('git submodule update --init');
Shell::exec('git pull --recurse-submodules');
Shell::exec('git submodule update --recursive --remote');
Shell::exec('php composer.phar install');
View::compileCss();
+4 -5
View File
@@ -21,7 +21,7 @@ class Response
protected static $jsCalls = [];
protected static $assets = [
'js' => [
'/js/jquery-3.3.1.min.js',
'/js/jquery-3.4.1.min.js',
'/js/global.js'
],
'css' => ['/css/all.css']
@@ -61,7 +61,7 @@ class Response
public static function getMetaImages()
{
return static::$metaImages ?: [Request::getHostAndProto() . '/img/lbry-green-meta-1200x900.png'];
return static::$metaImages ?: [Request::getHostAndProto() . '/img/og-image.png'];
}
public static function setMetaTitle($title)
@@ -371,15 +371,14 @@ class Response
);
}
public static function addPostRenderCallback( $cb )
public static function addPostRenderCallback($cb)
{
array_push(static::$PostRenderCallbacks, $cb);
}
public static function invokePostRenderCallbacks()
{
foreach(static::$PostRenderCallbacks as &$cb )
{
foreach (static::$PostRenderCallbacks as &$cb) {
$cb();
}
}
-3
View File
@@ -131,9 +131,6 @@ class View
$all_css = $scssCompiler->compile(file_get_contents(self::SCSS_DIR . '/all.scss'));
file_put_contents(self::CSS_DIR . '/all.css', $all_css);
$youtube_css = $scssCompiler->compile(file_get_contents(self::SCSS_DIR . '/youtube.scss'));
file_put_contents(self::CSS_DIR . '/youtube.css', $youtube_css);
}
public static function gzipAssets()
@@ -1,15 +0,0 @@
<header class="header-yt">
<div class="inner">
<div class="left">
<div class="logo"></div>
<a href="/get">Get</a>
<a href="/learn">Learn</a>
</div>
<div class="right">
<a href="https://github.com/lbryio" class="github"></a>
<a href="https://www.reddit.com/r/lbry/" class="reddit"></a>
<a href="https://www.facebook.com/lbryio" class="facebook"></a>
<a href="https://twitter.com/lbryio" class="twitter"></a>
</div>
</div>
</header>
+1 -1
View File
@@ -57,7 +57,7 @@
<body>
<main class="ancillary">
<section class="hero hero--half-height">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1 id="title">Almost Done!</h1>
</div>
</section>
+1 -1
View File
@@ -33,7 +33,7 @@
<body>
<main class="ancillary">
<section class="hero hero--half-height">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1 id="title">Almost Done!</h1>
</div>
</section>
-195
View File
@@ -1,195 +0,0 @@
<?php
Response::setCssAssets(['/css/youtube.css']);
Response::addJsAsset('/js/yt2/TweenMax.min.js');
Response::addJsAsset('/js/yt2/ScrollToPlugin.min.js');
Response::addJsAsset('/js/yt2/app.js');
Response::addJsAsset('/js/yt2/FormValidation.js');
Response::addJsAsset('/js/yt2/SyncStatus.js');
Response::addJsAsset('/js/yt2/youtube_video.js');
Response::setMetaTitle("LBRY YouTube Partner Program");
Response::setMetaDescription("Put your content on the blockchain, experience true content freedom, and earn rewards.");
?>
<main>
<?php echo View::render('acquisition/_youtube_header') ?>
<section class="hero">
<div class="shape">
<svg style="width: 100%; height: 100%;">
<path d="M 0,0" stroke="#2F3C5C" stroke-width="0.3px" fill="none" data-from="-1" />
<path d="M 0,0" stroke="#2F3C5C" stroke-width="0.3px" fill="none" data-from="0" />
<path d="M 0,0" stroke="#2F3C5C" stroke-width="0.3px" fill="none" data-from="0" />
<path d="M 0,0" stroke="#2F3C5C" stroke-width="0.3px" fill="none" data-from="1" />
<path d="M 0,0" stroke="#2F3C5C" stroke-width="0.3px" fill="none" data-from="1" />
<path d="M 0,0" stroke="#2F3C5C" stroke-width="0.3px" fill="none" data-from="2" />
<path d="M 0,0" stroke="#2F3C5C" stroke-width="0.3px" fill="none" data-from="2" />
<path d="M 0,0" stroke="#2F3C5C" stroke-width="0.3px" fill="none" data-from="2" />
</svg>
<div class="circle one"></div>
<div class="circle two"></div>
<div class="circle three"></div>
<div class="dot a"></div>
<div class="dot b"></div>
<div class="dot c"></div>
<div class="dot d"></div>
<div class="dot e"></div>
</div>
<div class="title">
<div class="overflow"><h1>Content Freedom.</h1></div>
<p>Put your content on the blockchain and earn rewards.</p>
<div class="button">Claim Your LBRY Channel</div>
</div>
</section>
<section class="sync section">
<div class="inner">
<div class="content">
<div class="zigzag"></div>
<h1>Sync &amp; Earn Crypto</h1>
<p>LBRY offers a single-click sync process<br>for existing YouTubers</p>
<form class="form" id="sync" method="post" action="/youtube">
<div class="form-inner">
<div class="block">
<div class="center">
<input type="text" hidden name="type" value="sync"/>
<input id="immediate-sync" name="immediate_sync" type="checkbox" value="true"/>
<label for="immediate-sync">I want to sync my content.</label></div>
</div>
</div>
<div class="block">
<div class="center">
<input type="submit" value="Sync Now"/>
</div>
</div>
</div>
</form>
<div class="meta">
By syncing, you agree to mirror your content to the LBRY network for 1 year, and acknowledge <a href="/faq/youtube-terms">these terms</a>.
</div>
</div>
</div>
</section>
<section class="join section">
<div class="inner">
<div class="content">
<h1>LBRY is more fun with friends</h1>
<p>Take your peers and your audience with you. Create without limits.</p>
<div class="boxes">
<div class="box">
<div class="image">
<div id="play-video1" class="to-play" onclick="playVideo('video1')"><span></span></div>
<video id="video1" width="100%" poster="/img/youtube/01@2x.jpg" src="https://spee.ch/1ac47b8b3def40a25850dc726a09ce23d09e7009/ever-wonder-how-bitcoin-and-other.mp4" style="cursor: pointer" onclick="function(){this.paused ? this.play() : this.pause()}"/></video>
</div>
<div class="text">
<p>@3Blue1Brown</p>
</div>
</div>
<div class="box">
<div class="image">
<div id="play-video2" class="to-play" onclick="playVideo('video2')"><span></span></div>
<video id="video2" width="100%" poster="/img/youtube/02@2x.jpg" src="https://spee.ch/3c96f32de285db6c04e80bd6f5fad573250541e9/casually-successful.mp4" style="cursor: pointer" onclick="function(){this.paused ? this.play() : this.pause()}" /></video>
</div>
<div class="text">
<p>@CasuallyExplained</p>
</div>
</div>
<div class="box">
<div class="image" >
<div id="play-video3" class="to-play" onclick="playVideo('video3')"><span></span></div>
<video id="video3" width="100%" poster="/img/youtube/03@2x.jpg" src="https://spee.ch/8958c5d573d71f5c2d0c1bfdf752737ce39744cb/the-historical-elements-of-wolfenstein.mp4" style="cursor: pointer" onclick="function(){this.paused ? this.play() : this.pause()}"></video>
</div>
<div class="text">
<p>@ColinsLastStand</p>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="how section">
<div class="inner">
<div class="content">
<h1>Migrating to LBRY</h1>
<p>We will automatically mirror your existing YouTube channel to the LBRY Network.</p>
<div class="steps">
<div class="path">
<div class="journey"></div>
</div>
<div class="step one enabled" data-enable="12">
<div class="circle">1</div>
<p class="text">Sync your channel</p>
</div>
<div class="step two enabled" data-enable="33">
<div class="circle">2</div>
<p class="text">Download the LBRY App</p>
</div>
<div class="step three enabled" data-enable="75">
<div class="circle">3</div>
<p class="text">Receive your LBRY Credits</p>
</div>
</div>
</div>
</div>
</section>
<section class="rewards section">
<div class="inner">
<div class="content">
<h1>LBRY Credits and Your Channel</h1>
<p>After you sync, receive LBRY Credits for one year based on your current subscriber count.<br/><br/>
The more you give to the network, the more it gives back.</p>
<div class="price">
<h3>Partner Programs</h3>
<p>LBC <span class="current-value"></span></p>
</div>
<div class="table">
<div class="head">
<p>Subscribers</p>
<p>Yearly</p>
<p>Amount</p>
</div>
<div class="line">
<p>1,000</p>
<p><?php echo $reward['data']['1000']; ?> <span></span></p>
<p></p>
</div>
<div class="line">
<p>10,000</p>
<p><?php echo $reward['data']['10000']; ?> <span></span></p>
<p></p>
</div>
<div class="line">
<p>100,000</p>
<p><?php echo $reward['data']['100000']; ?> <span></span></p>
<p></p>
</div>
<div class="line">
<p>1,000,000</p>
<p><?php echo $reward['data']['1000000']; ?> <span></span></p>
<p></p>
</div>
</div>
</div>
</div>
</section>
<section class="contact section">
<div class="inner">
<div class="content">
<h1>Tell me more.</h1>
<p>We have a guy that elaborates on things. Apply directly to the forehead.</p>
<div class="v-card">
<div class="photo"><img src="/img/youtube/reilly-smith@2x.png"></div>
<div class="text">
<h3>Reilly Smith</h3>
<p>Head of Content</p>
<a href="mailto:reilly@lbry.com?subject=YouTube+Freedom">Contact</a>
</div>
</div>
</div>
</div>
</section>
<div class="to-top"><span>to top</span></div>
</main>
-194
View File
@@ -1,194 +0,0 @@
<?php
Response::setCssAssets(['/css/youtube.css']);
Response::addJsAsset('/js/yt2/TweenMax.min.js');
Response::addJsAsset('/js/yt2/ScrollToPlugin.min.js');
Response::addJsAsset('/js/yt2/app.js');
Response::addJsAsset('/js/yt2/FormValidation.js');
Response::addJsAsset('/js/yt2/SyncStatus.js');
Response::addJsAsset('/js/yt2/youtube_video.js');
Response::setMetaTitle("LBRY YouTube Partner Program");
Response::setMetaDescription("Put your content on the blockchain, experience true content freedom, and earn rewards.");
Response::addMetaImage(Request::getHostAndProto() . '/img/lbry-partner.png');
?>
<main>
<?php echo View::render('acquisition/_youtube_header') ?>
<section class="hero">
<div class="shape">
<svg style="width: 100%; height: 100%;">
<path d="M 0,0" stroke="#2F3C5C" stroke-width="0.3px" fill="none" data-from="-1" />
<path d="M 0,0" stroke="#2F3C5C" stroke-width="0.3px" fill="none" data-from="0" />
<path d="M 0,0" stroke="#2F3C5C" stroke-width="0.3px" fill="none" data-from="0" />
<path d="M 0,0" stroke="#2F3C5C" stroke-width="0.3px" fill="none" data-from="1" />
<path d="M 0,0" stroke="#2F3C5C" stroke-width="0.3px" fill="none" data-from="1" />
<path d="M 0,0" stroke="#2F3C5C" stroke-width="0.3px" fill="none" data-from="2" />
<path d="M 0,0" stroke="#2F3C5C" stroke-width="0.3px" fill="none" data-from="2" />
<path d="M 0,0" stroke="#2F3C5C" stroke-width="0.3px" fill="none" data-from="2" />
</svg>
<div class="circle one"></div>
<div class="circle two"></div>
<div class="circle three"></div>
<div class="dot a"></div>
<div class="dot b"></div>
<div class="dot c"></div>
<div class="dot d"></div>
<div class="dot e"></div>
</div>
<div class="title">
<div class="overflow"><h1>Content Freedom.</h1></div>
<p>Put your content on the blockchain and earn rewards.</p>
<div class="button">Claim Your LBRY Channel</div>
</div>
</section>
<section class="claim section">
<div class="inner">
<div class="content">
<?php
if ($error_message): echo "<div>" . "The following error occurred: ". $error_message . " For support please send an email to hello@lbry.com" . "</div>";
endif;?>
<div class="zigzag"></div>
<h1>Create on a stable platform. For real this time.</h1>
<div hidden id="sync-status" class="sync-status">
</div>
<form id="youtube_claim" method="post" action="/youtube/token">
<div class="form-inner" >
<div class="block">
<input id="lbry_channel_name" type="text" name="desired_lbry_channel_name" placeholder="Enter your channel name" />
<label>@</label>
<div hidden id="lbry_error" class="error">LBRY channel name is not valid or blank</div>
</div>
</form>
<div class="block">
<input type="submit" value="Claim now" onClick="return submitDetailsForm()"/>
</div>
<div class="meta">
This will verify you are an active YouTuber, then instructions and your welcome credits will be emailed to you.
<a href="/faq/youtube">Learn more</a>.
</div>
</div>
</div>
</section>
<section class="join section">
<div class="inner">
<div class="content">
<h1>LBRY is more fun with friends</h1>
<p>Take your peers and your audience with you. Create without limits.</p>
<div class="boxes">
<div class="box">
<div class="image">
<div id="play-video1" class="to-play" onclick="playVideo('video1')"><span></span></div>
<video id="video1" width="100%" poster="/img/youtube/01@2x.jpg" src="https://spee.ch/1ac47b8b3def40a25850dc726a09ce23d09e7009/ever-wonder-how-bitcoin-and-other.mp4" style="cursor: pointer" onclick="function(){this.paused ? this.play() : this.pause()}"/></video>
</div>
<div class="text">
<p>@3Blue1Brown</p>
</div>
</div>
<div class="box">
<div class="image">
<div id="play-video2" class="to-play" onclick="playVideo('video2')"><span></span></div>
<video id="video2" width="100%" poster="/img/youtube/02@2x.jpg" src="https://spee.ch/3c96f32de285db6c04e80bd6f5fad573250541e9/casually-successful.mp4" style="cursor: pointer" onclick="function(){this.paused ? this.play() : this.pause()}" /></video>
</div>
<div class="text">
<p>@CasuallyExplained</p>
</div>
</div>
<div class="box">
<div class="image" >
<div id="play-video3" class="to-play" onclick="playVideo('video3')"><span></span></div>
<video id="video3" width="100%" poster="/img/youtube/03@2x.jpg" src="https://spee.ch/8958c5d573d71f5c2d0c1bfdf752737ce39744cb/the-historical-elements-of-wolfenstein.mp4" style="cursor: pointer" onclick="function(){this.paused ? this.play() : this.pause()}"></video>
</div>
<div class="text">
<p>@ColinsLastStand</p>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="how section">
<div class="inner">
<div class="content">
<h1>Migrating to LBRY</h1>
<p>We will automatically mirror your most recent 1,000 YouTube videos to your channel on the LBRY Network.</p>
<div class="steps">
<div class="path">
<div class="journey"></div>
</div>
<div class="step one enabled" data-enable="12">
<div class="circle">1</div>
<p class="text">Sync your channel</p>
</div>
<div class="step two enabled" data-enable="33">
<div class="circle">2</div>
<p class="text">Download the LBRY App</p>
</div>
<div class="step three enabled" data-enable="75">
<div class="circle">3</div>
<p class="text">Receive your LBRY Credits</p>
</div>
</div>
</div>
</div>
</section>
<section class="rewards section">
<div class="inner">
<div class="content">
<h1>LBRY Credits and Your Channel</h1>
<p>After you sync, receive LBRY Credits for one year based on your current subscriber count.<br/><br/>
The more you give to the network, the more it gives back.</p>
<div class="price">
<h3>Partner Programs</h3>
<p>LBC <span class="current-value"></span></p>
</div>
<div class="table">
<div class="head">
<p>Subscribers</p>
<p>Yearly</p>
<p>Amount</p>
</div>
<div class="line">
<p>1,000</p>
<p><?php echo $reward['data']['1000']; ?> <span></span></p>
<p></p>
</div>
<div class="line">
<p>10,000</p>
<p><?php echo $reward['data']['10000']; ?> <span></span></p>
<p></p>
</div>
<div class="line">
<p>100,000</p>
<p><?php echo $reward['data']['100000']; ?> <span></span></p>
<p></p>
</div>
<div class="line">
<p>1,000,000</p>
<p><?php echo $reward['data']['1000000']; ?> <span></span></p>
<p></p>
</div>
</div>
</div>
</div>
</section>
<section class="contact section">
<div class="inner">
<div class="content">
<h1>Tell me more.</h1>
<p>We have a guy that elaborates on things. Apply directly to the forehead.</p>
<div class="v-card">
<div class="photo"><img src="/img/youtube/reilly-smith@2x.png"></div>
<div class="text">
<h3>Reilly Smith</h3>
<p>Head of Content</p>
<a href="mailto:reilly@lbry.com?subject=YouTube+Freedom">Contact</a>
</div>
</div>
</div>
</div>
</section>
<div class="to-top"><span>to top</span></div>
</main>
+191 -156
View File
@@ -1,193 +1,228 @@
<?php
Response::setCssAssets(['/css/youtube.css']);
Response::addJsAsset('/js/yt2/TweenMax.min.js');
Response::addJsAsset('/js/yt2/ScrollToPlugin.min.js');
Response::addJsAsset('/js/yt2/app.js');
Response::addJsAsset('/js/yt2/FormValidation.js');
Response::addJsAsset('/js/yt2/SyncStatus.js');
Response::addJsAsset('/js/yt2/youtube_video.js');
Response::setMetaTitle("LBRY YouTube Partner Program");
Response::setMetaDescription("Put your content on the blockchain, experience true content freedom, and earn rewards.");
Response::addMetaImage(Request::getHostAndProto() . '/img/lbry-partner.png');
Response::addJsAsset('/js/yt2/TweenMax.min.js');
Response::addJsAsset('/js/yt2/app.js');
Response::addJsAsset('/js/yt2/FormValidation.js');
Response::addJsAsset('/js/yt2/SyncStatus.js');
Response::addJsAsset('/js/yt2/youtube_video.js');
Response::setMetaTitle("LBRY YouTube Partner Program");
Response::setMetaDescription("Put your content on the blockchain, experience true content freedom, and earn rewards.");
Response::addMetaImage(Request::getHostAndProto() . '/img/lbry-partner.png');
?>
<main>
<?php echo View::render('acquisition/_youtube_header') ?>
<section class="hero">
<div class="shape">
<svg style="width: 100%; height: 100%;">
<path d="M 0,0" stroke="#2F3C5C" stroke-width="0.3px" fill="none" data-from="-1" />
<path d="M 0,0" stroke="#2F3C5C" stroke-width="0.3px" fill="none" data-from="0" />
<path d="M 0,0" stroke="#2F3C5C" stroke-width="0.3px" fill="none" data-from="0" />
<path d="M 0,0" stroke="#2F3C5C" stroke-width="0.3px" fill="none" data-from="1" />
<path d="M 0,0" stroke="#2F3C5C" stroke-width="0.3px" fill="none" data-from="1" />
<path d="M 0,0" stroke="#2F3C5C" stroke-width="0.3px" fill="none" data-from="2" />
<path d="M 0,0" stroke="#2F3C5C" stroke-width="0.3px" fill="none" data-from="2" />
<path d="M 0,0" stroke="#2F3C5C" stroke-width="0.3px" fill="none" data-from="2" />
</svg>
<div class="circle one"></div>
<div class="circle two"></div>
<div class="circle three"></div>
<div class="dot a"></div>
<div class="dot b"></div>
<div class="dot c"></div>
<div class="dot d"></div>
<div class="dot e"></div>
</div>
<div class="title">
<div class="overflow"><h1>Content Freedom.</h1></div>
<p>Put your content on the blockchain and earn rewards.</p>
<div class="button">Claim Your LBRY Channel</div>
</div>
</section>
<section class="claim section">
<div class="inner">
<div class="content">
<main class="ancillary youtube youtube--landing">
<section class="hero hero--youtube">
<div class="shape">
<svg>
<path d="M 0,0" data-from="-1"/>
<path d="M 0,0" data-from="0"/>
<path d="M 0,0" data-from="0"/>
<path d="M 0,0" data-from="1"/>
<path d="M 0,0" data-from="1"/>
<path d="M 0,0" data-from="2"/>
<path d="M 0,0" data-from="2"/>
<path d="M 0,0" data-from="2"/>
</svg>
<div class="circle one"></div>
<div class="circle two"></div>
<div class="circle three"></div>
<div class="dot a"></div>
<div class="dot b"></div>
<div class="dot c"></div>
<div class="dot d"></div>
<div class="dot e"></div>
</div>
<div class="inner-wrap inner-wrap--center-left">
<h1 class="weight-light">LBRY &times; YouTube Sync</h1>
<h2 class="weight-light">Get your YouTube videos in front of the LBRY audience</h2>
<button class="button button--inverse" data-id="scroll-to-claim" type="button">Claim your channel now</button>
</div>
</section>
<section class="align-text--center" id="claim-section">
<div class="inner-wrap">
<?php
if ($error_message): echo "<div>" . "The following error occurred: ". $error_message . " For support please send an email to hello@lbry.com" . "</div>";
if ($error_message): echo "<p class='error-block'>" . "The following error occurred: ". $error_message . " For support please send an email to <a href='mailto:hello@lbry.com' title='Email LBRY for help'>hello@lbry.com</a>." . "</p>";
endif;?>
<div class="zigzag"></div>
<h1>Create on a stable platform. For real this time.</h1>
<div hidden id="sync-status" class="sync-status">
</div>
<p hidden id="lbry_error" class="error-block">LBRY channel name is either not valid (only letters, numbers and - allowed) or your input is blank</p>
<h2>Connect with your fans while earning money and rewards</h2>
<form id="youtube_claim" method="post" action="/youtube/token">
<div class="form-inner" >
<div class="block">
<input id="lbry_channel_name" type="text" name="desired_lbry_channel_name" placeholder="Enter your channel name" />
<label>@</label>
<div hidden id="lbry_error" class="error">LBRY channel name is not valid or blank</div>
</div>
<p hidden id="sync-status" class="sync-status"></p>
<input-submit>
<label class="symbol-prefix">@</label>
<input
id="lbry_channel_name"
name="desired_lbry_channel_name"
placeholder="Enter your channel name"
type="text"
/>
<input
onClick="return submitDetailsForm()"
type="submit"
value="Claim now"
/>
</input-submit>
<br/>
<checkbox-element>
<input hidden name="type" type="text" value="sync"/>
<input id="immediate-sync" name="immediate_sync" type="checkbox" value="true"/>
<label for="immediate-sync">I want to sync my content to the LBRY network and agree to <a href="/faq/youtube-terms" target="_blank">these terms</a>. I have also read and understand <a href="/faq/youtube" target="_blank">how the program works</a>.</label>
<checkbox-toggle/>
</checkbox-element>
</form>
<div class="block">
<input type="submit" value="Claim now" onClick="return submitDetailsForm()"/>
</div>
<div class="meta">
This will verify you are an active YouTuber. Once verified instructions about how to claim credits, and technical details about your channel, will be emailed to you.
<a href="/faq/youtube">Learn more</a>.
<small class="meta">
This will verify you are an active YouTuber. Instructions about how to claim credits, and technical details about your channel, will be emailed to you after you are verified.
<a href="/faq/youtube">Learn more</a>
</small>
</div>
</section>
<section>
<div class="join section inner-wrap">
<h3>Join the best creators already on LBRY</h3>
<p>Audiences range from 1,000+ to 10,000,000+ people. The videos below are from creators who have synced their content to LBRY.</p>
<div class="ytsync-previews">
<figure class="ytsync-preview">
<video
onclick="playVideo('video1')"
id="video1"
poster="/img/youtube/01@2x.jpg"
src="https://spee.ch/1ac47b8b3def40a25850dc726a09ce23d09e7009/ever-wonder-how-bitcoin-and-other.mp4"
></video>
<figcaption>@3Blue1Brown</figcaption>
</figure>
<figure class="ytsync-preview">
<video
onclick="playVideo('video2')"
id="video2"
poster="/img/youtube/02@2x.jpg"
src="https://spee.ch/3c96f32de285db6c04e80bd6f5fad573250541e9/casually-successful.mp4"
></video>
<figcaption>@CasuallyExplained</figcaption>
</figure>
<figure class="ytsync-preview">
<video
onclick="playVideo('video3')"
id="video3"
poster="/img/youtube/03@2x.jpg"
src="https://spee.ch/8958c5d573d71f5c2d0c1bfdf752737ce39744cb/the-historical-elements-of-wolfenstein.mp4"
></video>
<figcaption>@ColinsLastStand</figcaption>
</figure>
</div>
</div>
</div>
</section>
<section class="join section">
<div class="inner">
<div class="content">
<h1>LBRY is more fun with friends</h1>
<p>Take your peers and your audience with you. Create without limits.</p>
<div class="boxes">
<div class="box">
<div class="image">
<div id="play-video1" class="to-play" onclick="playVideo('video1')"><span></span></div>
<video id="video1" width="100%" poster="/img/youtube/01@2x.jpg" src="https://spee.ch/1ac47b8b3def40a25850dc726a09ce23d09e7009/ever-wonder-how-bitcoin-and-other.mp4" style="cursor: pointer" onclick="function(){this.paused ? this.play() : this.pause()}"/></video>
</div>
</section>
<div class="text">
<p>@3Blue1Brown</p>
</div>
</div>
<div class="box">
<div class="image">
<div id="play-video2" class="to-play" onclick="playVideo('video2')"><span></span></div>
<video id="video2" width="100%" poster="/img/youtube/02@2x.jpg" src="https://spee.ch/3c96f32de285db6c04e80bd6f5fad573250541e9/casually-successful.mp4" style="cursor: pointer" onclick="function(){this.paused ? this.play() : this.pause()}" /></video>
</div>
<section>
<div class="rewards section inner-wrap">
<h3>Getting credits for your channel</h3>
<p>Depending on the number of subscribers you have on YouTube when you claim your channel, you will qualify for different lump sums of LBC.</p>
<div class="text">
<p>@CasuallyExplained</p>
</div>
</div>
<div class="box">
<div class="image" >
<div id="play-video3" class="to-play" onclick="playVideo('video3')"><span></span></div>
<video id="video3" width="100%" poster="/img/youtube/03@2x.jpg" src="https://spee.ch/8958c5d573d71f5c2d0c1bfdf752737ce39744cb/the-historical-elements-of-wolfenstein.mp4" style="cursor: pointer" onclick="function(){this.paused ? this.play() : this.pause()}"></video>
</div>
<div class="text">
<p>@ColinsLastStand</p>
</div>
</div>
</div>
<h4>
Subscriber Levels
<small class="meta">LBC <span class="current-value"></span></small>
</h4>
<table>
<thead style="font-size: 80%;">
<tr>
<th>Your Current YouTube Subscribers</th>
<th>LBC Tokens</th>
<th>USD Value</th>
</tr>
</thead>
<tbody>
<?php foreach ($reward['data'] as $subCount => $rewardAmt): ?>
<tr>
<td><?php echo number_format($subCount) ?></td>
<td><?php echo number_format($rewardAmt); ?> <small class="meta">LBC</small></td>
<td data-id="amount-<?php echo $rewardAmt ?>"></td>
</tr>
<?php endforeach ?>
</tbody>
</table>
</div>
</div>
</section>
<section class="how section">
<div class="inner">
<div class="content">
<h1>Migrating to LBRY</h1>
<p>We will automatically mirror your most recent 1,000 YouTube videos to your channel on the LBRY Network.</p>
</section>
<section>
<div class="yt-how inner-wrap">
<h3>Getting on LBRY is easy</h3>
<p>When you claim your channel your most recent 1,000 YouTube videos will be automatically copied to your LBRY channel.</p>
<ol>
<li>Claim your channel</li>
<li>Authorize your content</li>
<li>Users watch your content on LBRY</li>
</ol>
<div class="steps">
<div class="path">
<div class="journey"></div>
</div>
<div class="step one enabled" data-enable="12">
<div class="circle">1</div>
<p class="text">Sync your channel</p>
<p class="text">Claim your channel</p>
</div>
<div class="step two enabled" data-enable="33">
<div class="circle">2</div>
<p class="text">Download the LBRY App</p>
<p class="text">Authorize your content</p>
</div>
<div class="step three enabled" data-enable="75">
<div class="circle">3</div>
<p class="text">Receive your LBRY Credits</p>
<p class="text">Users watch your content on LBRY</p>
</div>
</div>
</div>
</div>
</section>
<section class="rewards section">
<div class="inner">
<div class="content">
<h1>LBRY Credits and Your Channel</h1>
<p>After you sync, receive LBRY Credits for one year based on your current subscriber count.<br/><br/>
The more you give to the network, the more it gives back.</p>
<div class="price">
<h3>Partner Programs</h3>
<p>LBC <span class="current-value"></span></p>
</div>
<div class="table">
<div class="head">
<p>Subscribers</p>
<p>Yearly</p>
<p>Amount</p>
</div>
<div class="line">
<p>1,000</p>
<p><?php echo $reward['data']['1000']; ?> <span></span></p>
<p></p>
</div>
<div class="line">
<p>10,000</p>
<p><?php echo $reward['data']['10000']; ?> <span></span></p>
<p></p>
</div>
<div class="line">
<p>100,000</p>
<p><?php echo $reward['data']['100000']; ?> <span></span></p>
<p></p>
</div>
<div class="line">
<p>1,000,000</p>
<p><?php echo $reward['data']['1000000']; ?> <span></span></p>
<p></p>
</div>
</section>
<section class="align-text--center">
<div class="inner-wrap">
<h3>Sync &amp; Earn</h3>
<p>LBRY offers a single-click sync process for existing YouTubers.</p>
<br/>
<div>
<button class="button button--inverse" data-id="scroll-to-claim" type="button">Sync now</button>
</div>
</div>
</div>
</section>
<section class="contact section">
<div class="inner">
<div class="content">
<h1>Tell me more.</h1>
<p>We have a guy that elaborates on things. Apply directly to the forehead.</p>
</section>
<section>
<div class="inner-wrap">
<h3>Let's connect</h3>
<p>If you have any questions, reach out.</p>
<div class="v-card">
<div class="photo"><img src="https://spee.ch/7/rob-smith1.png"></div>
<div class="text">
<figure>
<img alt="Rob Smith, Head of Product Growth" src="https://spee.ch/7/rob-smith1.png"/>
</figure>
<info>
<h3>Rob Smith</h3>
<p>Head of Product Growth</p>
<a href="mailto:rob@lbry.com?subject=YouTube+Freedom">Contact</a>
</div>
</info>
</div>
</div>
</div>
</section>
<div class="to-top"><span>to top</span></div>
</section>
</main>
+4 -1
View File
@@ -6,7 +6,10 @@ $sync_consent = isset($_POST['sync_consent']);
if ($channel_name !== "" && !preg_match("/@[A-Za-z0-9-]+$/", $channel_name)) {
$channel_name = "@" . $channel_name;
$channel_name = "@" . $channel_name;
}
if ($channel_name === ""){
$channel_name = null;
}
AcquisitionActions::actionYoutubeEdit($status_token, $channel_name, $email, $sync_consent);
+174 -137
View File
@@ -1,16 +1,17 @@
<?php Response::setMetaDescription('YouTuber? Take back control! LBRY allows publication on your terms. It\'s open-source, decentralized, and gives you 100% of the profit.') ?>
<?php Response::setMetaTitle(__('YouTubers! Take back control.')) ?>
<?php Response::setCssAssets(['/css/youtube.css']) ?>
<?php Response::addJsAsset('/js/yt2/FormValidation.js') ?>
<?php Response::addJsAsset('/js/yt2/youtube_status.js') ?>
<?php Response::addJsAsset('/js/yt2/youtube_video.js') ?>
<?php Response::addJsAsset('//www.googleadservices.com/pagead/conversion_async.js') ?>
<?php $statusData = $status_token['data'] ?>
<?php $isSyncAgreed = in_array($statusData['status'], ["syncing", "synced", "queued", "failed", "finalized"]) ?>
<?php $isSyncAgreed = in_array($statusData['status'], ["failed", "finalized", "pendingemail", "queued", "synced", "syncing"]) ?>
<?php $isRewardClaimed = $statusData['redeemed_reward'] > 0 ?>
<?php if (IS_PRODUCTION): ?>
<?php js_start() ?>
if (!localStorage.getItem('status_token')) {
<?php js_start() ?>
if (!localStorage.getItem('status_token')) {
ga('send', 'event', 'YT Sync', '<?php echo $isSyncAgreed ? "pending" : "queued" ?>', '');
fbq('track', 'Lead');
@@ -20,142 +21,178 @@
window.google_conversion_format = "3";
var opt = new Object();
opt.onload_callback = function() { };
var conv_handler = window['google_trackConversion'];
if (typeof(conv_handler) == 'function') {
conv_handler(opt);
}
}
<?php js_end() ?>
opt.onload_callback = function() { };
if (typeof(conv_handler) === 'function')
conv_handler(opt);
}
<?php js_end() ?>
<?php endif ?>
<main class="channel-settings">
<?php echo View::render('acquisition/_youtube_header') ?>
<section class="section channel pad-top">
<div class="inner">
<div class="content">
<?php if (preg_match('/^[A-Za-z0-9._%+-]+@plusgoogle.com$/', $statusData['email'])): ?>
<div id="email-google-plus-error" class="error">Your email address is set
as <?php echo $statusData['email']; ?>.<br>If this is not your email address, please <span
id="scroll_email">change it below</span>.
</div>
<?php endif ?>
<div class="zigzag"></div>
<h1><?php echo $isSyncAgreed && $isRewardClaimed ? "You're all set!" : "Almost done!" ?></h1>
<div class="confirmation-steps">
<ul>
<li>
<span>✓</span>
<p>Confirm your channel</p>
</li>
<li class="<?php echo $isSyncAgreed ? "" : "disabled" ?>">
<span><?php echo $isSyncAgreed ? "✓" : "☐" ?></span>
<p>Agree to sync</p>
<p <?php echo $isSyncAgreed ? "hidden" : "" ?>>click <a id="scroll-sync" href="#">here</a>
to agree to sync your content</p>
</li>
<li class="<?php echo $isRewardClaimed && $isSyncAgreed ? "" : "disabled" ?>">
<span><?php echo $isRewardClaimed ? "✓" : "☐" ?></span>
<p>Claim your credits</p>
<p <?php echo ($isRewardClaimed === false && $isSyncAgreed === true) ? "" : "hidden" ?>>To
get your credits, <a href="/get">download the app</a> and <a href="/faq/youtube">follow
these instructions.</a></p>
</li>
</ul>
</div>
<main class="ancillary youtube">
<section class="section channel">
<div class="inner-wrap">
<?php if (preg_match('/^[A-Za-z0-9._%+-]+@plusgoogle.com$/', $statusData['email'])): ?>
<p class="error-block" id="email-google-plus-error">
Your email address is set as <?php echo $statusData['email']; ?>.<br/>
If this is not your email address, please change it below.
</p>
<?php endif ?>
<div class="blocks">
<div class="block">
<p>Your Sync Status<br>
<span>
<?php switch ($statusData['status']) {
case "pending":
echo __("Pending Agreement");
break;
case "queued":
echo __("Queued");
break;
case "syncing":
echo __("Sync in Progress!");
break;
case "synced":
echo __("Content is Live!");
break;
case "failed":
echo __("Something went wrong, check back later!");
break;
case "finalized":
echo __("The content is in your control!");
break;
case "abandoned":
echo __("Cannot sync anymore!");
break;
} ?>
</span>
</p>
</div>
<div class="block">
<p>Subscribers<br>
<span><?php echo $statusData['subscribers'] === 0 ? "-" : $statusData['subscribers'] ?></span>
</p>
</div>
<div class="block">
<p>Videos<br>
<span><?php echo $statusData['videos'] === 0 ? "-" : $statusData['videos'] ?></span>
</p>
</div>
<div class="block">
<p>Expected Rewards<br>
<span><?php echo $statusData['expected_reward'] === 0 ? "-" : $statusData['expected_reward'] ?></span>
</p>
</div>
</div>
</div>
</div>
</section>
<section class="section settings">
<div class="inner">
<div class="content">
<div class="zigzag"></div>
<h1>Confirm your preferences</h1>
<form id="youtube_settings" action="/youtube/edit" method="post">
<div>
<input type="hidden" name="status_token" id="status_token" value="<?php echo $token ?>"/>
</div>
<?php
if ($error_message): echo "<div>" . "The following error occurred: " . $error_message . " For support please send an email to hello@lbry.com" . "</div>";
endif; ?>
<div class="block">
<label for="channel-name">LBRY Channel ID</label>
<input type="text" id="channel-name" name="new_preferred_channel"
placeholder="@YourPreferredChannelName"
value="<?php echo $statusData['lbry_channel_name']; ?>" <?php echo $statusData['editable'] ? "" : "disabled" ?> >
<div hidden id="channel-name-error" class="error">Channel is invalid or blank</div>
</div>
<div class="block">
<label for="email">Preferred Email</label>
<input type="text" id="email" name="new_email" placeholder="bill@gmail.com"
value="<?php echo $statusData['email']; ?>">
<div hidden id="email-error" class="error">Email is invalid or blank</div>
<div hidden id="email-google-plus-error" class="error">Google plus email addresses cannot be
used
</div>
</div>
<p <?php echo $statusData['has_verified_email'] ? "hidden" : "" ?> class="block full error">You need
to verify your email before continuing!</p>
<label for="sync-consent"
class="block full" <?php echo !$statusData['has_verified_email'] ? "hidden" : "" ?>>
<input name="sync_consent" id="sync-consent" type="checkbox"
<?php echo $isSyncAgreed ? "checked" : "" ?> <?php echo (($statusData['status'] == 'pending' || $statusData['status'] == 'queued') && !$statusData['transferred']) ? "" : "disabled "; ?>>I
want to sync my content to the LBRY network and agree to <a href="/faq/youtube-terms">these
terms</a>.
<p hidden id="sync-consent-error" class="error">In order to continue, you must agree to
sync.</p>
</label>
<div class="block">
<button type="submit" onClick="return submitEditForm()">Save Changes</button>
</div>
</form>
</div>
<h2><?php echo $isSyncAgreed && $isRewardClaimed ? "You're all set!" : "Almost done!" ?></h2>
<div class="confirmation-steps">
<ul class="bulletless">
<li>
<span>✓</span>
<p>Confirm your channel</p>
</li>
<li class="<?php echo $isSyncAgreed ? "" : "disabled" ?>">
<span><?php echo $isSyncAgreed ? "✓" : "·" ?></span>
<p>Agree to sync</p>
</li>
<li class="<?php echo $isRewardClaimed && $isSyncAgreed ? "" : "disabled" ?>">
<span><?php echo $isRewardClaimed ? "✓" : "·" ?></span>
<p>Claim your credits</p>
<p <?php echo ($isRewardClaimed === false && $isSyncAgreed === true) ? "" : "hidden" ?>>(to get your credits, <a href="/get">download the app</a> and <a href="/faq/youtube">follow these instructions</a>)</p>
</li>
</ul>
<hr/>
</div>
<table>
<thead>
<tr>
<th>Your Sync Status</th>
<th>Subscribers</th>
<th>Videos</th>
<th>Expected Rewards</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<?php switch ($statusData['status']) {
case "pending":
echo __("Pending Agreement");
break;
case "pendingemail":
echo __("Pending Email Confirmation");
break;
case "queued":
echo __("Queued");
break;
case "syncing":
echo __("Sync in Progress!");
break;
case "synced":
echo __("Content is Live!");
break;
case "failed":
echo __("Something went wrong, check back later!");
break;
case "finalized":
echo __("The content is in your control!");
break;
case "abandoned":
echo __("Cannot sync anymore!");
break;
default:
echo __("—");
break;
} ?>
</td>
<td>
<?php echo $statusData['subscribers'] === 0 ? "—" : $statusData['subscribers'] ?>
</td>
<td>
<?php echo $statusData['videos'] === 0 ? "—" : $statusData['videos'] ?>
</td>
<td>
<?php echo $statusData['expected_reward'] === 0 ? "—" : $statusData['expected_reward'] ?>
</td>
</tr>
</tbody>
</table>
</div>
</section>
<section class="section settings">
<div class="inner-wrap">
<form id="youtube_settings" action="/youtube/edit" method="post">
<div>
<input type="hidden" name="status_token" id="status_token" value="<?php echo $token ?>"/>
</div>
<?php if ($error_message): echo "<p class='error-block'>" . "The following error occurred: <strong>" . $error_message . "</strong> For support please send an email to hello@lbry.com" . "</p>"; endif; ?>
<fieldset>
<legend>Confirm your preferences</legend>
<p <?php echo $statusData['email']==="" ? "" : "hidden" ?> class="error-block">
You need to provide an email
</p>
<p <?php echo ($statusData['has_verified_email']===false && $statusData['email']!=="") ? "" : "hidden"?> class="error-block">
You need to verify your email
</p>
<fieldset-group>
<fieldset-section>
<label for="channel-name">LBRY Channel ID</label>
<input
type="text" id="channel-name" name="new_preferred_channel"
placeholder="@YourPreferredChannelName"
value="<?php echo $statusData['lbry_channel_name']; ?>" <?php echo $statusData['editable'] ? "" : "disabled" ?>
/>
<div hidden id="channel-name-error" class="error">Channel is invalid or blank (only letters, numbers and - allowed)</div>
</fieldset-section>
<fieldset-section>
<label for="email">Preferred Email</label>
<input
type="text"
id="email"
name="new_email"
placeholder="bill@gmail.com"
value="<?php echo $statusData['email']; ?>"
/>
<div hidden id="email-error" class="error">Email is invalid or blank</div>
<div hidden id="email-google-plus-error" class="error">Google plus email addresses cannot be used</div>
</fieldset-section>
</fieldset-group>
<checkbox-element
<?php echo (($statusData['status'] === 'pending' || $statusData['status'] === 'queued') && !$statusData['transferred']) ? "" : "disabled "; ?>
<?php echo !$statusData['has_verified_email'] ? "hidden" : "" ?>
>
<input
id="sync_consent"
name="sync_consent"
type="checkbox"
<?php echo $isSyncAgreed ? "checked" : "" ?> <?php echo (($statusData['status'] === 'pending' || $statusData['status'] === 'queued') && !$statusData['transferred']) ? "" : "disabled "; ?>
/>
<label for="sync_consent" <?php echo !$statusData['has_verified_email'] ? "hidden" : "" ?>>
I want to sync my content to the LBRY network and agree to <a href="/faq/youtube-terms" target="_blank">these terms</a>. I have also read and understand <a href="/faq/youtube" target="_blank">how the program works</a>.
<p hidden id="sync-consent-error" class="error">In order to continue, you must agree to sync.</p>
</label>
<checkbox-toggle/>
</checkbox-element>
<div>
<button type="submit" onClick="return submitEditForm()">Save Changes</button>
</div>
</fieldset>
</form>
</div>
</section>
</main>
@@ -1,11 +1,9 @@
<?php js_start() ?>
if (localStorage.getItem('status_token')) {
var status_token = localStorage.getItem('status_token');
url = '/youtube/status/' + status_token;
$(location).attr('href', url);
}
else {
$(location).attr('href', '/youtube');
}
if (localStorage.getItem("status_token")) {
const status_token = localStorage.getItem("status_token");
url = "/youtube/status/" + status_token;
$(location).attr("href", url);
} else {
$(location).attr("href", "/youtube");
}
<?php js_end() ?>
@@ -1,8 +0,0 @@
<?php
$desired_lbry_channel_name = Request::encodeStringFromUser($_POST['desired_lbry_channel_name']);
if (!preg_match("/@[A-Za-z0-9_-]+$/", $desired_lbry_channel_name)) {
$desired_lbry_channel_name = "@" . $desired_lbry_channel_name;
}
AcquisitionActions::actionYoutubeToken($desired_lbry_channel_name);
+1 -1
View File
@@ -2,7 +2,7 @@
<main class="ancillary">
<section class="hero hero--half-height">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1><?php echo htmlentities($post->getTitle()) ?></h1>
</div>
</section>
+1 -1
View File
@@ -2,7 +2,7 @@
<main class="ancillary">
<section class="hero hero--half-height">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>Quarterly Credit Reports</h1>
</div>
</section>
+1 -1
View File
@@ -4,7 +4,7 @@
<main class="ancillary">
<section class="hero hero--half-height">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>Frequently Asked Questions</h1>
</div>
</section>
+8 -1
View File
@@ -2,7 +2,7 @@
<main class="ancillary">
<section class="hero hero--half-height">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>{{page.faq.header}}</h1>
</div>
</section>
@@ -44,4 +44,11 @@
<?php endforeach ?>
</div>
</section>
<section>
<div class="inner-wrap">
<h3>Ask A Question</h3>
<p>See something not answered above? <a href="mailto:hello@lbry.com?subject=Question%20for%20the%20FAQ" rel="noopener noreferrer" target="_blank" title="">Send us your question</a>!</p>
</div>
</section>
</main>
+1 -1
View File
@@ -6,7 +6,7 @@
<section
class="hero hero--news<?php echo $post->getCover() ? '' : ' hero--half-height'?>"<?php echo $post->getCover() ? ' style="background-image: url(\'/img/blog-covers/' . $post->getCover() . '\')"' : ''?>
>
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1><?php echo htmlentities($post->getTitle()) ?></h1>
<h2>
<?php echo $post->getAuthorName() ?>
+2 -2
View File
@@ -2,7 +2,7 @@
<main class="news ancillary">
<section class="hero hero--news" style="background-image: url(/img/bangalore.jpg); background-position: center 15%;">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>{{news.desk}}</h1>
<h2>{{news.musings}}</h2>
</div>
@@ -10,7 +10,7 @@
<section>
<div class="inner-wrap">
<ul class="news-items">
<ul class="news-items bulletless">
<?php foreach ($posts as $post): ?>
<li class="news-item">
<h3>
+1 -1
View File
@@ -2,7 +2,7 @@
<main class="ancillary">
<section class="hero hero--half-height" style="background-image: url(/img/here-be-dragons.jpg); background-position: center;">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>{{roadmap.title}}</h1>
<h2>Future plans for the journey into the land of dragons</h2>
</div>
+1 -1
View File
@@ -15,7 +15,7 @@
<?php $buckets[floor($index++ / $columns)][] = ob_get_clean() ?>
<?php endforeach ?>
<ul class="download-cards">
<ul class="download-cards bulletless">
<?php foreach (array_filter($buckets) as $bucketRow): ?>
<li class="download-card"><?php echo implode("</li> <li class='download-card'>", $bucketRow) ?></li>
<?php endforeach ?>
+1 -1
View File
@@ -4,7 +4,7 @@
<main class="ancillary">
<section class="hero hero--half-height">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>Use LBRY on your preferred platform</h1>
</div>
</section>
+8 -2
View File
@@ -4,7 +4,7 @@
<main class="ancillary">
<section class="hero hero--half-height">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>
<?php echo __('download.for-os2', ['%os%' => OS::OS_DETAIL($os)[5]]) ?>
</h1>
@@ -30,7 +30,13 @@
</div>
<figure>
<img src="<?php echo $osScreenshotSrc ?>" alt="Screenshot of LBRY"/>
<img
alt="Screenshot of LBRY"
src="<?php echo $osScreenshotSrc ?>"
<?php if ($os === OS::OS_ANDROID): ?>
class="tall"
<?php endif ?>
/>
</figure>
<?php else: ?>
+3 -4
View File
@@ -3,7 +3,7 @@
<head prefix="og: http://ogp.me/ns#">
<meta name="google-site-verification" content="QEyIHPbSKR2Z9ZNkfVHGdGv5EE7tTM7FE0Wt8tmcH50"/>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, target-densitydpi=device-dpi"/>
<?php $title = Response::getMetaTitle() ?: Response::guessMetaTitle($content) ?>
<?php $title = $title ?
@@ -13,10 +13,7 @@
<link rel="stylesheet" href="https://rsms.me/inter/inter.css"/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/tonsky/FiraCode@master/distr/fira_code.css"/>
<?php if (!strpos($_SERVER['REQUEST_URI'], 'youtube/')): ?>
<link rel="stylesheet" href="/components/dist/index.css"/>
<?php endif ?>
<?php foreach (Response::getCssAssets() as $src): ?>
<link rel="stylesheet" href="<?php echo $src?>"/>
@@ -57,6 +54,8 @@
<meta property="og:description" content="<?php echo Response::getMetaDescription() ?>"/>
<?php foreach (Response::getMetaImages() as $image): ?>
<meta property="og:image" content="<?php echo $image ?>"/>
<meta property="og:image:height" content="1125"/>
<meta property="og:image:width" content="2000"/>
<?php endforeach ?>
<meta property="og:site_name" content="LBRY"/>
<meta property="og:title" content="<?php echo $title ?>"/>
-19
View File
@@ -54,25 +54,6 @@
<checkbox-toggle/>
</checkbox-element>
<?php endforeach ?>
<?php js_start() ?>
document.querySelectorAll("checkbox-toggle").forEach(toggle => {
toggle.addEventListener("click", event => {
const siblings = event.target.parentElement.children;
for (const sibling of siblings) {
switch(true) {
case sibling.tagName.toLowerCase() === "label":
sibling.click();
break;
default:
break;
}
}
});
});
<?php js_end() ?>
</section>
</form>
<?php endif ?>
+1 -1
View File
@@ -4,7 +4,7 @@
<main class="ancillary">
<section class="hero hero--half-height">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>{{page.email_settings}}</h1>
</div>
</section>
+1 -1
View File
@@ -2,7 +2,7 @@
<main class="ancillary">
<section class="hero hero--half-height">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>{{page.unsubscribe}}</h1>
</div>
</section>
+1 -1
View File
@@ -4,7 +4,7 @@
<main class="ancillary">
<section class="hero" style="background-image: url(https://spee.ch/4/LBRYopoly)">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>Get paid to 3D print!</h1>
</div>
</section>
+1 -1
View File
@@ -1,6 +1,6 @@
<main class="ancillary">
<section class="hero hero--half-height">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>{{page.badrequest}}</h1>
</div>
</section>
+1 -1
View File
@@ -1,6 +1,6 @@
<main class="ancillary">
<section class="hero hero--half-height">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>Page Not Found (404)</h1>
</div>
</section>
+1 -1
View File
@@ -1,6 +1,6 @@
<main class="ancillary">
<section class="hero hero--half-height">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>{{page.badmethod}}</h1>
</div>
</section>
+1 -1
View File
@@ -3,7 +3,7 @@
<main class="ancillary">
<section class="hero" style="background-image: url(/img/bangalore.jpg)">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>LBRY Welcomes You To The Blockchain Workshop</h1>
<h3>We're excited to share LBRY with you!</h3>
</div>
+1 -1
View File
@@ -3,7 +3,7 @@
<main class="ancillary">
<section class="hero" style="background-image: url(/img/droid1.jpg)">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>Testing... Testing...</h1>
<h3>LBRY needs alpha testers for our Android app!</h3>
</div>
+1 -1
View File
@@ -3,7 +3,7 @@
<main class="ancillary">
<section class="hero" style="background-image: url(/img/table2.jpg)">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>LBRY Welcomes You To The Bangalore Blockchain Application Development Meetup</h1>
<h3>We're excited to share about LBRY with you!</h3>
</div>
+2 -2
View File
@@ -2,14 +2,14 @@
<main class="ancillary">
<section class="hero hero--half-height">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>LBRY Warrant Canary</h1>
</div>
</section>
<section>
<div class="inner-wrap">
<p>Through March 1st, 2019, LBRY has received:</p>
<p>Through June 1st, 2019, LBRY has received:</p>
<ul>
<li>Zero National Security Letters</li>
+1 -1
View File
@@ -3,7 +3,7 @@
<main class="ancillary">
<section class="hero" style="background-image: url(/img/table2.jpg)">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>Wanna Meet Up?</h1>
<h3>LBRY is looking for ambassadors to spread the word to College campuses and Meetup groups worldwide!</h3>
</div>
+1 -1
View File
@@ -3,7 +3,7 @@
<main class="ancillary">
<section class="hero hero--half-height">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>Get in Touch</h1>
</div>
</section>
+1 -1
View File
@@ -3,7 +3,7 @@
<main class="ancillary">
<section class="hero" style="background-image: url(/img/clement-vit.jpg)">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>LBRY Welcomes Chandigarh University Students</h1>
<h3>We're excited to share LBRY with you!</h3>
</div>
+1 -1
View File
@@ -3,7 +3,7 @@
<main class="ancillary">
<section class="hero hero--half-height">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>Blockchain Fork Updates</h1>
</div>
</section>
+2 -2
View File
@@ -2,8 +2,8 @@
<?php Response::setMetaTitle(__('Level UP with LBRY Network')) ?>
<main class="ancillary">
<section class="hero" style="background-image: url(/img/pitv.jpg)">
<div class="inner-wrap inner-wrap--hero">
<section class="hero" style="background-image: url(/img/close-up-of-gaming-joystick.jpg)">
<div class="inner-wrap inner-wrap--center-hero">
<h1>Level UP with LBRY Network</h1>
<h3>We're excited to share LBRY with you!</h3>
</div>
+12 -13
View File
@@ -2,8 +2,8 @@
<?php Response::addMetaImage('https://spee.ch/@lbryteam:6/everyone.jpg') ?>
<main class="ancillary">
<section class="hero hero--half-height">
<div class="inner-wrap inner-wrap--hero">
<section class="hero" style="background-image: url(https://spee.ch/@lbryteam:6/everyone-apr-2018.jpg); background-position: center;">
<div class="inner-wrap inner-wrap--center-hero">
<h1>Join Team Content Freedom</h1>
</div>
</section>
@@ -12,11 +12,6 @@
<div class="inner-wrap">
<p>Changing the landscape of content distribution is no easy task. LBRY is growing rapidly, and we're always looking for great people to join us. If you're looking for a challenging and rewarding pursuit, if you want to work with a team that shares your passion and curiosity, you've come to the right place.</p>
<figure>
<img src="https://spee.ch/@lbryteam:6/everyone-apr-2018.jpg" alt="LBRY Team Photo from April 2018"/>
<figcaption>Fortunately, photo shoots are not a regular job activity.</figcaption>
</figure>
<h2 id="about">About LBRY</h2>
<p>Some things to know about working at LBRY:</p>
@@ -50,7 +45,7 @@
<li>A brief (30 minute max), non-technical, introductory phone call with either the CEO, CTO, or appropriate lead.</li>
<li>
<p>All technical hires are required to complete compensated code contribution on the repository they'd be working on. Non-technical hires will also be asked to complete a compensated trial task after they apply and complete step 1.</p>
<p class="join-us-fix">All technical hires are required to complete compensated code contribution on the repository they'd be working on. Non-technical hires will also be asked to complete a compensated trial task after they apply and complete step 1.</p>
<p>Issues tagged "good first issue" are suitable for this purpose, though you are welcome to work on another issue or even something not filed at all.</p>
@@ -70,17 +65,21 @@
</tr>
<tr>
<td>
- <a href="https://github.com/lbryio/lbry">lbry (daemon)</a><br/>
- <a href="https://github.com/lbryio/lbryum">lbryum (wallet)</a>
<ul>
<li><a href="https://github.com/lbryio/lbry">lbry (daemon)</a></li>
<li><a href="https://github.com/lbryio/lbryum">lbryum (wallet)</a></li>
</ul>
</td>
<td>Protocol Engineer</td>
<td><a href="https://github.com/lbryio/lbry/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22">good first issues</a></td>
</tr>
<tr>
<td>
- <a href="https://github.com/lbryio/lbry-desktop">lbry-desktop</a><br/>
- <a href="https://github.com/lbryio/lbry-android">lbry-android</a><br/>
- <a href="https://github.com/lbryio/spee.ch">spee.ch</a>
<ul>
<li><a href="https://github.com/lbryio/lbry-desktop">lbry-desktop</a></li>
<li><a href="https://github.com/lbryio/lbry-android">lbry-android</a></li>
<li><a href="https://github.com/lbryio/spee.ch">spee.ch</a></li>
</ul>
</td>
<td>Lead Application Engineer</td>
<td><a href="https://github.com/lbryio/lbry-desktop/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22">good first issues</a></td>
+26
View File
@@ -0,0 +1,26 @@
<?php Response::setMetaDescription(__('Welcome To LBRY India')) ?>
<?php Response::setMetaTitle(__('Welcome To LBRY India Commuity, a place to discover LBRY')) ?>
<main class="ancillary">
<section class="hero" style="background-image: url(/img/table2.jpg)">
<div class="inner-wrap inner-wrap--center-hero">
<h1>LBRY India Community Welcomes You</h1>
<h3>We're excited to share about LBRY with you!</h3>
</div>
</section>
<section>
<div class="inner-wrap">
<h3>Enter your email address to receive LBRY updates, news, and information for India's LBRYians!</h3>
<p>As an open source project, our development and future relies on our communities around the world, and we're delighted to see our community growing in India. Please enter your email below and we'll give you instructions to redeem the LBC as mentioned by our team.</p>
<?php echo View::render('mail/_subscribeForm', [
'tag' => 'LBRYIndia',
'submitLabel' => 'Sign me up',
'hideDisclaimer' => true,
'largeInput' => true,
'btnClass' => 'btn-alt btn-large'
]) ?>
</div>
</section>
</main>
+1 -1
View File
@@ -3,7 +3,7 @@
<main class="ancillary">
<section class="hero" style="background-image: url(/img/blog-covers/censorship.jpg)">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>Independent Hosting for Independent Media</h1>
<h3>Don't leave your fate in the hands of Silicon Valley</h3>
</div>
+1 -1
View File
@@ -3,7 +3,7 @@
<main class="ancillary">
<section class="hero" style="background-image: url(/img/table2.jpg)">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>LBRY Welcomes LPU Students</h1>
<h3>We're excited to share about LBRY with you!</h3>
</div>
+1 -1
View File
@@ -3,7 +3,7 @@
<main class="ancillary">
<section class="hero" style="background-image: url(/img/table2.jpg)">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>Wanna Meet Up?</h1>
<h3>LBRY is looking for ambassadors to spread the word to College campuses and Meetup groups worldwide!</h3>
</div>
+1 -1
View File
@@ -3,7 +3,7 @@
<main class="ancillary">
<section class="hero hero--half-height">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>Join Our List for LBRY Updates</h1>
</div>
</section>
+1 -1
View File
@@ -9,6 +9,6 @@
'submitLabel' => 'Sign Me Up',
]) ?>
<p>Go back to <strong><a href="/">lbry.com</a></strong>.</p>
<p>Go back to <strong><a href="https://lbry.com">lbry.com</a></strong>.</p>
</section>
</main>
+1 -1
View File
@@ -5,7 +5,7 @@
<main class="ancillary">
<section class="hero hero--half-height">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>{{press.title}}</h1>
</div>
</section>
+1 -1
View File
@@ -3,7 +3,7 @@
<main class="ancillary">
<section class="hero hereo--half-height">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>LBRY Inc. Privacy Policy</h1>
<style>
+1 -1
View File
@@ -4,7 +4,7 @@
<main class="ancillary">
<section class="hero" style="background-image: url(https://spee.ch/3cb82a81e95c147686dbf90e9983640939461c53/everyone-banner3.jpg)">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>{{page.team.header}}</h1>
<h2>Teamwork makes the dream work.</h2>
</div>
+1 -1
View File
@@ -4,7 +4,7 @@
<main class="ancillary">
<section class="hero hero--half-height">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>Terms of Service</h1>
</div>
</section>
+1 -1
View File
@@ -9,6 +9,6 @@
'submitLabel' => 'Sign Me Up',
]) ?>
<p>Go back to <strong><a href="/">lbry.com</a></strong>.</p>
<p>Go back to <strong><a href="https://lbry.com">lbry.com</a></strong>.</p>
</section>
</main>
+1 -1
View File
@@ -3,7 +3,7 @@
<main class="ancillary">
<section class="hero" style="background-image: url(/img/clement-vit.jpg)">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>LBRY Welcomes WomenTechies Hackathon Participants</h1>
<h3>We're excited to meet the next generation of problem solvers!</h3>
</div>
+13 -10
View File
@@ -4,7 +4,7 @@
<main class="ancillary">
<section class="hero" style="background-image: url(/img/altamira-bison.jpg)">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>Art in the Internet Age</h1>
<h3>An introduction to LBRY</h3>
</div>
@@ -143,6 +143,7 @@ wonderfullife<span class="token punctuation">:</span> <span class="token punctua
<ol>
<li>LBRYNet issues a lookup for the name associated with the content. If the client does not have a local copy of the blockchain, this lookup is broadcast to miners or to a service provider. This lookup acquires the metadata associated with the name.</li>
<li>LBRYNet issues any required payments, as instructed by metadata entries.
<ol>
<li>If the content is set to free, nothing happens here.</li>
@@ -150,6 +151,7 @@ wonderfullife<span class="token punctuation">:</span> <span class="token punctua
<li>If the content is set to have another payment method, the seller must run or use a service that provides a private server enforcing payment and provisioning accessing keys.</li>
</ol>
</li>
<li>Simultaneous to #2, LBRYNet uses the metadata to download the content itself.
<ol>
<li>The metadata allows chunks to be discovered and assembled in a BitTorrent-like fashion. However, unlike BitTorrent, chunks do not individually identify themselves as part of a greater whole. Chunks are just arbitrary pieces of data.</li>
@@ -166,6 +168,7 @@ wonderfullife<span class="token punctuation">:</span> <span class="token punctua
<p>While the protocol is determined, open, and fixed, the service layer is much more flexible. It is far easier to redesign a website than it is to revise the HTTP protocol itself. The same is true here.</p>
<p>Additionally, just as in the early days of the internet, imagining the later direction of the web would have been unfathomable, so too may the best uses of LBRY's namespace or technology be undiscovered. However, there are some clear use cases:</p>
<h4>Applications and Devices</h4>
<p>A LBRY application is how a user would actually have meaningful interactions with the LBRY network. A LBRY client packages the power of the LBRY protocol into a simple application that allows the user to simply search for content, pay for it when necessary, download and enjoy.</p>
@@ -218,13 +221,13 @@ wonderfullife<span class="token punctuation">:</span> <span class="token punctua
<p>To evaluate a technology's effect, we must consider where it moves us from the current state of affairs, not judge against a Platonic ideal or past era. In assessing LBRY, we must compare it to a world in which BitTorrent already exists and is quite popular, not the 1950s. LBRY is an improvement over BitTorrent in combatting unsavory content in at least four ways:</p>
<ol>
<li><strong>More records.</strong>LBRY contains a public ledger of transactions recording name purchases and published content. As many purchases make it onto the ledger as well, this means infringing actions are frequently recorded <em>forever, </em>or are at a minimum, widely observable.</li>
<li><p><strong>More records.</strong></p><p>LBRY contains a public ledger of transactions recording name purchases and published content. As many purchases make it onto the ledger as well, this means infringing actions are frequently recorded <em>forever</em>, or are at a minimum, widely observable.</p></li>
<li><strong>Updatable URLs.</strong> Once a BitTorrent magnet hash is in the wild, there is no mechanism to update or alter its resolution whatsoever. If a LBRY name is pointing to infringing content, it can be updated or removed (but not by us). </li>
<li><p><strong>Updatable URLs.</strong></p><p>Once a BitTorrent magnet hash is in the wild, there is no mechanism to update or alter its resolution whatsoever. If a LBRY name is pointing to infringing content, it can be updated or removed (but not by us).</p></li>
<li><strong>Stiffer penalties. </strong>Penalties for profiting off of infringement are far stronger and can involve jail time, while infringement without profit only results in statutory damages. This serves as a far stronger deterrent for all infringing uses than BitTorrent provides.</li>
<li><p><strong>Stiffer penalties.</strong></p><p>Penalties for profiting off of infringement are far stronger and can involve jail time, while infringement without profit only results in statutory damages. This serves as a far stronger deterrent for all infringing uses than BitTorrent provides.</p></li>
<li><strong>Expensive or impossible. </strong>Off-chain settlement will be a requirement for efficient purchases at any significant network size. Settlement providers, ourselves included, will be able to block purchases for infringing content. At significant traffic volume, if infringing content can't be outright removed or blocked, transaction fees will make it prohibitively expensive.</li>
<li><p><strong>Expensive or impossible.</strong></p><p>Off-chain settlement will be a requirement for efficient purchases at any significant network size. Settlement providers, ourselves included, will be able to block purchases for infringing content. At significant traffic volume, if infringing content can't be outright removed or blocked, transaction fees will make it prohibitively expensive.</p></li>
</ol>
<p>And of course, let's not forget that LBRY users are still subject to the DMCA and other laws governing intellectual property. Users who publishing infringing content are still subject to penalties for doing so in exactly the same way they would be via BitTorrent. LBRY only adds to the suite of options available. This makes LBRY a strict improvement over BitTorrent with regards to illegal usages, which provides none of the mechanisms listed.</p>
@@ -237,15 +240,15 @@ wonderfullife<span class="token punctuation">:</span> <span class="token punctua
<p>We want to be the first digital content marketplace to:</p>
<ol>
<li><strong>Treat users like adults.</strong> LBRY doesn't play nanny. It encourages individual people to express their own preferences, rather than force our own onto them. We enable consumers to make their own choices about where and who they want to purchase digital content from.</li>
<li><p><strong>Treat users like adults.</strong></p><p>LBRY doesn't play nanny. It encourages individual people to express their own preferences, rather than force our own onto them. We enable consumers to make their own choices about where and who they want to purchase digital content from.</p></li>
<li><strong>Operate openly, inclusively, and transparently.</strong> Anyone can publish or interact with the LBRY network. No one needs permission from us or anyone else. LBRY encourages all parties to participate in the network, rather than the creation of walled gardens. LBRY is a completely open specification and all code is open source.</li>
<li><p><strong>Operate openly, inclusively, and transparently.</strong></p><p>Anyone can publish or interact with the LBRY network. No one needs permission from us or anyone else. LBRY encourages all parties to participate in the network, rather than the creation of walled gardens. LBRY is a completely open specification and all code is open source.</p></li>
<li><strong>Prove decentralization doesn't mean infringement.</strong> Existing decentralized publishing protocols offer no way for right holders to combat or capture profits from illegally shared content. LBRY's service layer, blacklisting mechanisms, and naming system all improve the status quo.</li>
<li><p><strong>Prove decentralization doesn't mean infringement.</strong></p><p>Existing decentralized publishing protocols offer no way for right holders to combat or capture profits from illegally shared content. LBRY's service layer, blacklisting mechanisms, and naming system all improve the status quo.</p></li>
<li><strong>Acknowledge modern digital realities and ethical norms.</strong> Prohibition has failed at every turn and in every iteration. Regulating human behavior only works when it aligns with moral norms that are shared by the majority of the population.<br/><br/>If it is impossible to keep drugs out of prisons, it will never be possible to enforce copyright via analogous tactics on the infinitely less-controlled internet. Instead, focus on enticement. While legal compliance is paramount, concentrate as much as possible on making a system that relies more on giving people no excuse to do the wrong thing.</li>
<li><p><strong>Acknowledge modern digital realities and ethical norms.</strong></p><p>Prohibition has failed at every turn and in every iteration. Regulating human behavior only works when it aligns with moral norms that are shared by the majority of the population.</p><p>If it is impossible to keep drugs out of prisons, it will never be possible to enforce copyright via analogous tactics on the infinitely less-controlled internet. Instead, focus on enticement. While legal compliance is paramount, concentrate as much as possible on making a system that relies more on giving people no excuse to do the wrong thing.</p></li>
<li><strong>Collect no rent.</strong> Whatever an artist or creator charges for their work should go to them. Distributing bits is exceedingly simple. There's no need to give 45% to YouTube or 30% to Apple. Collecting no rent isn't just a promise, it's hard coded. The nature of LBRY means this could never be done -- by us or anyone else.</li>
<li><p><strong>Collect no rent.</strong></p><p>Whatever an artist or creator charges for their work should go to them. Distributing bits is exceedingly simple. There's no need to give 45% to YouTube or 30% to Apple. Collecting no rent isn't just a promise, it's hard coded. The nature of LBRY means this could never be done -- by us or anyone else.</p></li>
</ol>
</div>
</section>
+1 -1
View File
@@ -3,7 +3,7 @@
<main class="ancillary">
<section class="hero" style="background-image: url(/img/hackysu2.jpg)">
<div class="inner-wrap inner-wrap--hero">
<div class="inner-wrap inner-wrap--center-hero">
<h1>LBRY Welcomes HackYSU</h1>
<h3>We're excited to share LBRY with you!</h3>
</div>
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 516 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 893 KiB

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 656 KiB

+41
View File
@@ -93,6 +93,24 @@ $(document).ready(function() {
// Allow checkboxes to be checked, rather than just the label
document.querySelectorAll("checkbox-toggle").forEach(toggle => {
toggle.addEventListener("click", event => {
const siblings = event.target.parentElement.children;
for (const sibling of siblings) {
switch(true) {
case sibling.tagName.toLowerCase() === "label":
sibling.click();
break;
default:
break;
}
}
});
});
// Automatically open external links in new tabs
document.querySelectorAll("a[href]").forEach(link => {
if (link.href.indexOf(location.hostname) === -1) {
@@ -130,3 +148,26 @@ document.addEventListener("DOMContentLoaded", () => {
break;
}
});
// Fix for touchscreen devices
if ("ontouchstart" in window) {
const navigationLinks = document.querySelectorAll("drawer-title");
navigationLinks.forEach(navigationLink => {
navigationLink.ontouchstart = () => {
hideNavigationHelpers();
navigationLink.onhover.call(navigationLink);
};
});
document.querySelector("body").addEventListener("touchstart", event => {
if (event.target !== document.querySelector("drawer-navigation"))
document.querySelector("drawer-wrap").hide();
});
function hideNavigationHelpers() {
document.querySelectorAll("drawer-navigation-helper").forEach(navigationHelper => {
navigationHelper.style.display = "none";
});
}
}
-2
View File
@@ -1,2 +0,0 @@
/*! jQuery v3.3.1 | (c) JS Foundation and other contributors | jquery.org/license */
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=[],r=e.document,i=Object.getPrototypeOf,o=n.slice,a=n.concat,s=n.push,u=n.indexOf,l={},c=l.toString,f=l.hasOwnProperty,p=f.toString,d=p.call(Object),h={},g=function e(t){return"function"==typeof t&&"number"!=typeof t.nodeType},y=function e(t){return null!=t&&t===t.window},v={type:!0,src:!0,noModule:!0};function m(e,t,n){var i,o=(t=t||r).createElement("script");if(o.text=e,n)for(i in v)n[i]&&(o[i]=n[i]);t.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[c.call(e)]||"object":typeof e}var b="3.3.1",w=function(e,t){return new w.fn.init(e,t)},T=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;w.fn=w.prototype={jquery:"3.3.1",constructor:w,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:n.sort,splice:n.splice},w.extend=w.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||g(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)n=a[t],a!==(r=e[t])&&(l&&r&&(w.isPlainObject(r)||(i=Array.isArray(r)))?(i?(i=!1,o=n&&Array.isArray(n)?n:[]):o=n&&w.isPlainObject(n)?n:{},a[t]=w.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},w.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==c.call(e))&&(!(t=i(e))||"function"==typeof(n=f.call(t,"constructor")&&t.constructor)&&p.call(n)===d)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e){m(e)},each:function(e,t){var n,r=0;if(C(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(T,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(C(Object(e))?w.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r,i=[],o=0,a=e.length,s=!n;o<a;o++)(r=!t(e[o],o))!==s&&i.push(e[o]);return i},map:function(e,t,n){var r,i,o=0,s=[];if(C(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&s.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&s.push(i);return a.apply([],s)},guid:1,support:h}),"function"==typeof Symbol&&(w.fn[Symbol.iterator]=n[Symbol.iterator]),w.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()});function C(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!g(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}var E=function(e){var t,n,r,i,o,a,s,u,l,c,f,p,d,h,g,y,v,m,x,b="sizzle"+1*new Date,w=e.document,T=0,C=0,E=ae(),k=ae(),S=ae(),D=function(e,t){return e===t&&(f=!0),0},N={}.hasOwnProperty,A=[],j=A.pop,q=A.push,L=A.push,H=A.slice,O=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},P="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",I="\\["+M+"*("+R+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+M+"*\\]",W=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+I+")*)|.*)\\)|)",$=new RegExp(M+"+","g"),B=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),F=new RegExp("^"+M+"*,"+M+"*"),_=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),z=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),X=new RegExp(W),U=new RegExp("^"+R+"$"),V={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)Line truncated
+2
View File
@@ -0,0 +1,2 @@
/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}k.fn=k.prototype={jquery:f,constructor:k,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=k.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return k.each(this,e)},map:function(n){return this.pushStack(k.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:t.sort,splice:t.splice},k.extend=k.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||m(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(k.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||k.isPlainObject(n)?n:{},i=!1,a[t]=k.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},k.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==o.call(e))&&(!(t=r(e))||"function"==typeof(n=v.call(t,"constructor")&&t.constructor)&&a.call(n)===l)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t){b(e,{nonce:t&&t.nonce})},each:function(e,t){var n,r=0;if(d(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(p,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(d(Object(e))?k.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(d(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g.apply([],a)},guid:1,support:y}),"function"==typeof Symbol&&(k.fn[Symbol.iterator]=t[Symbol.iterator]),k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var h=function(n){var e,d,b,o,i,h,f,g,w,u,l,T,C,a,E,v,s,c,y,k="sizzle"+1*new Date,m=n.document,S=0,r=0,p=ue(),x=ue(),N=ue(),A=ue(),D=function(e,t){return e===t&&(l=!0),0},j={}.hasOwnProperty,t=[],q=t.pop,L=t.push,H=t.push,O=t.slice,P=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",I="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",W="\\["+M+"*("+I+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+M+"*\\]",$=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+W+")*)|.*)\\)|)",F=new RegExp(M+"+","g"),B=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),_=new RegExp("^"+M+"*,"+M+"*"),z=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+Line truncated
-12
View File
@@ -1,12 +0,0 @@
/*!
* VERSION: 1.7.5
* DATE: 2015-02-26
* UPDATES AND DOCS AT: http://greensock.com
*
* @license Copyright (c) 2008-2015, GreenSock. All rights reserved.
* This work is subject to the terms at http://greensock.com/standard-license or for
* Club GreenSock members, the software agreement that was issued with your membership.
*
* @author: Jack Doyle, jack@greensock.com
**/
var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";var t=document.documentElement,e=window,i=function(i,r){var s="x"===r?"Width":"Height",n="scroll"+s,a="client"+s,o=document.body;return i===e||i===t||i===o?Math.max(t[n],o[n])-(e["inner"+s]||t[a]||o[a]):i[n]-i["offset"+s]},r=_gsScope._gsDefine.plugin({propName:"scrollTo",API:2,version:"1.7.5",init:function(t,r,s){return this._wdw=t===e,this._target=t,this._tween=s,"object"!=typeof r&&(r={y:r}),this.vars=r,this._autoKill=r.autoKill!==!1,this.x=this.xPrev=this.getX(),this.y=this.yPrev=this.getY(),null!=r.x?(this._addTween(this,"x",this.x,"max"===r.x?i(t,"x"):r.x,"scrollTo_x",!0),this._overwriteProps.push("scrollTo_x")):this.skipX=!0,null!=r.y?(this._addTween(this,"y",this.y,"max"===r.y?i(t,"y"):r.y,"scrollTo_y",!0),this._overwriteProps.push("scrollTo_y")):this.skipY=!0,!0},set:function(t){this._super.setRatio.call(this,t);var r=this._wdw||!this.skipX?this.getX():this.xPrev,s=this._wdw||!this.skipY?this.getY():this.yPrev,n=s-this.yPrev,a=r-this.xPrev;this._autoKill&&(!this.skipX&&(a>7||-7>a)&&i(this._target,"x")>r&&(this.skipX=!0),!this.skipY&&(n>7||-7>n)&&i(this._target,"y")>s&&(this.skipY=!0),this.skipX&&this.skipY&&(this._tween.kill(),this.vars.onAutoKill&&this.vars.onAutoKill.apply(this.vars.onAutoKillScope||this._tween,this.vars.onAutoKillParams||[]))),this._wdw?e.scrollTo(this.skipX?r:this.x,this.skipY?s:this.y):(this.skipY||(this._target.scrollTop=this.y),this.skipX||(this._target.scrollLeft=this.x)),this.xPrev=this.x,this.yPrev=this.y}}),s=r.prototype;r.max=i,s.getX=function(){return this._wdw?null!=e.pageXOffset?e.pageXOffset:null!=t.scrollLeft?t.scrollLeft:document.body.scrollLeft:this._target.scrollLeft},s.getY=function(){return this._wdw?null!=e.pageYOffset?e.pageYOffset:null!=t.scrollTop?t.scrollTop:document.body.scrollTop:this._target.scrollTop},s._kill=function(t){return t.scrollTo_x&&(this.skipX=!0),t.scrollTo_y&&(this.skipY=!0),this._super._kill.call(this,t)}}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()();
+217 -183
View File
@@ -1,189 +1,179 @@
'use strict';
"use strict";
/**
* App
* Driving application.
*/
function App(api,parameters) {
this._elem = window;
this._html = document.getElementsByTagName('html')[0];
this._body = document.body;
this._elem.addEventListener('load',this._onLoad.bind(this),false);
function App(api, parameters) {
this._elem = window;
this._html = document.getElementsByTagName("html")[0];
this._body = document.body;
this._elem.addEventListener("load", this._onLoad.bind(this), false);
}
App.prototype._onLoad = function() {
// Hero button
this._button = document.getElementsByClassName('hero')[0].getElementsByClassName('button')[0];
// Header animation setup
this._points = [];
this._lines = [];
// To top button
this._toTop = document.getElementsByClassName('to-top')[0];
this._isVisible = false;
Array.prototype.slice.call(document.getElementsByClassName("shape")[0].getElementsByTagName("div"), 0).forEach(function(point, i) {
const p = new Point(point);
this._points.push(p);
// Header animation setup
this._points = [];
this._lines = [];
Array.prototype.slice.call(document.getElementsByClassName('shape')[0].getElementsByTagName('div'),0).forEach(function(point,i){
var p = new Point(point);
this._points.push(p);
var path = document.getElementsByTagName('path')[i];
var index = parseFloat(path.getAttribute('data-from'));
var origin = {x:window.innerWidth*0.4,y:0};
var from = index < 0 ? origin:this._points[index].getOffset();
var to = this._points[i].getOffset();
var l = new Line(path,from,to);
this._lines.push(l);
},this);
const path = document.getElementsByTagName("path")[i];
const index = parseFloat(path.getAttribute("data-from"));
// Section how
this._how = document.getElementsByClassName('how')[0];
this._percent = 0;
this._offset = 100;
this._journey = this._how.getElementsByClassName('journey')[0];
this._steps = Array.prototype.slice.call(this._how.getElementsByClassName('step'),0);
this._start = this._how.offsetTop - this._how.scrollTop - window.innerHeight / 2 - this._offset;
this._end = this._start + window.innerHeight / 2;
const origin = {
x: window.innerWidth * 0.4,
y: 0
};
// XHR request
this._getDataFromCoinMarketCap();
const from = index < 0 ?
origin :
this._points[index].getOffset();
// Binding events
this._bindEvents();
const to = this._points[i].getOffset();
const l = new Line(path, from, to);
this._lines.push(l);
}, this);
// Section how
this._how = document.getElementsByClassName("yt-how")[0];
this._percent = 0;
this._offset = 100;
this._journey = this._how.getElementsByClassName("journey")[0];
this._steps = Array.prototype.slice.call(this._how.getElementsByClassName("step"), 0);
this._start = this._how.offsetTop - this._how.scrollTop - window.innerHeight / 2 - this._offset;
this._end = this._start + window.innerHeight / 2;
// XHR request
this._getDataFromCoinMarketCap();
// Binding events
this._bindEvents();
};
App.prototype._getDataFromCoinMarketCap = function(e) {
this._xhr = new XMLHttpRequest();
this._xhr.addEventListener('readystatechange',this._onReadyStateChange.bind(this),false);
this._xhr.open('GET','https://api.lbry.com/lbc/exchange_rate');
this._xhr.send();
this._xhr = new XMLHttpRequest();
this._xhr.addEventListener("readystatechange", this._onReadyStateChange.bind(this), false);
this._xhr.open("GET", "https://api.lbry.com/lbc/exchange_rate");
this._xhr.send();
};
App.prototype._onReadyStateChange = function(e) {
if (this._xhr.readyState === 4) {
if (this._xhr.status === 200) {
const response = JSON.parse(this._xhr.responseText);
const lines = Array.prototype.slice.call(document.getElementsByClassName('line'),0);
const price = parseFloat(response.data.lbc_usd);
if (this._xhr.readyState === 4) {
if (this._xhr.status === 200) {
const response = JSON.parse(this._xhr.responseText);
const lines = document.querySelectorAll("[data-id*='amount-']");
const price = parseFloat(response.data.lbc_usd);
lines.forEach(function(line) {
const subscriber = line.getElementsByTagName('p')[0];
const monthly = line.getElementsByTagName('p')[1];
const amount = line.getElementsByTagName('p')[2];
const total = parseFloat(monthly.innerHTML.replace(new RegExp(',', 'g'), '')) * price;
lines.forEach(function(line) {
const amount = line.dataset.id.split("-")[1];
const total = amount * price;
amount.innerHTML = this._addCommas(total.toFixed(2)) + ' <i>USD</i>';
},this);
line.innerHTML = this._addCommas(total.toFixed(2)) + " <small class='meta'>USD</small>";
}, this);
document.getElementsByClassName('current-value')[0].innerHTML = "(" + price.toFixed(4) + " USD)";
}
document.getElementsByClassName("current-value")[0].innerHTML = `(${price.toFixed(4)} USD)`;
}
}
};
App.prototype._addCommas = function(nStr) {
nStr += '';
var x = nStr.split('.');
var x1 = x[0];
var x2 = x.length > 1 ? '.' + x[1] : '';
var rgx = /(\d+)(\d{3})/;
while (rgx.test(x1)) {
x1 = x1.replace(rgx, '$1' + ',' + '$2');
}
return x1 + x2;
nStr += "";
const rgx = /(\d+)(\d{3})/;
const x = nStr.split(".");
const x2 = x.length > 1 ?
"." + x[1] :
"";
let x1 = x[0];
while (rgx.test(x1))
x1 = x1.replace(rgx, "$1" + "," + "$2");
return x1 + x2;
};
App.prototype._bindEvents = function() {
var click = 'ontouchstart' in document ? 'touchstart':'click';
this._button.addEventListener(click,this._goToContent.bind(this),false);
this._toTop.addEventListener(click,this._goToTop.bind(this),false);
TweenMax.ticker.addEventListener('tick',this._onTick.bind(this));
this._elem.addEventListener('resize',this._onResize.bind(this),false);
};
App.prototype._goToContent = function() {
TweenMax.to(this._elem,0.8,{scrollTo:window.innerHeight});
};
App.prototype._goToTop = function() {
TweenMax.to(this._elem,0.8,{scrollTo:0});
};
App.prototype._onTick = function() {
// Header animation
this._points.forEach(function(point,i) {
var line = this._lines[i];
var path = line.getElement();
var index = parseFloat(path.getAttribute('data-from'));
var origin = {x:window.innerWidth*0.4,y:0};
var from = index < 0 ? origin:this._points[index].getOffset();
var to = point.getOffset();
line.draw(from,to);
},this);
// Get current scroll y position
var current = window.scrollY || document.documentElement.scrollTop || document.body.scrollTop;
// To top animation
if (current >= window.innerHeight) {
if (!this._isVisible) {
this._isVisible = true;
TweenMax.to(this._toTop,0.4,{autoAlpha:1,ease:Quint.easeOut});
}
} else {
if (this._isVisible) {
this._isVisible = false;
TweenMax.to(this._toTop,0.4,{autoAlpha:0,ease:Quint.easeOut});
}
}
// How section animation on scroll
if (window.innerWidth > 1024) {
var percent;
if (current <= this._start) {
percent = 0;
} else if (current >= this._end) {
percent = 100;
} else {
percent = (current-this._start) / (window.innerHeight / 2) * 100;
}
this._percent += (percent - this._percent) * 0.1;
if (this._percent < 0.1) {
this._percent = 0;
} else if (this._percent > 99.9) {
this._percent = 100;
}
TweenLite.set(this._journey,{width:this._percent+'%'});
this._steps.forEach(function(step) {
var enableAt = parseFloat(step.getAttribute('data-enable'));
if (this._percent > enableAt) {
if (step.className.indexOf('enabled') !== -1) {
step.className = step.className.replace(' enabled','');
}
} else {
if (step.className.indexOf('enabled') === -1) {
step.className += ' enabled';
}
}
},this);
} else {
this._steps.forEach(function(step) {
if (step.className.indexOf('enabled') === -1) {
step.className += ' enabled';
}
},this);
}
TweenMax.ticker.addEventListener("tick", this._onTick.bind(this));
this._elem.addEventListener("resize", this._onResize.bind(this), false);
};
App.prototype._onResize = function() {
this._points.forEach(function(point,i) {
point.resetOrigin();
},this);
this._start = this._how.offsetTop - this._how.scrollTop - window.innerHeight / 2 - this._offset;
this._end = this._start + window.innerHeight / 2;
this._points.forEach(function(point, i) {
point.resetOrigin();
}, this);
this._start = this._how.offsetTop - this._how.scrollTop - window.innerHeight / 2 - this._offset;
this._end = this._start + window.innerHeight / 2;
};
App.prototype._onTick = function() {
// Header animation
this._points.forEach(function(point, i) {
const line = this._lines[i];
const path = line.getElement();
const index = parseFloat(path.getAttribute("data-from"));
const origin = {
x: window.innerWidth * 0.4,
y: 0
};
const from = index < 0 ?
origin :
this._points[index].getOffset();
const to = point.getOffset();
line.draw(from, to);
}, this);
// Get current scroll y position
const current = window.scrollY || document.documentElement.scrollTop || document.body.scrollTop;
// How section animation on scroll
if (window.innerWidth > 1024) {
let percent;
if (current <= this._start) {
percent = 0;
} else if (current >= this._end) {
percent = 100;
} else {
percent = (current-this._start) / (window.innerHeight / 2) * 100;
}
this._percent += (percent - this._percent) * 0.1;
if (this._percent < 0.1)
this._percent = 0;
else if (this._percent > 99.9)
this._percent = 100;
TweenLite.set(this._journey, {
width: this._percent + "%"
});
this._steps.forEach(function(step) {
const enableAt = parseFloat(step.getAttribute("data-enable"));
if (this._percent > enableAt) {
if (step.className.indexOf("enabled") !== -1)
step.className = step.className.replace(" enabled", "");
} else {
if (step.className.indexOf("enabled") === -1)
step.className += " enabled";
}
}, this);
} else {
this._steps.forEach(function(step) {
if (step.className.indexOf("enabled") === -1)
step.className += " enabled";
}, this);
}
};
@@ -193,57 +183,101 @@ App.prototype._onResize = function() {
* Header animation
*/
function Point(elem) {
this._elem = elem;
this._originX = this._elem.offsetLeft - this._elem.scrollLeft + this._elem.offsetWidth / 2;
this._originY = this._elem.offsetTop - this._elem.scrollTop + this._elem.offsetHeight / 2;
this._x = 0;
this._y = 0;
if (this._elem.className.indexOf('circle') !== -1) {
this._move();
}
this._elem = elem;
this._originX = this._elem.offsetLeft - this._elem.scrollLeft + this._elem.offsetWidth / 2;
this._originY = this._elem.offsetTop - this._elem.scrollTop + this._elem.offsetHeight / 2;
this._x = 0;
this._y = 0;
if (this._elem.className.indexOf("circle") !== -1)
this._move();
}
Point.prototype._move = function() {
var distance = 20;
TweenLite.to(this._elem,3+3*Math.random(),{x:-distance+Math.random()*(distance*2),y:-distance+Math.random()*(distance*2),ease:Power2.easeOutIn,onUpdate:this._onUpdate,onUpdateScope:this,onComplete:this._move,onCompleteScope:this});
const distance = 20;
TweenLite.to(this._elem, 3 + 3 * Math.random(), {
x: -distance + Math.random() * (distance * 2),
y: -distance + Math.random() * (distance * 2),
ease: Power2.easeOutIn,
onUpdate: this._onUpdate,
onUpdateScope: this,
onComplete: this._move,
onCompleteScope: this
});
};
Point.prototype._onUpdate = function() {
this._x = this._elem._gsTransform.x;
this._y = this._elem._gsTransform.y;
this._x = this._elem._gsTransform.x;
this._y = this._elem._gsTransform.y;
};
Point.prototype.getOffset = function() {
return {
x: this._originX + this._x,
y: this._originY + this._y
}
return {
x: this._originX + this._x,
y: this._originY + this._y
}
};
Point.prototype.resetOrigin = function() {
this._originX = this._elem.offsetLeft - this._elem.scrollLeft + this._elem.offsetWidth / 2;
this._originY = this._elem.offsetTop - this._elem.scrollTop + this._elem.offsetHeight / 2;
this._originX = this._elem.offsetLeft - this._elem.scrollLeft + this._elem.offsetWidth / 2;
this._originY = this._elem.offsetTop - this._elem.scrollTop + this._elem.offsetHeight / 2;
};
/**
* Line
* Header animation
*/
function Line(elem,from,to) {
this._elem = elem;
this.draw(from,to);
function Line(elem, from, to) {
this._elem = elem;
this.draw(from,to);
}
Line.prototype.getElement = function() {
return this._elem;
return this._elem;
};
Line.prototype.draw = function(from,to) {
this._elem.setAttribute('d','M '+from.x+','+from.y+' L '+to.x+','+to.y);
Line.prototype.draw = function(from, to) {
this._elem.setAttribute("d", "M " + from.x + "," + from.y + " L " + to.x + "," + to.y);
};
// Let's start :)
var app = new App();
new App();
// Clicking CTAs introduces a smooth scroll to the appropriate section
const youtubeCtas = document.querySelectorAll("[data-id='scroll-to-claim']");
youtubeCtas.forEach(cta => {
cta.onclick = () => {
const element = document.getElementById("claim-section");
const elementOffset = element.offsetTop - 2;
window.scroll({ top: elementOffset, behavior: "smooth" });
setTimeout(() => { // give the scroll time to finish before focusing
document.getElementById("lbry_channel_name").focus();
}, 300);
};
});
// Scroll to error messages if they exist
window.addEventListener("load", (event) => {
const youtubeErrors = document.querySelectorAll(".error-block");
youtubeErrors.forEach(error => {
if (!error.hidden) {
const errorDivOffset = error.offsetTop;
window.scroll({ top: errorDivOffset });
return;
}
});
});
Loaded 100 of 108 files, more files were not shown because too many files have changed in this diff. Show more