• 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 Julian-Glenn · Mar 16, 2011 at 05:37 PM · videoiphoneutils

iPhoneUtils.PlayMovieURL Can the URL be the /Documents folder?

Folks,

I couldn't find an answer to this question:

Can the "Movie" be in the readable/writable /Documents folder. i.e User chooses a vid from the ones on their device using an objC plugin which copies it over to the /Documents folder, which I then access at runtime by forming an URL from the filePath?

/Julian

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 jsr2k1 · Nov 16, 2011 at 08:24 AM 0
Share

Hello everyone, I also need to play videos from documents folder on iphone. I tried with Unity 3.3 and Unity 3.4.2, but the video isn't loaded. It just shows a black screen. Any idea?

Joel

avatar image mohanrao164 · Nov 16, 2011 at 10:06 AM 0
Share

the videos will only work for the pro version.check this once

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by jsr2k1 · Nov 16, 2011 at 11:07 AM

Ok, I found that videos can be played from Documents folder.

But be careful, If I have spaces in the file path then the video doesn't work, just black screen.

Joel

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

How to disable iPhoneUtils.PlayMovie fade in? 0 Answers

PlayMovieURL issue with iOS 5.0.1 2 Answers

IphoneUtils.PlayMovie for Android 1 Answer

How do I play a full screen video? 4 Answers

Animated GIF and Audio Instead of Video? 3 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges