[GitHub] cordova-plugin-media pull request: Streaming & Background threadin...

2015-12-03 Thread snstarosciak
Github user snstarosciak commented on the pull request:


https://github.com/apache/cordova-plugin-media/pull/62#issuecomment-161878128
  
@ghenry22 Oh man, this is great! I'll try this all out and let you know how 
it goes. I appreciate you nudging me into the right direction for stuff to try 
out and test :)


---
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



[GitHub] cordova-plugin-media pull request: Streaming & Background threadin...

2015-12-03 Thread snstarosciak
Github user snstarosciak commented on the pull request:


https://github.com/apache/cordova-plugin-media/pull/62#issuecomment-161729984
  
@ghenry22 Hellooo sir. I know this isn't really the appropriate place to 
ask this question, but it was the only way I knew I could contact you and have 
the question still be relevant. The media plugin stuff works great with iOS 9 
:) 

My problem that I can't seem to solve, no matter how hard I try is 
basically trying to play a mp4 file in an HTML 5 video player like so:

`

  `

resourceURL looks like 
"cdvfile://localhost/library-nosync/resources/resource-0/resource-0.mp4"

when I try playing the same exact video that I'm hosting from an external 
server, the video plays no problem in iOS 9.

Is there some kind of weird file system filepath issue I'm not thinking of? 
Do HTML 5 audio/video tags not like "ng-src"? Even when I try to do a direct 
src to the file in my emulator, it doesn't play. Since the html 5 video player 
only seems to work at all when running ionic emulate ios, instead of ionic 
emulate ios -lcs, I can't see any logs if it's spitting out an error, because 
it definitely isn't when I run it with -lcs.

Here is the code for trying to src it directly to the file that exists on 
the emulator (or at least when I run the emulator in -lcs mode)

`

  `

Are there any alternatives or things I can try? I'd love to answer my 
question in both the ionic and stackoverflow forums for other people who may 
have the same issue


---
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



[GitHub] cordova-plugin-media pull request: Streaming & Background threadin...

2015-11-24 Thread snstarosciak
Github user snstarosciak commented on the pull request:


https://github.com/apache/cordova-plugin-media/pull/62#issuecomment-159498834
  
@ghenry22 Ahhh thankyou so much man, you've been a huge help :) :+1: Though 
I can get audio to work, I may need to try testing it in an HTML 5 audio player 
to see if it runs into a similar issue as an HTML video player with video 
files, but either way, at least one major problem fixed :P

Thanks dude!


---
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



[GitHub] cordova-plugin-media pull request: Streaming & Background threadin...

2015-11-24 Thread snstarosciak
Github user snstarosciak commented on the pull request:


https://github.com/apache/cordova-plugin-media/pull/62#issuecomment-159325716
  
@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 :+1: 

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?


---
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



[GitHub] cordova-plugin-media pull request: Streaming & Background threadin...

2015-11-23 Thread snstarosciak
Github user snstarosciak commented on the pull request:


https://github.com/apache/cordova-plugin-media/pull/62#issuecomment-159167419
  
@ghenry22 @dduwab - Hey guys, I'm glad to see I'm not the only one running 
into this issue. I, too, have run into an issue where I can't seem to play an 
mp3 file from my local device after it's been downloaded using the ngCordova 
File Transfer plugin for ionic. I'm using xCode 7.1 and iOS 9 and this is 
happening on both the emulator and my iPhone 6s plus. 

One thing I should note is that it works flawlessly on an android device, 
but for some reason iOS 9 doesn't want to play the audio. I can play the audio 
from an http:// address or from a directory inside www, but when it has file:// 
in front of it, it doesn't play, it doesn't give me an error, in fact, I've 
made a stackoverflow and ionic forum for this issue. I'm all out of options on 
this and I don't know what to do :/

Here is the post: 
http://stackoverflow.com/questions/33837326/ios-9-can-t-play-audio-video-files-that-are-downloaded-to-device

I should also note that I can't seem to play mp4 files in a  tag, 
when the source of the file is from my local device. This is actually separate 
from the media-plugin, but maybe there's some insight to be had from this 
problem as well. File Plugin? File Transfer plugin? I'm not sure. 

Thanks in advance :D


---
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