Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

Play local video from library

$
0
0

Hello,

I am using the Xamarin Media Manager, mentioned here:

https://github.com/martijn00/XamarinMediaManager
https://blog.xamarin.com/play-audio-and-video-with-the-mediamanager-plugin-for-xamarin/

It works playing the video on the web as in the sample "http://path-to-video.mp4"

But I want to play a local video from the photo / video library on i.e. the iPhone.

I am using James Montemagno's Media Plugin to select the video, so I have the path to the video (example:
var/mobile/Containers/Data/Application/EE861FD7-AC7B-4035-930A-410E714851A6/Documents/temp/0F308739-2948-4024-BEC6-D55463936641.MOV)

The player does not play this local video !!!!

Any suggestions why ?

All samples I can found in the internet do play internet videos with a given URL.

I am not sure if the player can play ".mov" files because of of the internet videos are ".mp4" files ?
Or do I need to copy the local video before playing it ?

Does anyone have a code snippet accessing a local video file ?

Best

Marco


Viewing all articles
Browse latest Browse all 89864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>