Comments (6)
I'm seeing the same problem.
I saw this link that they were having a similar problem in the KeychainPlugin
https://github.com/shazron/KeychainPlugin/issues/21
They also reference:
AllJoyn-Cordova/cordova-chat-alljoyn#4
It seem that initwithWebView is no longer needed in cordova-ios 4.0 and this causes an error.
In KeychainPlugin, it seems that the fix is to just comment out the whole function.
I tried that here, and it seemed to work for me, but I'm really not that familiar with ios programming, so I didn't fork the repository, but maybe the maintainer can try this fix out.
In other words, here:
/*
- (CDVPlugin_) initWithWebView:(UIWebView_)theWebView {
NSLog(@"-------------------------------------------------");
NSLog(@"INITWITHWEBVIEW");
self = (StreamingMedia*)[super initWithWebView:theWebView];
return self;
}
*/
from cordova-plugin-streaming-media.
@mluria thanks for the tip. I'm even less of an iOS programmer myself, so I wouldn't have tried that... I can confirm this solved my problem too, builds nicely and even works on a real device :)
@nchutchind can you confirm this solution is correct? Will you be committing this change to your code?
from cordova-plugin-streaming-media.
it looks like @nchutchind is no longer maintaining this code.
from cordova-plugin-streaming-media.
I've created a pull request to solve this problem, as indicated here in this issue: #44
from cordova-plugin-streaming-media.
@nchutchind - please approve the change
from cordova-plugin-streaming-media.
Or someone who understands this better than me fork and publish to npm
from cordova-plugin-streaming-media.
Related Issues (20)
- Height changed after video closes on <html> HOT 1
- initFullscreen audio option always true HOT 1
- Success and Failure callback not getting called in iOS HOT 1
- How to Play .m3u8 format HOT 4
- Video Controller is greyed out, e.g. play/pause button, fast forward or rewind buttons etc. when playing MP4 first time when App opens
- It is possible to take a single frame from a video streaming from RTSP on the player?
- we need this feature integration ??
- it would be possible to keep repeating HOT 1
- black screen popups and stay in screen after call playVideo() without error
- MediaPlayer Error: Unknown (1) -1005
- MediaPlayer Error: Unknown (1) -1007
- NullInjectorError: No provider for [object Object]!! HOT 1
- Android back button on first 3 seconds when the controller is shown are not stopping the video.Any Solution?
- cordova-plugin-streaming-media Seek bar show inappropriate behaviour and actin doesn't reflect after first attempt HOT 1
- Can we customize the UI of the Video Player HOT 1
- the video get smaller HOT 1
- Property 'plugins' does not exist on type 'Window'
- Audio stops when you turn off the screen and a few minutes pass on Android >=9
- How to Integrate AirPlay using this plugin in Ionic App?
- BSF Cordova Ecosystem Crowdfunding Plan
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-streaming-media.