Skip to main content

January 19

Hi all, hope you're doing well.

Account sanctions

I've added functionality to the account settings page, which now shows a user if they have any active sanctions on their account, such as their account type being locked or posting privileges being suspended.

Video encoding changes

I've changed the video codec from AV1 to H.265, as Hls.js doesn't support AV1 at present (and AV1 does have less support overall at the moment, given its status as the newest codec on the block).

I'm unsure if I will keep it as H.265 or use H.264 to start with, which doesn't incur encoding costs. It'll come down to a decision as to whether high video traffic is likely to happen. I've asked Bunny if encoding some videos with H.265 is possible instead of having to decide codecs for all videos or none, but it's not currently possible with their API; it would've been useful for e.g. solely video creators, but for now it's not an option.

Conceptually, it's possible to have two separate video libraries within Bunny - one using premium encoding and one not - which would allow some level of control over this, but that would add some extra backend work within Deserted Chateau's code in various places, so I'll need to figure out how much work that would need before making any decisions on it.

Moderation panels

I've implemented video artworks showing in the moderation areas in reports, with a few more functionalities left to implement there (mostly to do with sanctions).

Misc / Bug Fixes

  • Fixed a bug where videos encoded with AV1 would be muted, as they weren't detected to have audio by VideoTools.js.
  • Documented an issue I fixed with existing AWS EventBridge schedules, where deleting an old IAM role didn't show any errors but stopped the schedules from working until another role was assigned to them.
  • Updated some AWS Lambda functions to use more recent Node.js versions, in line with AWS marking some older versions as end of life.
  • Fixed play/pause buttons not showing the correct icon on videos when currently playing, or on reaching the end of the video, due to incorrect selectors.
  • Fixed the "commissioned from artist" URL field in the SubmitArtwork form incorrectly showing valid URLs as invalid.
  • Fixed an old album modification modal being brought up when adding an artwork via the SubmitArtwork add new album button.
  • Fixed a bug causing some tooltips not to have proper line spacing.
  • Fixed a bug where album names which contain spaces would cause errors when submitting artworks due to HTML element names.
  • Fixed album covers not being removable / editable on the Albums profile subpage.