# Streaming MP4 video through Web SDK

**URL:** <https://devforum.zoom.us/t/streaming-mp4-video-through-web-sdk/108859>\
**Category:** Web\
**Tags:** video-sdk\
**Created:** [April 29, 2024, 9:58am UTC](https://devforum.zoom.us/t/streaming-mp4-video-through-web-sdk/108859 "2024-04-29T09:58:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![szymzet](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/szymzet/32/59145_2.png) [@szymzet](https://devforum.zoom.us/u/szymzet)\
**Post date:** [April 29, 2024, 9:58am UTC](https://devforum.zoom.us/t/streaming-mp4-video-through-web-sdk/108859/1 "2024-04-29T09:58:59Z")

</div>

Hi!  
We’d like to stream pre-recorded content for Telehealth use case. Imagine we have a video call between a patient and specialist and during the video call the specialist would like to stream a pre-recorded exercise (in .mp4 format) to the patient. Similiar to screen sharing but using a pre-recorded content rather than one’s screen.

How would one implement this use case using **Web** Video SDK? We are having trouble finding this in the docs.

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [April 30, 2024, 1:18am UTC](https://devforum.zoom.us/t/streaming-mp4-video-through-web-sdk/108859/2 "2024-04-30T01:18:54Z")

</div>

Hey @szymzet

Thanks for your feedback.

It’s feasible in Video SDK. Both `stream.startAudio` and `stream.startVideo` are able to accept a media playback file. Here is a simple example:

```javascript
await stream.startVideo({ mediaFile: { url: "[mp4 URL]", loop: true } });
await stream.startAudio({ mediaFile: { url: "[mp4 URL]", loop: true } });

```

> **[Stream | Zoom Video SDK for Web - 1.11.0](https://marketplacefront.zoom.us/sdk/custom/web/modules/Stream.html#startVideo)**
>
> Documentation for Zoom Video SDK for Web - 1.11.0

> **[Stream | Zoom Video SDK for Web - 1.11.0](https://marketplacefront.zoom.us/sdk/custom/web/modules/Stream.html#startAudio)**
>
> Documentation for Zoom Video SDK for Web - 1.11.0

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [May 30, 2024, 11:19am UTC](https://devforum.zoom.us/t/streaming-mp4-video-through-web-sdk/108859/3 "2024-05-30T11:19:24Z")

</div>

Closed on May 30, 2024, 11:19am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
