MARKETPLACE
PLUGINS
DETECT CONTENT TYPE
Detect content type logo

Detect content type

Published July 2022
   •    Updated March 2026

Plugin details

You need to figure out the content type from a file name or path.  The typical use case is you are getting files from Google Cloud Storage and you don't know the content type and you need to specify a content type for video viewers.
For example you have messy  file names and file paths and you want to get the content type in your Server Side action so you can store the content type as meta data in Bubble.

file.htm  text/html
folder/file.js  application/javascript
screenshot.png image/png
recording.mov  video/mov

Free

For everyone

5.0 stars   •   1 ratings
91 installs  
This plugin does not collect or track your personal data.

Other actions

Platform

Web & Native mobile

Contributor details

Lindsay - Knowcode logo
Lindsay - Knowcode
Joined 2020   •   58 Plugins
View contributor profile

Instructions

Look for the server side action
'detect content type' under plugins.

Pass it any file name or path.

Types

This plugin can be found under the following types:

Categories

This plugin can be found under the following categories:

Resources

Support contact
Documentation
Tutorial

Rating and reviews

Average rating (5.0)

Just what I needed
July 15th, 2022
Very helpful support from the Creator also. Thanks :-)
Bubble