Github user ghenry22 commented on the pull request:

    
https://github.com/apache/cordova-plugin-media/pull/62#issuecomment-159431966
  
    That function just gets the directory that you would store your files in.  
You can then append any file name you want to access.  For example you could 
use the same with say pic.jpg to get a path to an image file to display, it's 
just a path to a file, doesn't matter what type of file.
    
    I imagine you could then just use html5 video tags to play the video file, 
as long as it is in a format that the built in webview on the device can play.  
You'd have to do some research though, I don't play any video in my apps so I 
really don't know the best way to handle it or encoding requirements.
    
    Cheers
    Gaven
    
    > On 25 Nov 2015, at 12:32 AM, Stevie Starosciak <notificati...@github.com> 
wrote:
    > 
    > @ghenry22 - If I could hug you...I would squeeze you until you popped, 
like a balloon. I tested a combination of that code out with mine AND IT 
WORKED. I never thought there was light at the end of the tunnel with this 
problem haha thankyou so much :) I will answer this question on stackoverflow 
and accept it so people can also have their problems solved 
    > 
    > One more thing, does this function:
    > 
    > $window.resolveLocalFileSystemURL(src, function(dir){
    > basePath = dir.toInternalURL();
    > });
    > 
    > Only work for mp3 files or something, because I'm utilizing this for a 
.mov file but that function doesn't seem to resolve the URL for that, but will 
with an mp3 file. Any idea?
    > 
    > —
    > Reply to this email directly or view it on GitHub.
    > 



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to