# Serving content locally

Your application can serve local files through the `media://local/` protocol. This allows content stored on the user's device to be accessed directly within your app without first uploading or copying the file.

For example, a video element can play a local file by setting its source to:

```
media://local/C:/Users/Example/Videos/largefile.mp4
```

This approach is especially useful when working with large files, since the content can be streamed directly from the user's filesystem instead of being processed or transferred first. \
\
It allows media such as videos, images, or audio to load quickly and behave like normal web resources within your application.

***

{% hint style="success" %}
View an example in the editor:\
\
<https://bubble.io/page?id=deskifier-plugin-test&tab=Design&name=sandbox&type=page&elements=bTImQ>
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://deskifier.gitbook.io/deskifier/deskifier-bubble.io-docs/guides-and-examples/serving-content-locally.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
