Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VideoSource for local files #5

Open
AlessandroDelSole opened this issue Aug 12, 2016 · 3 comments
Open

VideoSource for local files #5

AlessandroDelSole opened this issue Aug 12, 2016 · 3 comments
Labels

Comments

@AlessandroDelSole
Copy link

Hi, I love your plugin but I'm unable to play local videos. I see I can play videos via http, but how can I play say an embedded video? Any examples about that? I have an app that must work offline and therefore must bring its own videos. Thanks!

@odrowonz
Copy link

odrowonz commented Aug 15, 2016

Hi, for Droid try to set property VideoSource="android.resource://nameproject.Droid/raw/video1" and video1.mp4 put to solution\nameproject.Droid\Resources\raw\video1.mp4

@odrowonz
Copy link

odrowonz commented Aug 15, 2016

I did not get to play video from /data/user/0/nameproject.Droid/files/video1.mp4
Any idea?

@ravensorb
Copy link
Owner

Have you enabled it from a security perspective? And I think the file url format is a bit different for local content.

Note: This plugin in may be of help (it is more actively maintained right now) - https://github.com/martijn00/XamarinMediaManager

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants