# How videos fetch and play in ionic my app

**URL:** <https://forum.ionicframework.com/t/how-videos-fetch-and-play-in-ionic-my-app/122139>\
**Category:** ionic-v3\
**Created:** [February 21, 2018, 5:25am UTC](https://forum.ionicframework.com/t/how-videos-fetch-and-play-in-ionic-my-app/122139 "2018-02-21T05:25:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![flycoders\_sourav](https://avatars.discourse-cdn.com/v4/letter/f/e47c2d/32.png) [@flycoders\_sourav](https://forum.ionicframework.com/u/flycoders_sourav)\
**Post date:** [February 21, 2018, 5:25am UTC](https://forum.ionicframework.com/t/how-videos-fetch-and-play-in-ionic-my-app/122139/1 "2018-02-21T05:25:18Z")

</div>

how videos fetch and play in ionic my app.how can i do that please anyone guide me

---

<div class="post-metadata">

**Author:** ![addwebsolution](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/addwebsolution/32/120392_2.png) [@addwebsolution](https://forum.ionicframework.com/u/addwebsolution)\
**Post date:** [February 21, 2018, 5:51am UTC](https://forum.ionicframework.com/t/how-videos-fetch-and-play-in-ionic-my-app/122139/2 "2018-02-21T05:51:59Z")

</div>

Hi @flycoders_sourav

If you want to play video in your application try **streaming-media** for IOS and Android both,  
It will play video on your default video player of the device.

> **[Ionic Framework](https://ionicframework.com/docs/native/streaming-media/)**
>
> Ionic is the app platform for web developers. Build amazing mobile, web, and desktop apps all with one shared code base and open web standards

thanks

---

<div class="post-metadata">

**Author:** ![flycoders\_sourav](https://avatars.discourse-cdn.com/v4/letter/f/e47c2d/32.png) [@flycoders\_sourav](https://forum.ionicframework.com/u/flycoders_sourav)\
**Post date:** [February 21, 2018, 6:25am UTC](https://forum.ionicframework.com/t/how-videos-fetch-and-play-in-ionic-my-app/122139/3 "2018-02-21T06:25:35Z")

</div>

Actually i want to play the video inside the app. is it possible using streaming-media?

---

<div class="post-metadata">

**Author:** ![addwebsolution](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/addwebsolution/32/120392_2.png) [@addwebsolution](https://forum.ionicframework.com/u/addwebsolution)\
**Post date:** [February 21, 2018, 6:36am UTC](https://forum.ionicframework.com/t/how-videos-fetch-and-play-in-ionic-my-app/122139/4 "2018-02-21T06:36:30Z")

</div>

Hi, @flycoders_sourav

No,  
In video tag, all the controls will not work properly on all the devices. Moreover, iframe will work only with Android. So it would be better to go with the media stream.

```auto
<video width="400" controls>
  <source src="mov_bbb.mp4" type="video/mp4">
</video>

```

```auto
<iframe src="mov_bbb.mp4">
  <p>Your browser does not support iframes.</p>
</iframe>

```

thanks,

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:49pm UTC](https://forum.ionicframework.com/t/how-videos-fetch-and-play-in-ionic-my-app/122139/5 "2021-07-19T21:49:56Z")

</div>


