cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snstarosciak <>
Subject [GitHub] cordova-plugin-media pull request: Streaming & Background threadin...
Date Thu, 03 Dec 2015 17:50:32 GMT
Github user snstarosciak commented on the pull request:
    @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:
    `<video controls="controls" preload="metadata" webkit-playsinline="webkit-playsinline"
                <source ng-src="{{resourceURL | trustAsResourceUrl}}" type="video/mp4"/>
    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)
    `<video controls="controls" preload="metadata" webkit-playsinline="webkit-playsinline"
                <source src="cdvfile://localhost/library-nosync/resources/resource-0/resource-0.mp4"
    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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message