Commit graph

64 commits

Author SHA1 Message Date
btzr-io c19d04f83e fix comic-book content-type detection
always show viewer: fix #4141

minor improvements for loading indicator
2020-05-13 10:18:36 -04:00
btzr-io 036cf734c6 prevent state updates after component unmounted 2020-05-13 10:18:36 -04:00
Baltazar Gomez c8f21025d1 initial web support 2020-05-13 10:18:36 -04:00
Baltazar Gomez 1992e78c2e update comicbook viewer
- convert to functional component
- use hooks to load stream
2020-05-13 10:18:36 -04:00
Sean Yesmunt ff429117cd make sure player callback has access to latest desktop start time 2020-05-05 16:47:27 -04:00
Sean Yesmunt 96d9e24a4b fix time to start analytics for desktop and fix rewards link 2020-05-05 14:04:52 -04:00
Sean Yesmunt db51789e07 pass time in ms to analytics for view apis 2020-05-05 10:09:53 -04:00
Jeffrey Fisher 7ea9c1c199 Only save media position on pause or dispose, not every timeupdate, for performance reasons. 2020-05-01 10:14:29 -04:00
Jeffrey Fisher c1f74aba2e Save media position in video viewer
Closes #2775
2020-05-01 10:14:29 -04:00
Sean Yesmunt 1a50e697ce embed functionality inside markdown posts 2020-04-30 10:13:01 -04:00
Sean Yesmunt c9f5813b81 try twice when the first play fails from a timeout 2020-04-29 11:00:42 -04:00
Sean Yesmunt b61907ad22 update timeout 2020-04-29 11:00:42 -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 94a5dc47af adjust volume earlier 2020-04-29 11:00:42 -04:00
Jeremy Kauffman e23ae63c74 disable loading screen 2020-04-29 11:00:42 -04:00
Sean Yesmunt 4a6d9c7292 add log 2020-04-29 11:00:42 -04:00
Sean Yesmunt ad8cdd130f call play() programatically instead of using autoplay flag 2020-04-29 11:00:42 -04:00
Jeremy Kauffman 1a06ddca3b always restore player volume settings on first play 2020-04-29 11:00:42 -04:00
Jeremy Kauffman ab74052446 hackish change to get mute/volume reset working 2020-04-29 11:00:42 -04:00
Jeremy Kauffman c89b69f6fc callback player ready 2020-04-29 11:00:42 -04:00
Jeremy Kauffman 6c8b0b2d68 maybe ready 2020-04-29 11:00:42 -04:00
Sean Yesmunt 9db9363b9f fix unwanted re-renders 2020-04-29 11:00:42 -04:00
Jeremy Kauffman e4829c8ce1 broken demonstration 2020-04-29 11:00:42 -04:00
Jeremy Kauffman 793f622d8d semi-broken 2020-04-29 11:00:42 -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 e6a044d8e1 Fix flow error.
Partial fix for #2024
2020-04-21 17:12:31 -04:00
Jeffrey Fisher bfb2584970 Remove defaultExpand attribute so card is not collapsable 2020-04-21 17:07:56 -04:00
Jeffrey Fisher b786ba82ae First attempt to fix #3993. Show error message
if image is not able to be displayed by browser.
2020-04-21 17:07:56 -04:00
Baltazar Gomez 3d3223eab8 fix comicbook viewer 2020-04-16 12:22:19 -04:00
Sean Yesmunt 7218b78746 fetch continent cookie on server-side and clean up video effects 2020-04-08 15:12:22 -04:00
Sean Yesmunt 39102d81ca fix viewcount being fired before video starts playing 2020-04-06 15:34:49 -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
Thomas Zarebczan 829c2eac50 small fixes 2020-03-30 09:05:30 -04:00
Jeremy Kauffman ef4d8f5988 best 7 lines ever 2020-03-19 16:38:24 -04:00
Sean Yesmunt 3eae6f8fdf temporarily disable lbry-format apps 2020-03-10 10:03:20 -07:00
Yamboy1 7cb187907d Remove alert 2020-02-07 09:21:28 -05:00
Yamboy1 9cc19936eb Add integrated light theme 2020-02-07 09:21:28 -05:00
Yamboy1 222287d4b7 Fix sizing for html files and add loading indicator 2020-02-07 09:21:28 -05:00
Yamboy1 da58818198 Update codemirror theme when global theme changes 2020-02-07 09:21:28 -05:00
Yamboy1 f990e4bd16 Codebox theming 2020-02-07 09:21:28 -05:00
jessop 9f1d4e3688 embed improvements
- autoplay=true param
- mute on autoplay
- thumb poster on embeds (unless autoplay)
- twitter player card for audio too
2020-02-05 16:50:18 -05:00
Dalton d191be8771 fixes #3498 - blurs the fullscreen button to prevent spacebar from selecting it again
ts-ignore -> flowFixMe
2020-02-03 09:20:12 -05:00
jessop a1e24d6dcc actually disable autoplay in embeds 2020-01-31 13:33:21 -05:00
Sean Yesmunt d312a8e8b6 basic autoplay timer working 2020-01-28 09:35:39 -05:00
jessop 31fa714ef5 send player events as timing events 2020-01-27 09:20:31 -05:00
jessop fab7dfdb41 add review changes 2020-01-24 13:41:09 -05:00