Commit Graph
100 Commits
Author SHA1 Message Date
Ginger Wong 1a477de89a Merge branch 'master' of https://github.com/gabek/owncast 2020-09-27 23:04:51 -07:00
Ginger Wong 3add3897ac show play button when video is paused (issue #201) 2020-09-27 23:04:42 -07:00
gingervitisandGitHub fc27d73030 Merge pull request #171 from owncast/gek/remove-player-progress-bar
Remove player progress bar.  Closes #159
2020-09-27 22:03:40 -07:00
Ginger Wong 336a35e981 Merge branch 'master' of https://github.com/gabek/owncast 2020-09-22 17:10:06 -07:00
Ginger Wong 01f956d043 detect portrait mode on mobile so it doesnt go into two col layout when keyboard is up, (#178) 2020-09-22 17:09:55 -07:00
Ginger Wong 58570be302 disable chat when websocket disconnects, enable it when it connects 2020-09-22 01:38:43 -07:00
gingervitisandGitHub 661eedc03a chat fixes v3 or 5 or 123 (#168)
* only consider short-heights when not smallscreen; hide status bar when small screen, but leave shadow;

* fix max char counting bugs with paste, yet be still be able to use modifier keys even when max chars reached

* rmeove 'chat' button; move into textarea

* use image for emoji picker for sizing consitency

* cleanup unused things

* - totally unecessary emoji picker style improvements
- totally necessary doctype added to emoji picker so it shows up more stable-y on mobile views

* more stable layout positioning for chat panel without hacky margins, so that the bottom of the message list will always be on top of the form input, and not behind it at any point.

* hide header on touch screens when screns are small and screen height is short (possibly when keyboard is up), so that there's more visibliity to see messages. this only works on chrome, not ios safari right now, due to the position: fixed of things.

* move char counting to keyup instead

* address message text horiz overflow (#157)

* dont jumpToBottom if user has scrolled about 200px from the bottom (#101)

* scroll to bottom on resize too

* cleanup

* revert test bool

* typo

* re-readjust short-wide case again

* - add focus to input field after emoji is selected, put cursor at end
- instead of smooth scrolling to bottom, just jump there.
2020-09-21 20:11:09 -07:00
Ginger Wong 29ebe80ad0 remove test cruft so chat panel visibility is remembered 2020-09-20 15:49:52 -07:00
Ginger Wong 91590f95bb hide extra videojs video elements that dont have a src to address #165 2020-09-20 15:49:15 -07:00
gingervitisandGitHub 75db8c1edb Merge pull request #146 from owncast/gek/fix-disabled-chat
Fix chat not coming back after server comes back.
2020-09-12 18:57:09 -07:00
Ginger Wong 206d57e79e css hack for videojs that hides a duplicate video element 2020-09-03 03:29:55 -07:00
Ginger Wong 961e212cd7 update standalone chat styles 2020-09-03 02:44:50 -07:00
Ginger Wong 0a3d1145f6 use defaultvalue for username uncontrolled component, fixes #138) 2020-09-02 22:04:19 -07:00
Ginger Wong 09f6b62398 - show offline state when stream ends and video is not playing (#130)
- style fixes
2020-08-29 17:35:19 -07:00
Ginger Wong 0e6edf9ac0 fix max viewers display 2020-08-29 00:42:04 -07:00
Ginger Wong b37b871912 Merge branch 'master' of https://github.com/gabek/owncast 2020-08-27 12:32:20 -07:00
Ginger Wong 43e88ee81d fix youtube embed sizing and weird zindexing; fix single col video sizing inconsistency across other browsers 2020-08-27 12:25:46 -07:00
Ginger Wong b549b21257 add utils to help cleanup whitespaces from contenteditable output; removed forced chat enabling 2020-08-26 11:56:01 -07:00
Ginger Wong 2cffabf0fb - don't make emoji picker freak out by limiting transitions to just app container (#123)
- give width on youtube embed container (#122)
- give video a max height of less than current window height (#125)
-
2020-08-26 11:15:09 -07:00
gingervitisandGitHub 21c1de53c7 Merge pull request #120 from owncast/0809gw-messagemodule
frontend refactor with Preact
2020-08-26 01:03:40 -07:00
Ginger Wong cd5f71265a more tab cleanup 2020-08-26 00:57:15 -07:00
Ginger Wong b399fbba22 address MR comments 2020-08-26 00:51:40 -07:00
Ginger Wong 6457015406 cleanup 2020-08-24 12:34:36 -07:00
Ginger Wong 2a02b75e42 fix responsive styles 2020-08-24 03:30:42 -07:00
Ginger Wong 0b1f9db4ed update references to owncast site; enable scrolltobottom on new messages 2020-08-23 22:21:42 -07:00
Ginger Wong abf42f1a56 avatar\ change style update 2020-08-23 21:49:26 -07:00
Ginger Wong 940b6df86b use only unpkg/preact + htm consistently for all components 2020-08-23 21:41:02 -07:00
Ginger Wong 3d6e9feeaf Merge branch 'master' into 0809gw-messagemodule 2020-08-23 21:29:07 -07:00
Ginger Wong 22e16b67d7 start a video-only page; fix some styles 2020-08-23 21:23:16 -07:00
Ginger Wong a07ad8d693 rename standalone assets so they're easier to find 2020-08-23 19:38:58 -07:00
Ginger Wong d4c8c187fd fix some styles 2020-08-23 19:37:06 -07:00
Ginger Wong 4b28ed8f25 reorganize js files 2020-08-23 19:06:58 -07:00
Ginger Wong 786b4c04fa cleanup commented out styles 2020-08-23 18:33:19 -07:00
Ginger Wong 3d679a28fb Merge branch '0809gw-messagemodule' of https://github.com/gabek/owncast into 0809gw-messagemodule 2020-08-22 00:09:51 -07:00
Ginger Wong 9b4c07d3ba stylin' 2020-08-22 00:09:01 -07:00
Ginger Wong 13cfd112b7 - reduced custom styles, use mostly tailwind classes
- updated markdown css for extrausercontent
2020-08-21 23:44:10 -07:00
Ginger Wong 66dc2f84c9 fix placehodler style, fix chat panel cookieing 2020-08-21 15:55:52 -07:00
Ginger Wong 42a34df63e move consts over 2020-08-20 15:51:11 -07:00
Ginger Wong 60c04c02c4 update chat component to enable formfield via both streamstatus and socket status 2020-08-20 15:33:51 -07:00
Ginger Wong c3adfe7b7b preact app integration 2020-08-20 15:29:15 -07:00
Ginger Wong 3dc3e37751 Merge branch '0809gw-messagemodule' of https://github.com/gabek/owncast into 0809gw-messagemodule 2020-08-20 12:59:14 -07:00
Ginger Wong 136a575973 wip.. initial setup for preact integration into main app 2020-08-20 12:59:07 -07:00
Ginger WongandGabe Kangas 7aa7a70d43 update omq emojis 2020-08-20 09:40:15 -07:00
Ginger Wong 756311f03c style updates to message-only 2020-08-19 14:46:20 -07:00
Ginger Wong 0325af3ce7 styles for message only view 2020-08-19 00:47:41 -07:00
Ginger Wong d7b8058264 make edits for a messages-only view of the chat module 2020-08-19 00:16:35 -07:00
Ginger Wong ebc852b430 initial set up for styling updates; actually add files 2020-08-17 09:00:36 -07:00
Ginger Wong e5d8087979 rever commented out code 2020-08-17 01:14:05 -07:00
Ginger Wong 70f3d7e165 borrow react-ContentEditable component 2020-08-17 01:12:21 -07:00
Ginger Wong 979651a925 extract user names frm old message when they come in 2020-08-15 18:41:31 -07:00
Ginger Wong 703aa40271 move over other input field fxns to input component 2020-08-15 18:28:29 -07:00
Ginger Wong 63d7671fed progress wip. separated out chat input component and its respective methods. 2020-08-14 04:19:19 -07:00
Ginger Wong 3814c24cab set up websocket and emoji in chat component 2020-08-13 09:28:47 -07:00
Ginger Wong 7a1512ef6b breaking out styles into smaller files; break out chat helper functions into utils 2020-08-13 02:43:41 -07:00
Ginger Wong ab5f8df96e Merge branch 'master' into 0809gw-messagemodule 2020-08-13 02:14:26 -07:00
Ginger Wong e1e4365692 integrate message comp 2020-08-13 02:08:14 -07:00
Ginger Wong 64e7809c26 separate out message relate utils, create message component 2020-08-13 01:49:10 -07:00
Ginger Wong dad802f19a Initial setup for standalone chat with Preact.
- set up standalone static page and message related components
- start separating out css into smaller more manageable files
- start separating out utils into smaller modular files
- renaming some files for consistency
2020-08-13 01:28:25 -07:00
Ginger Wong 2c1bc52487 Merge branch '0809gw-editorconfig' 2020-08-09 23:46:14 -07:00
Ginger Wong fc42e11f8b add starter editorconfig file 2020-08-09 23:44:04 -07:00
gingervitisandGitHub 3d20ce9fd5 Merge pull request #98 from nforro/master
Add username tab completion
2020-08-08 01:06:53 -07:00
gingervitisandGitHub a692904516 Merge pull request #97 from nforro/master
Fix handling newlines in messages
2020-08-02 20:16:43 -07:00
Ginger Wong 90317c0c7f Merge branch 'gek/current-stream-duration' 2020-07-19 16:15:12 -07:00
Ginger Wong eb699f9790 use constants for message strings 2020-07-19 16:14:38 -07:00
Ginger Wong b66a80f11e add comments; use promise for fetching chat history for consistency 2020-07-19 16:11:29 -07:00
Ginger Wong 3f594abac8 update offline flow an stream status timer flow 2020-07-19 16:06:55 -07:00
Ginger Wong a3613612eb Merge branch 'master' into gek/current-stream-duration 2020-07-19 15:17:03 -07:00
Ginger Wong 14adead519 Merge branch '0718-refactor-touchscreenlayout' 2020-07-19 15:13:40 -07:00
Ginger Wong 72ccc70a56 Merge branch 'master' into 0718-refactor-touchscreenlayout 2020-07-19 15:13:18 -07:00
Ginger Wong fdce8585d5 css tweaks for mobile mode; reintroduce mobile styles and hacks 2020-07-19 15:12:57 -07:00
Ginger Wong d775924c59 barebones noscript layout 2020-07-18 17:44:18 -07:00
Ginger Wong 38a279485b disable click events on video container when offilne 2020-07-18 17:18:58 -07:00
Ginger Wong e12de3215f cleanup 2020-07-18 17:17:10 -07:00
Ginger Wong 0af67c0cdc simplified layout updates based on only media queries 2020-07-18 17:15:52 -07:00
42b0b05d78 App Javascript refactor (#56)
* objectify app away from window. wip

* fix messaging obj binding; put logo behind video; fix /null issue with temp logo image

* first pass at js refactor

* remove unused files that had been consolidated during refactor

* set up vue before getting config

* add a few comments

* dont use big arrow function, just bind, for safari

* add airplay after instantiating video; check if input exists before disabling it;:

* only set poster on pause during playback, and onEnded; take out sample videoJS tech options

* disable chat after 5mins after going offline

* move 'online' class to video container as it conflicts with dynamically change classnames from non-vue sources

* disable chat based on lastdisconnecttime

* fix typo; do offline mode onEnded instead of status offline

* move offline ui display things to offline mode function; move poster setting on pause to main app to keep player obj cleaner; use opacity to hide video element on offline as sometimes control bars may still linger with vis:hidden

* fixes'

* don't autoplay. just show play button when stream is online so that it's easier to start playign without looking for the unmute button

* clean up console logs

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2020-07-16 12:17:05 -07:00
Ginger Wong a755a8dd05 Merge branch 'master' of https://github.com/gabek/owncast 2020-07-07 23:35:16 -07:00
Ginger Wong 8cd13269ec clean up consts a bit 2020-07-07 23:35:09 -07:00
Ginger Wong c76aec8c88 fix cursor on default social icon 2020-07-07 23:32:14 -07:00
Ginger Wong 827e402bcc randomize avatar for same names 2020-07-07 23:30:26 -07:00
Ginger Wong 426bfe000f fix typo 2020-07-07 23:03:22 -07:00
Ginger Wong 34b3806806 low hanging cleanup for extrauser content 2020-07-05 01:29:48 -07:00
Ginger Wong 9bd1df8530 make consts; clean up get status 2020-07-05 01:08:22 -07:00
Ginger Wong 5efa67d605 generate avatar img with util 2020-07-04 22:34:00 -07:00
Ginger Wong 96258fc0f3 update document title 2020-07-03 18:10:57 -07:00
Ginger Wong 53ba5eb186 fix social script typos 2020-07-03 18:07:57 -07:00
Ginger Wong c28f5d49f6 Merge branch 'master' of https://github.com/gabek/owncast 2020-06-30 02:36:17 -07:00
Ginger Wong 6803f7e7e8 header adjustments for small screens; adjust to new config structure; 2020-06-30 02:36:10 -07:00
Ginger Wong 5a3aed9587 remove jquery 2020-06-28 17:23:58 -07:00
Ginger Wong 7f28f25455 Merge branch 'master' of https://github.com/gabek/owncast 2020-06-28 17:20:43 -07:00
Ginger Wong b228d3a4e5 componentize user info 2020-06-28 17:15:53 -07:00
Ginger Wong 6c7af9ffae clean up footer things 2020-06-28 15:08:08 -07:00
Ginger Wong e643727be5 Merge branch '0620gw-updates' 2020-06-21 01:31:51 -07:00
Ginger Wong 1a44a4bd2f user content general layout 2020-06-21 01:31:08 -07:00
Ginger Wong 1ecf39c2f1 clean up social code 2020-06-21 00:07:57 -07:00
Ginger Wong 19dee67f2a set up components and icons for optional creator's social pages; add airplay icon 2020-06-20 23:41:13 -07:00
Ginger Wong 51b79287c5 Merge branch 'master' of https://github.com/gabek/owncast 2020-06-18 10:25:58 -07:00
Ginger Wong b39824b8c3 updates towards more customization 2020-06-18 10:24:54 -07:00
Ginger Wong d15080db11 Merge branch 'master' of https://github.com/gabek/owncast 2020-06-18 00:12:39 -07:00
Ginger Wong cf27b157e6 - fix chrome mobile form focus bug by specifying class. when form focuses media query widths change and may think portrait is in landcape and therefore hide the form.
- cleanup now unused methods
- jump to bottom from vue prop listener
2020-06-18 00:06:10 -07:00
Ginger Wong d27c87212e Merge branch 'master' of https://github.com/gabek/owncast 2020-06-17 10:39:19 -07:00