s9e / TextFormatter

Text formatting library that supports BBCode, HTML and other markup via plugins. Handles emoticons, censors words, automatically embeds media and more.
MIT License
233 stars 36 forks source link

How to support .mov video? #210

Closed bryanyang0528 closed 1 year ago

bryanyang0528 commented 1 year ago

I saw the source code of autovideo did not include the .mov file. Is it possible to support .mov?

The HTML tag would be like this:

<video width="400" controls autoplay>
    <source src="D:/mov1.mov" type="video/mp4">
</video>

Thank you

JoshyPHP commented 1 year ago

I'm going to add .mov to the list of allowed extensions in the Autovideo plugin. The correct MIME type is video/quicktime but the default template does not specify the type and leaves that to the server/browser.