discourse/app/assets/javascripts/pretty-text/addon
Blake Erickson f6063c684b
DEV: Add crossOrigin to video tag (#20617)
* DEV: Add crossOrigin to video tag

This is a follow-up commit to f144c64e13
which enables the ability to generate thumbnail images for video
uploads.

In order for the html5 canvas element to create an image or blob the
source video element needs to to have the crossOrigin attribute set to
"anonymous" because a cdn is likely being used in production
environments.

We are already doing something similar in
e292c45924/app/assets/javascripts/discourse/app/lib/update-tab-count.js (L63)
2023-03-09 13:19:19 -07:00
..
emoji DEV: Update javascript:update_constants rake task following template colocation (#20365) 2023-02-20 06:20:47 +03:00
engines DEV: Add crossOrigin to video tag (#20617) 2023-03-09 13:19:19 -07:00
allow-lister.js A11Y: Set role=presentation if alt attr is missing (#18546) 2022-10-12 14:07:37 +03:00
censored-words.js DEV: Ensure censorFn copes with null regexpList (#17754) 2022-08-02 11:09:51 +01:00
emoji.js DEV: Emoji picker keyboard accessibility updates (#18331) 2022-09-22 15:21:34 -07:00
guid.js
highlightjs-aliases.js DEV: Add support for aliases in HighlightJS languages (#20380) 2023-02-23 15:06:06 -05:00
inline-oneboxer.js DEV: removes jquery usage from onebox (#14683) 2021-10-22 13:15:46 +02:00
mentions.js FEATURE: Enforce mention limits for chat messages (#19034) 2022-12-06 14:54:04 -03:00
oneboxer-cache.js DEV: removes jquery usage from onebox (#14683) 2021-10-22 13:15:46 +02:00
oneboxer.js DEV: Introduce discourseLater (#17532) 2022-07-17 00:50:49 +02:00
pretty-text.js FEATURE: Generic hashtag autocomplete lookup and markdown cooking (#18937) 2022-11-21 08:37:06 +10:00
sanitizer.js DEV: Extensively use includes() (#17541) 2022-07-17 20:48:36 +02:00
upload-short-url.js DEV: Rename secure_media to secure_uploads (#18376) 2022-09-29 09:24:33 +10:00