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 IssacT. · Oct 23, 2012 at 04:12 AM · androidwwwstream

Unable to stream online video on android

I'm kinda new to Unity especially on this type of function. I been trying to stream an online video on android. I tried to use the Unity sample and change it in order to work on android platform. But I kinda stuck out here, not knowing how to solve this. Somehow I just don't know how to modify this. Could anyone enlighten me a little?

 #pragma strict
 var url = "http://www.unity3d.com/webplayers/Movie/sample.ogg";
 
 function Start () {
     var www = new WWW(url);
     
     yield;
     
     
 
     Handheld.PlayFullScreenMovie(url,Color.clear,
     FullScreenMovieControlMode.Full,
     FullScreenMovieScalingMode.AspectFit);
     
 
 }
 
 
 function Update () {
 
 }
 

It managed to run on android devices but the video is not playing.

Comment
Add comment · Show 2
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 Phoskryfes · Oct 23, 2012 at 10:18 AM 0
Share

So you are trying to open a site if the user touched it?

avatar image IssacT. · Oct 24, 2012 at 01:51 AM 0
Share

Something like that. I'm trying to stream a video once the user open the application.

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Paulius-Liekis · Dec 09, 2014 at 12:25 AM

First: you don't need that WWW stuff, just call Handheld.PlayFullScreenMovie with your url.

Second: are you sure you're using correct format. If it plays on iOS it doesn't mean that Android supports it. I can not see .ogg on Video formats in this page: http://developer.android.com/guide/appendix/media-formats.html

Checkout documentation about supported formats: http://docs.unity3d.com/ScriptReference/Handheld.PlayFullScreenMovie.html

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 Chowdery · Jun 02, 2013 at 02:13 PM

Hey Issac, I've tried looking around on the Unity forums and have seen a few questions regarding this functionality, although I don't think the functionality is available just yet in Unity:

http://docs.unity3d.com/Documentation/Manual/iphone-unsupported.html

http://docs.unity3d.com/Documentation/Manual/android-unsupported.html

I'm currently looking for an alternative but not having much luck. Please let me know if you manage to find a work around :).

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 enginma · Dec 09, 2014 at 12:06 AM 0
Share

So, it's been a year and a half, has this been added or worked around in Unity?

avatar image Paulius-Liekis · Dec 09, 2014 at 12:23 AM 0
Share

These links do not mention anything regarding Handheld.PlayFullScreen$$anonymous$$ovie on Android, so why are you saying it does not work?

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

13 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

Related Questions

How can i do youtube video player from video url for Android devices ? 0 Answers

Streamreader read .txt file with Android 0 Answers

How do i stream audio? 0 Answers

Unity download audio 1 Answer

Build stripping and scenes in Asset Bundles 1 Answer


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