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
0
Question by ttBG · Mar 03, 2015 at 12:22 PM · androidiospluginvideotexturevideo streaming

Playing a video as part of the scene on mobile

Hi all, I have a Video file, that is the intro to my game, and I want to play it but also have a SKIP button visible that the player can click to skip the whole video. The game is for Android and iOS.

I have tried the Handheld.playfullscreenmovie, but this plays the video in an external player and I can't add the skip button.

Movie texture isn't supported on mobile platforms, and I haven't found a plugin that works.

Some are broken and aren't updated, while others I found simply user a MJPG format which is essentially a series of stills, inflating the movie size (past the acceptable levels that I can add to the project).

I was thinking if its possible to add a webbrowser-like object to the scene and have it play a webpage that will stream the video, but haven't found a way to do it (with or without plugins).

Any suggestions would be welcomed, plugins/workarounds. I have Unity PRO licence for both iOS and Android so any solution is acceptable.

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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Paulius-Liekis · Mar 03, 2015 at 07:16 PM

Your observations are correct ;)

  1. Handheld.playfullscreenmovie gives you what kind of controls to show on screen. You can not display your custom skip button as far as I know.

  2. We used MobileMovieTexture to play videos is 3D space. It doesn't play audio, so we played audio using regular AudioSource. Of course sometimes that lead to missynchronization, because video lags on slow devices (iPhone3GS in our case), so we had to do some synchronization. It wasn't perfect, but it worked.

Comment
Add comment · Show 1 · 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 ttBG · Mar 05, 2015 at 02:07 PM 0
Share
  1. From what I've seen is that $$anonymous$$obile$$anonymous$$ovieTexture no longer works, so thats out of the questions.

avatar image
0

Answer by cadpeople · Oct 08, 2015 at 10:53 AM

This sample works falwlessly on Android, as well as iOS. I find it very complicating, so I'm not having much luck duplicating it in my own project, but it works very well! Now if someone were to duplicate the results using this as a base, and turn it into a plugin... https://developer.vuforia.com/downloads/samples

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

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Will movie textures work on iOS and Android phones? Please help...please advice 1 Answer

Did anyone built the Alembic Importer for Android and iOS? 0 Answers

Help me step by step to make video play on mobile! 2 Answers

Android an iOS version of Plugin 1 Answer

Access web-hosted game from iOS mobile? 0 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