Commit graph

3210 commits

Author SHA1 Message Date
DispatchCommit a2046be0ee Make dropdown menus actually dropdown 2021-01-27 10:05:02 -05:00
Dispatch 4cf9a455bc
add autoplay logic for embedded player (#5399)
Add autoplay logic when player is embedded.

Adds new `autoplay` prop to `VideoJs` component for specifying autoplay value.
2021-01-27 08:49:30 -05:00
zeppi d04b0f09ba fix ad areas and drivers 2021-01-26 19:39:22 -05:00
Daniela Narvaez e9d28918cd Add type definition for new prop in comment component 2021-01-26 16:34:50 -05:00
Daniela Narvaez 0a2f9fa0be Fixing inline videos in comments 2021-01-26 16:34:50 -05:00
Franco Montenegro 10a83bbfe9 Fix first claim nsfw result being hidden even if nsfw is enabled 2021-01-26 16:31:01 -05:00
Sean Yesmunt 3d58c4eca6 fix typo 2021-01-26 11:19:18 -05:00
DispatchCommit 52f883be4e fix linting errors 2021-01-26 11:00:41 -05:00
DispatchCommit ee28648852 remove console.log statements 2021-01-26 11:00:41 -05:00
DispatchCommit d8564cda5a hack-y solution to losing player context
use a global window variable to store the reference to the current video.js instance.
2021-01-26 11:00:41 -05:00
DispatchCommit 68ae2d571f only react to source prop updates 2021-01-26 11:00:41 -05:00
DispatchCommit 7c8383f2dc attempt to persist a single video.js instance
Continually recreating video.js instance on render is bad.
Instead, persist a single instance, and simply update the source and poster on the existing instance.
2021-01-26 11:00:41 -05:00
infiinte-persistence 912489cce0 Make zoom level persistent on Desktop
- uses local storage.
- for 'web', the browser is already handling that.
2021-01-26 10:20:59 -05:00
Sean Yesmunt 0c8c4938d9 move channel selection to top of publish form 2021-01-25 17:51:58 -05:00
Sean Yesmunt 6903836ebe add 'immediately spendable' balance on header balance hover 2021-01-25 14:24:57 -05:00
Sean Yesmunt 7152f9b04f call install/new after users select privacy options 2021-01-25 14:24:57 -05:00
Sean Yesmunt d7f95ddd43 fix desktop build 2021-01-25 14:24:57 -05:00
Sean Yesmunt 513e239771 encode embed url too 2021-01-25 13:58:12 -05:00
Sean Yesmunt 26ece81da8 manually encode ' because encodeURIComponent doesn't encode it 2021-01-25 13:58:12 -05:00
zeppi 2adfa8b6b6 sync again 2021-01-25 10:39:40 -05:00
infiinte-persistence 855d13e735 Add "t" as shortcut for Theather Mode 2021-01-25 10:38:25 -05:00
zeppi a8a26fabd8 simplesite always ads
theme based related ads

test ad layout

logic
2021-01-24 17:32:51 -05:00
zeppi 61ace3566a gads on master 2021-01-23 12:57:09 -05:00
Sean Yesmunt 8552515e34 string cleanup + add available balance to publish/channel create 2021-01-22 11:46:27 -05:00
Jeremy Kauffman 18f1f983ae contribute -> boost 2021-01-22 11:46:27 -05:00
Jeremy Kauffman 79a85db7e4 potential language changes 2021-01-22 11:46:27 -05:00
Sean Yesmunt 5420a6a887 show total balance on wallet page/header 2021-01-22 11:46:27 -05:00
jessopb 2f1fae23cf
vanity referrals (#5353) 2021-01-22 10:47:21 -05:00
infiinte-persistence b767fc4db1 Fix 'Annoymous Reposted' split string. 2021-01-21 14:31:31 -05:00
infiinte-persistence 2bf4a96d09 String fix for 'Support Repost'
- Added to json
- Don't need the context note for this case.
2021-01-21 14:31:31 -05:00
DispatchCommit bb3354581a fix overrideNative option for vjs
resolves https://github.com/lbryio/lbry-desktop/issues/5323
2021-01-20 21:49:08 -05:00
Sean Yesmunt 21cbb64001 Revert "Add Chromecast support on Google Chrome."
This reverts commit 65ce47a7d1.
2021-01-20 15:14:00 -05:00
Sean Yesmunt c166060f0d Revert "Pass the title and channel name to Chromecast."
This reverts commit bb828385d0.
2021-01-20 15:14:00 -05:00
zeppi 6ed103b33f shorter timeout 2021-01-19 13:41:10 -05:00
zeppi a2d93bc7cc fix embed loading hang 2021-01-19 13:41:10 -05:00
infiinte-persistence bb828385d0 Pass the title and channel name to Chromecast.
I'm a bit wary of adding props to this component due to the 'dispose' call, but I think 'source' and 'claim' will update together, so it shouldn't be an issue?
2021-01-19 10:29:28 -05:00
infiinte-persistence 65ce47a7d1 Add Chromecast support on Google Chrome. 2021-01-19 10:29:28 -05:00
infiinte-persistence 95b4f89e50 Make 'playback rate' persistent
## Issue
5308: Ability to choose default play speed and theatre mode or regular playback size

## Comments
Initially, I used the local storage, as per 'muted' and 'volume' -- I thought that would be appropriate.
Later, I saw that Theater Mode is already using Client Settings, so I re-did everything to match that.

Also, there is an accompanying commit in lbyr-redux.
2021-01-19 10:16:46 -05:00
zeppi a8cc17624c make clear supporting repost 2021-01-15 10:43:27 -05:00
zeppi 6211c243dd support repost bugfix 2021-01-15 10:43:27 -05:00
zeppi ccd13f2233 put auth in progress back with timeout 2021-01-15 10:40:34 -05:00
Sean Yesmunt 80a7cbe16f add quality selector to transcoded videos 2021-01-15 10:34:41 -05:00
Sean Yesmunt ee0bdf3a82 encode claim name in embed url 2021-01-14 11:48:42 -05:00
Sean Yesmunt 72ac5a5437 encode share url parts 2021-01-14 11:48:42 -05:00
Franco Montenegro d9b8f0310a Fix nsfw parameter in search page 2021-01-13 14:56:12 -05:00
zeppi 93834fb281 redirect to source after repost 2021-01-13 12:47:46 -05:00
Sean Yesmunt 45bc5182ce don't call sync/set for exisitng users that signed in in a different tab
this was causing users to lose their subs before the page refreshed
2021-01-13 11:59:36 -05:00
zeppi 5435dc88d4 langmig 2021-01-13 11:11:58 -05:00
jessopb e94d4bcd28
repost ui (#5293) 2021-01-13 10:44:44 -05:00
Sean Yesmunt 55182e0b94 remove bad CSS rules 2021-01-13 10:25:40 -05:00
zeppi 554ca1a4f4 two digits and up smaller notif bubble txt 2021-01-12 10:12:28 -05:00
zeppi eac7e100cc notifications 20+ 2021-01-12 10:12:28 -05:00
jessopb 6cb2377266
Merge pull request #5296 from lbryio/authInProgressTemp
disable authinprogress for now
2021-01-11 18:40:48 -05:00
zeppi ae032cb557 disable authinprogress for now 2021-01-11 18:39:54 -05:00
zeppi 68de0a8107 language map fix 2021-01-11 18:14:42 -05:00
Sean Yesmunt 65709e1139 Revert "Fix nsfw parameter in search page"
This reverts commit 4f1bd23442.
2021-01-11 15:01:40 -05:00
Sean Yesmunt 148fa4f4cd call user/signout on signout
fixes sync issues for users with multiple accounts signed in to multiple tabs
2021-01-11 14:31:01 -05:00
Franco Montenegro 4f1bd23442 Fix nsfw parameter in search page 2021-01-11 10:32:14 -05:00
zeppi 72945b45c5 cleaner 2021-01-11 10:30:26 -05:00
zeppi 6fb345dbbc zh languages
bugfix

bugfix3

publish

add zh back for homepage selector

test

revert i18n file

DRY publish language
2021-01-11 10:30:26 -05:00
Sean Yesmunt b65934cc7f fix reposts not showing up as winning claim in search suggestions 2021-01-08 09:31:25 -07:00
Sean Yesmunt d43c4d053e add video theater mode button 2021-01-08 08:27:41 -07:00
Franco Montenegro b43593a996 When a new reward is acquired, only close modals if the reward comes from reward_code 2021-01-08 08:16:41 -07:00
Daniela Narvaez a65162c204 Change list style in comments to be inside. 2021-01-08 08:10:43 -07:00
Sean Yesmunt eb398c419a turn it back on but head 2021-01-06 23:03:23 -05:00
Sean Yesmunt d92f6d3e18 comment out redirect handling for transcoded streams 2021-01-06 18:40:38 -05:00
Thomas Zarebczan 09decf796a
String! 2021-01-06 01:28:16 -05:00
zeppi 65d524dfdf buffer id 2021-01-05 16:29:04 -05:00
jessopb f538ab3670
Merge pull request #5259 from lbryio/feat-consolidateUtxosRebase
Feat consolidate utxos rebase
2021-01-05 14:33:45 -05:00
zeppi 1b3bc0f4e3 support consolidating txos
improvements

actual values

bump

bump

devtools revert

bugfix

bump
2021-01-05 12:38:55 -05:00
Sean Yesmunt 2436c3eb70 add extra check for video source response 2021-01-04 15:19:54 -05:00
Sean Yesmunt f59cdb1929 fix for hls support 2021-01-04 15:04:36 -05:00
Sean Yesmunt 3317d32ae2 fix weird search suggestion behavior 2020-12-30 23:03:46 -05:00
infiinte-persistence d0f42ce6b3 Desktop: Enable 'Alt+Left/Right' for history navigation.
## Why
- Consistent behavior across Web and Desktop.
2020-12-30 14:55:24 -05:00
infiinte-persistence cbac21746f FloatingPlayer: Fix close button not working when AutoplayCountdown is visible.
## Issue
5221: floating player won't close during autoplay countdown

## Change
Change the z-index when hover to ensure it is really on top of everything.
2020-12-30 14:35:11 -05:00
zeppi e4eb8f4a26 review test 2020-12-28 15:00:15 -05:00
zeppi ad420670a7 changes, bump 2020-12-28 15:00:15 -05:00
zeppi 30a9bb010f show loading while searching
fixes

bump

bump
2020-12-28 15:00:15 -05:00
Sean Yesmunt a8cb4d7d57 update videojs import to include http-streaming module
so we can support hls streams
2020-12-28 13:44:38 -05:00
zeppi 5fa57e1859 no resolve undefined pls 2020-12-28 13:16:37 -05:00
zeppi 91f25abf2c email spam reminder 2020-12-23 16:51:41 -05:00
zeppi cbe4cb1cf1 i18n homepage sections 2020-12-23 09:45:45 -05:00
zeppi 3de290f04f fix search 2020-12-22 14:11:07 -05:00
Sean Yesmunt 53d3efe895 update youtube sync text for channels that don't qualify 2020-12-21 22:12:21 -05:00
Sean Yesmunt a0123c2a6f fix earnings per view style 2020-12-21 22:12:21 -05:00
Baltazar Gomez a09216da76 remove typo 2020-12-21 14:08:52 -05:00
btzr-io 35653bb115 prevent front-matter render on markdown 2020-12-21 14:08:52 -05:00
infiinte-persistence 49abbecbd7 mobile-ui: Fix missing chromecast button in Android-Chrome
## Issue:
5119 "Video: Mobile UI + overlay for keyboard shortcut feedback" was disabled because the feature broke the chromecast button in Android Chrome
2020-12-21 12:15:45 -05:00
infiinte-persistence 4a4247180f Revert "comment out mobileUI function until chromecast bug is fixed"
This reverts commit d8c4ff62cb.
2020-12-21 12:15:45 -05:00
infiinte-persistence 4b03a30121 Fix initial pause state for the Autoplay Countdown
## Issue
5204: Don't autoplay when commenting/video off screen

## Change
Previously, the checking was only done during a scroll event. We also need to check if the user has already scroll down before the component was invoked.
2020-12-21 12:14:31 -05:00
infiinte-persistence 0d374725d6 i18n update 2020-12-21 12:11:59 -05:00
Sean Yesmunt 5d1b1f5293 update placeholder 2020-12-21 10:36:55 -05:00
Sean Yesmunt 187cbd9695 fix doSetPlayingUri arguments 2020-12-21 10:31:34 -05:00
infiinte-persistence a0ec5097d9 Enable tile layout for 'Your Tags' page
## Why
- Something I miss every time I switch to lbry.tv.
- Consistent with other search pages like Discover.
2020-12-18 14:02:50 -05:00
infiinte-persistence 4760f00050 Fix "Not Now"
## Issue:
https://discord.com/channels/362322208485277697/646840786662719488/788694493532520458

## Change:
It's either adding the non-capitalized "Not now" to the list, or change the usage to "Not Now".

Chose the latter since the rest of the modal (and other usage) is using the capitalized format.
2020-12-18 14:02:18 -05:00
infiinte-persistence 267c019d7a Timestamp: Handle Safari + better parsing
## Issue
- The previous regex uses lookback (I think ES2018?) which Safari has yet to implement.
- There were a few bugs in the previous regex too, like missing out multiple timestamps in a line, or parsing "62:02" as "2:02" (although YT does this as well).
- The previous method searched too deep (matchAll) on each 'locate' call, which was wasteful.
2020-12-18 11:35:47 -05:00
infiinte-persistence 897128a168 Restore "Handle timestamp in Markdown."
This reverts the revertion in:
- 85f8965d44.
- d3f0e471e5.
2020-12-18 11:35:47 -05:00
Sean Yesmunt b9f8fd73f1 fix sidebar for mobile 2020-12-17 13:55:58 -05:00
Sean Yesmunt 77739c971a slightly improve mobile style on top page 2020-12-16 14:58:30 -05:00
Sean Yesmunt 047e84ac8c winning claim style pass 2020-12-16 14:58:30 -05:00