Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by mfk · Jul 26, 2013 at 09:31 PM · androidvideoplay

How to play a .mp4 video file in android game

I want to show a small video(.mp4) in beginning of the game but I am not able to do so. I tried scripts "Handheld.PlayFullScreenMovie ("MVI_0875.mp4", Color.black, FullScreenMovieControlMode.CancelOnInput);" and iPhoneUtils.PlayMovie("MVI_0875.mov", Color.black, iPhoneMovieControlMode.CancelOnTouch) but nothing works please tell how to play a video in android game in detail...Thanks in advance.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

8 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by psykojello2 · Nov 13, 2015 at 12:12 PM

Hi, with Unity 5, you can use Handheld.PlayFullScreenMovie() to play a video file on mobile.

Check the file format requirements in there. You can use VLC Media player to convert if necessary.

Good luck!

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by HandHGraphics · Jul 27, 2013 at 01:46 AM

I believe you need Unity Pro in order to use that feature.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image mfk · Jul 27, 2013 at 08:56 AM 0
Share

thanks fo reply....the system have pro version

avatar image Straafe · Oct 27, 2013 at 08:42 PM 0
Share

Also curious about this. I have Unity Pro (not Android Pro) and can't seem to get any videos to play on my Android devices.

avatar image
0

Answer by richardvalentinew · Nov 22, 2013 at 03:41 AM

You may also refer to this step by step guide on how to convert MP4 to Android more supported video format to solve can't play MP4 on Android-powered devices at

It helps to:

Convert MP4 to Android supported format to play MP4 on HTC, Samsung Galaxy, Motorola Droid, Google Nexus, LG, Motorola Xoom, Samsung Galaxy Tab or Note and more android mobiles or tablets; Convert other videos to play FLV, AVI, DivX, XviD, WMV, MOV, MPG, MKV, VOB, ASF, MXF, AVCHD, Apple ProRes, 3GP and etc on Android devices; Convert audio files like WMA, AIFF, FLAC, APE, Apple Lossless ALAC, M4A, DTS, OGG, CAF, TTA, AU, RA to Android supported MP3, AAC; Convert all popular videos to play on iPad, iPhone, iPod, iTunes, PS3, PSP, Xbox 360, iTunes, QuickTime, Windows Media Player, BlackBerry and etc; Convert movies to edit in Windows Movie Maker, Sony Vegas, Adobe Premiere, Avid, iMovie, Final Cut Pro and more; Edit MP4 or other movies like trim, crop, rotate, merge, split, watermark, subtitles, effect, resize, change video or audio parameters like bitrate, frame rate, aspect ratio, audio volume and channels.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Michellehlove · Nov 25, 2013 at 11:44 AM

Just found a full guide about how to convert MP4 to Android Phone Format.

This article also introduces a tutotial about how to convert MKV, MPG, MOV, WMV, AVI to Android Phone Format.

Hope it can help you.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by oeksen37 · Feb 20, 2014 at 10:56 AM

use Unity Pro and convert the file if need. http://www.appgeeker.com

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
  • 1
  • 2
  • ›

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

25 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Streaming Video Player - Android 1 Answer

GUITexture touch play animation 0 Answers

Video sometimes works and other times does not work on Android. 1 Answer

Error on playing MovieTexture in Unity 3.1 1 Answer

How do you play video in unity? 5 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges