Good day,
Please am building a streaming app and am 80% done using phonegapbuild but I really need assistance streaming the video through the android native player or any other simpler means. i have tried all i know but nothing is working. please can you help, this is a sample of my streaming link rtsp://154.obj.netromedia.net/username/Lfinconvi. thank you.
Please am building a streaming app and am 80% done using phonegapbuild but I really need assistance streaming the video through the android native player or any other simpler means. i have tried all i know but nothing is working. please can you help, this is a sample of my streaming link rtsp://154.obj.netromedia.net/username/Lfinconvi. thank you.
- 8 Posts
- 0 Reply Likes
Posted 4 years ago
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
@desmond,
Phonegap is not a webserver or a webbrowser. Which plugins are you using? or are you trying to use an HTML5 API? If so, which one?
Jesse
Phonegap is not a webserver or a webbrowser. Which plugins are you using? or are you trying to use an HTML5 API? If so, which one?
Jesse
- 8 Posts
- 0 Reply Likes
I just need to know how to play a streaming video using a plugin or even better the android native player.
i tried using this plugin
here is my onclick event function
function stream(){
var videoUrl = window.localStorage.getItem("android_link", android_link);
// Just play a video
window.plugins.streamingMedia.playVideo(videoUrl);
// Play a video with callbacks
var options = {
successCallback: function() {
console.log("Video was closed without error.");
},
errorCallback: function(errMsg) {
console.log("Error! " + errMsg);
}
};
window.plugins.streamingMedia.playVideo(videoUrl, options);
}
i tried using this plugin
here is my onclick event function
function stream(){
var videoUrl = window.localStorage.getItem("android_link", android_link);
// Just play a video
window.plugins.streamingMedia.playVideo(videoUrl);
// Play a video with callbacks
var options = {
successCallback: function() {
console.log("Video was closed without error.");
},
errorCallback: function(errMsg) {
console.log("Error! " + errMsg);
}
};
window.plugins.streamingMedia.playVideo(videoUrl, options);
}
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
Your answer implies you are either new to phonegap of new to mobile development. In short, you are below a beginner. Any answer I give you will lead you in the wrong direction.
Which tutorials have you done? You are not ready to play a video file. You do not have the basic knowledge.
Jesse
Which tutorials have you done? You are not ready to play a video file. You do not have the basic knowledge.
Jesse
- 8 Posts
- 0 Reply Likes
yes am new with phonegapbuild. if you can just lead me to a perfect direction, trust me you wont be wasting your time.
This is the plugin i used .
And there is no detailed tutorial on the web on how to use this plugins.
Thank you.
This is the plugin i used .
And there is no detailed tutorial on the web on how to use this plugins.
Thank you.
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
Desmond,
Jesse will certainly be able to direct you to the precise relevant information. But your plugin is not visible in your post, most likely because you have posted an XML element (as a "tag") and failed to read and apply the forum info on how to do that.
See "some HTML allowed" and specifically the CODE element.
Jesse will certainly be able to direct you to the precise relevant information. But your plugin is not visible in your post, most likely because you have posted an XML element (as a "tag") and failed to read and apply the forum info on how to do that.
See "some HTML allowed" and specifically the CODE element.
- 8 Posts
- 0 Reply Likes
I already solved it, I did not call the cordova.js;
Everything works perfectly now. That was my only error. Am new to phonegap but this is my second app. my first had over 2,000 downloads on the google play store. let me see how far my second will go. Thanks.
Everything works perfectly now. That was my only error. Am new to phonegap but this is my second app. my first had over 2,000 downloads on the google play store. let me see how far my second will go. Thanks.
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
HMMMM..... how interesting...
@desmond,
Once, this conversation is complete, please move new converstations to
the new forum at: https://forums.adobe.com/community/phonegap/build
Thanks
Jesse
@desmond,
Once, this conversation is complete, please move new converstations to
the new forum at: https://forums.adobe.com/community/phonegap/build
Thanks
Jesse
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
Jesse, why? Why?
Let the folks stay here if they want.
(Sitting in a bar, you don't invite everyone to move to nextdoor's place, either, do you?)
Let the folks stay here if they want.
(Sitting in a bar, you don't invite everyone to move to nextdoor's place, either, do you?)
(Edited)
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
@Petra,
We are moving. You should be prepared. I don't like the new forum either.
Jesse
We are moving. You should be prepared. I don't like the new forum either.
Jesse
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
Then don't urge people to move.
As long as this place attracts many more denizens than the other forum, they won't be daft enough to shut down this forum.
As long as this place attracts many more denizens than the other forum, they won't be daft enough to shut down this forum.
Related Categories
-
PhoneGap Build
- 15111 Conversations
- 275 Followers
-
Plugins
- 1283 Conversations
- 38 Followers


