# Running videos on android

**URL:** <https://discourse.processing.org/t/running-videos-on-android/26916>\
**Category:** Processing for Android\
**Created:** [January 9, 2021, 12:46pm UTC](https://discourse.processing.org/t/running-videos-on-android/26916 "2021-01-09T12:46:31Z")\
**Posts on this page:** 7\
**Page:** 3

<div class="post-metadata">

**Author:** ![akenaton](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@akenaton](https://discourse.processing.org/u/akenaton)\
**Post date:** [January 12, 2021, 7:06pm UTC](https://discourse.processing.org/t/running-videos-on-android/26916/41 "2021-01-12T19:06:53Z")

</div>

@paturn === my code watns the video IS in the data folder= you said “yes” and now…

---

<div class="post-metadata">

**Author:** ![paturn](https://avatars.discourse-cdn.com/v4/letter/p/34f0e0/32.png) [@paturn](https://discourse.processing.org/u/paturn)\
**Post date:** [January 12, 2021, 7:08pm UTC](https://discourse.processing.org/t/running-videos-on-android/26916/42 "2021-01-12T19:08:09Z")

</div>

@noel  
I’ll try this method tomorrow.

Why did my original method work for PImage image files, or has the coding changed?

---

<div class="post-metadata">

**Author:** ![paturn](https://avatars.discourse-cdn.com/v4/letter/p/34f0e0/32.png) [@paturn](https://discourse.processing.org/u/paturn)\
**Post date:** [January 12, 2021, 8:53pm UTC](https://discourse.processing.org/t/running-videos-on-android/26916/43 "2021-01-12T20:53:18Z")

</div>

I’d also like to add that I’m running the app in P3D to get 3D control over the globe upon which I want to project the video.

Is this significant with the file not found error?

---

<div class="post-metadata">

**Author:** ![paturn](https://avatars.discourse-cdn.com/v4/letter/p/34f0e0/32.png) [@paturn](https://discourse.processing.org/u/paturn)\
**Post date:** [January 13, 2021, 10:11am UTC](https://discourse.processing.org/t/running-videos-on-android/26916/44 "2021-01-13T10:11:33Z")

</div>

@akenaton  
To be clear. I am attempting to run a video file on my phone, using code compiled in Processing for Android on my PC. On advice, I have the video file in my phone’s data folder, and also in my phone’s drift folder, which I access via Environment separately, in a different sketch. Neither work so far, but I haven’t tried @noel’s suggestion of new Environment(…) which may be necessary due to the large size of the video file (between 25MB and 85MB).

---

<div class="post-metadata">

**Author:** ![paturn](https://avatars.discourse-cdn.com/v4/letter/p/34f0e0/32.png) [@paturn](https://discourse.processing.org/u/paturn)\
**Post date:** [January 13, 2021, 11:36am UTC](https://discourse.processing.org/t/running-videos-on-android/26916/45 "2021-01-13T11:36:58Z")

</div>

@akenaton @noel

Apologies. I put the video file in the PC data file and it loads on the phone correctly.

---

<div class="post-metadata">

**Author:** ![akenaton](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@akenaton](https://discourse.processing.org/u/akenaton)\
**Post date:** [January 13, 2021, 6:07pm UTC](https://discourse.processing.org/t/running-videos-on-android/26916/46 "2021-01-13T18:07:44Z")

</div>

ok, put answered for others

---

<div class="post-metadata">

**Author:** ![paturn](https://avatars.discourse-cdn.com/v4/letter/p/34f0e0/32.png) [@paturn](https://discourse.processing.org/u/paturn)\
**Post date:** [January 13, 2021, 6:24pm UTC](https://discourse.processing.org/t/running-videos-on-android/26916/47 "2021-01-13T18:24:50Z")

</div>

@akenaton  
How to do this?

[Previous page](https://discourse.processing.org/t/running-videos-on-android/26916.md?page=2)
