Commit graph

63 commits

Author SHA1 Message Date
Sean Yesmunt
f59cdb1929 fix for hls support 2021-01-04 15:04:36 -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
infinite-persistence
04fbde49ec
Video: Mobile UI + overlay for keyboard shortcut feedback (#5119)
Co-authored-by: import <>
2020-12-14 11:40:59 -05:00
Sean Yesmunt
495cf89a38 remove overflow: auto but keep width the same 2020-12-07 11:47:19 -05:00
Electron - Mark Firth
459a4752ed Wider Post Area
Wider post area for bigger text, while keeping the character count the same or less.
Removed `overflow: auto;` as it was not required and was creating unnecessary scrollbars when margins were incorrectly calculated.
2020-12-07 11:47:19 -05:00
infiinte-persistence
e12506feef videojs: Squeeze in 'playback rate' button for Mobile Portrait.
## Issue
- Personally annoyed of having to switch to landscape just to change the setting. There's still space for it.
- This serves as a quick fix until "4712: Video: Allow access to all control in small screen" is figured out
2020-11-23 13:05:58 -05:00
infiinte-persistence
00350fec80 Hide mouse cursor when video is playing
## Issue:
5044: Auto hide cursor on video on static hover

## Approach
The existing code only hides the cursor when playing in fullscreen. Extend that to normal mode as well.

## Extra
Add in few new strings
2020-11-17 12:53:01 -05:00
Sean Yesmunt
68b1a0971c Revert "remove unused style"
This reverts commit 57a69be7e8.
2020-11-02 17:15:02 -05:00
Sean Yesmunt
57a69be7e8 remove unused style 2020-10-29 17:02:40 -04:00
Sean Yesmunt
295b8cf2e1 refactor floatingUri to allow inline players in comments/markdown 2020-10-21 15:29:29 -04:00
Sean Yesmunt
d9acb034e1 odysee alignment 2020-10-05 14:55:52 -04:00
Sean Yesmunt
a92a3305b1 align FileActions with odysee style 2020-09-30 17:00:18 -04:00
Sean Yesmunt
83a6589cd0 new lbc icon 2020-09-29 17:12:32 -04:00
Sean Yesmunt
2db2b870ff fix document layout and remove WaitUntilOnPage wrapper for related content 2020-08-12 11:47:00 -04:00
Sean Yesmunt
692862c769 collapsable sidebar initial commit 2020-08-11 17:04:14 -04:00
Sean Yesmunt
da7b331760 style cleanup 2020-07-09 14:49:36 -04:00
infiinte-persistence
145acda9cc [mobile] show "time left/progress" on video player bar
## Fixes:
4220

## Changes:
For `vjs-layout-small`, there is still space to display the said controls. This layout covers devices like Galaxy S5 up to Nexus 6P.

For layouts smaller that that (e.g. 'vjs-layout-xsmall'), they will remain hidden.
2020-07-01 11:20:26 -04:00
Sean Yesmunt
c45e5c751e use css variables for button placement 2020-06-16 17:14:22 -04:00
infiinte-persistence
a20ea08ac7 Show "unmute" option on videos automatically muted by browser.
Implementation:
- The code is placed in <VideoJs> instead of <VideoViewer> as we need to control the video itself. It's more self-contained here, rather than trying to pass refs around between parent and child.
- useState cannot be used as it will cause a re-render when the hint it clicked and dismissed. The DOM is used to hide the button.
2020-06-16 17:14:22 -04:00
Sean Yesmunt
44cfe25ac2 fix height for embedded content 2020-06-12 17:41:26 -04:00
Sean Yesmunt
e7cdd6c13d moonpay 2020-06-03 14:16:43 -04:00
Sean Yesmunt
68e687ee6e moar improvements 2020-05-26 14:42:44 -04:00
Sean Yesmunt
03518c8a5a show price on embeds in markdown 2020-05-22 16:48:24 -04:00
Sean Yesmunt
8d888d3e23 improve floating behavior when coming from embeds 2020-04-30 15:13:45 -04:00
Sean Yesmunt
49275c298a embeds style fixes 2020-04-30 11:06:06 -04:00
Jeremy Kauffman
6b02805645 fix play button on embed end 2020-04-30 10:37:39 -04:00
Sean Yesmunt
1a50e697ce embed functionality inside markdown posts 2020-04-30 10:13:01 -04:00
Sean Yesmunt
ad6d36f2e0 add back embed title background 2020-04-29 17:45:43 -04:00
Sean Yesmunt
52f704fa0f prevent long titles from overlapping logo in embeds 2020-04-29 14:35:55 -04:00
Sean Yesmunt
dd4cd9314c style fixes 2020-04-29 11:00:42 -04:00
Sean Yesmunt
767c69e132 cleanup and fix flow issues 2020-04-29 11:00:42 -04:00
Sean Yesmunt
0754bb1a7f hide double video controls on ios 2020-04-29 11:00:42 -04:00
Sean Yesmunt
04ee4afdc2 test with promise.race 2020-04-29 11:00:42 -04:00
Jeremy Kauffman
49128322d5 consistent styling 2020-04-29 11:00:42 -04:00
Jeremy Kauffman
6c8b0b2d68 maybe ready 2020-04-29 11:00:42 -04:00
Jeremy Kauffman
793f622d8d semi-broken 2020-04-29 11:00:42 -04:00
Baltazar Gomez
a76f59999e set max-height of viewer 2020-04-27 14:27:04 -04:00
btzr-io
e4d822f818 Fix and enable 3D viewer: #4035
Fix 3d viewer styles

Fix minor warnings from three.js

Remove deprecated themes

Fix #4074
2020-04-27 14:27:04 -04:00
btzr-io
8b6c644415 fix comic book viewer styles: #4035 2020-04-27 10:00:08 -04:00
Jeffrey Fisher
3c6469f388 Show elapsed/total instead of the
countdown to the end in video player.

Closes #3813
2020-04-23 10:58:42 -04:00
Jeffrey Fisher
6a68558d4e Make images scale properly in lbry.tv.
Closes #3948
2020-04-14 12:48:04 -04:00
Sean Yesmunt
90024fc7ea fix button styles 2020-04-01 15:36:59 -04:00
Jeremy Kauffman
872259b73a
File downloads and refactoring (#3918)
* am I done?

* post diff

* unused selector cleanup

* missed commit

* mess with button styles

* fix flow

Co-authored-by: Jeremy Kauffman <jeremy@lbry.io>
Co-authored-by: Sean Yesmunt <sean@lbry.io>
2020-04-01 14:43:50 -04:00
Sean Yesmunt
cc7c69eb25 embed improvements 2020-03-27 09:59:07 -04:00
Sean Yesmunt
0015cd909e add back play button on pause for embedded videos 2020-03-26 10:26:55 -04:00
Sean Yesmunt
e24eaa3552 hide play button when paused on desktop 2020-03-23 12:00:48 -04:00
seanyesmunt
1434d13711 undo my change until I know that fixes it 2020-03-19 17:46:40 -04:00
seanyesmunt
2d56518ffe hide big play button when paused on desktop 2020-03-19 17:40:04 -04:00
Yamboy1
4220368d07 fix wrapping on code in mobile view 2020-02-28 09:28:17 -05:00
Michael Tunnell
e44eef8c21 fixed a variable conflict for embed play button
This fix addresses a problem with the color variable "var(--color-primary)" being used in the hover element. The output of the variable is not compatible with the rgba modification from the previous code. This commit fixes this bug in relation to Issue #3706
2020-02-20 16:21:43 -05:00