* Render and sanitize chat messages server-side. Closes#235
* Render content.md server-side and return it in the client config
* Remove showdown from web project
* Update api spec
* Move example user content file
* Experiment with javascript bundling
* Experiment with snowpack. Making progress
* Success! Uses local js modules and assets and no cdns
* Missing local css
* 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.
* Try and clarify max viewer count string
* Shrink title font size on small screens to fit username
* Hide stream info on small screens to buy some space
* Hide emoji button on small screens until we can fix it. For #140
* Make jumping to bottom be a part of the render pass to fix race condition. For #140
* Remove About in info view. We can add it back. Just playing with that since it was missing a space anyway
* address some own mr comments
Co-authored-by: Ginger Wong <omqmail@gmail.com>
- 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
* Add an emoji picker to chat
* Update to the custom emoji picker and add first pass at using custom emoji in text box
* Add custom emoji endpoint and use it in the app
* Position the emoji picker
* Handle events from the text input
* pair down the number of party parrots
* Size emoji in chat and input
* Add new custom emoji
* Add OMQ stickers as custom emoji
* Show custom category for emoji picker by default
* update omq emojis
* Document basic supported markdown syntax. Closes#95
* Websocket refactor: Pull it out of the UI and support callbacks (#104)
* Websocket refactor: Pull it out of the UI and support listeners
* Changes required for Safari to be happy with modules
* Move to explicit ad-hoc callback registration
* Add an emoji picker to chat
* Update to the custom emoji picker and add first pass at using custom emoji in text box
* Handle events from the text input
* Rebuild autolinking + embed handling for #93
* Re-enable disabling chat
* Document basic supported markdown syntax. Closes#95
* Document basic supported markdown syntax. Closes#95
* Add an emoji picker to chat
* Merge emoji and embeds.
* Merge emoji + embed branches. Rework autolink +embeds. WIP for username
highlighting for #100
* More updates to chat text formatting/embedding/linking
* Fix username autocomplete to work with div instead of form elements
* Post-rebase fixes + tweaks
* Disable text input by setting contentEditable = false
* Remove test that hardcodes pointing to public test server
* Fix re-enable chat with the contentEditable input div
* Style and fix the fake placeholder text in the input div
* Missing file. Were did it go?
* Set a height for instagram embeds
* Cleanup
Co-authored-by: Ginger Wong <omqmail@gmail.com>
* Websocket refactor: Pull it out of the UI and support listeners
* Changes required for Safari to be happy with modules
* Move to explicit ad-hoc callback registration
It's not possible to make a newline when already holding Shift,
for example to type an uppercase character. Fix that.
Signed-off-by: Nikola Forró <nforro@redhat.com>
* Send PONG responses to PINGs
* Split out client IDs for viewer counts vs. websocket IDs
* WIP username change event
* Display username changes
* Revert commented out code
* Add support for building from the current branch
* Fix PONG
* Make username changes have a unique ID
* Add a version param to js to cachebust
* Change placeholder when chat is disabled
* Use the /chat endpoint for bulk chat history population instead of websocket. For #47
* Force LiveUI/seek bar during live to show. Closes#11.
* Change pulling chat history into app.js
* Force new messages to have visability = true
* 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>
* New video transcoder
* Set a smaller max muxing size + logging tweaks
* No need to return an err since it wiill panic anyway
* Use a default encoder preset if one is not supplied
* Rename to NewTranscoder. Add comments.
* Rename Bitrate to VideoBitrate. Config file changes required with this rename.
* Allow overrides of segment length. Allow offline stream to live in a single segment
* Append offline state video to existin HLS stream instead of overwriting because players do not like that
* Make properties private as they do not need to be exported