Hi,
I'm working in a video galley on windows phone. I can play videos in remote servers, but I can't reproduce the same videos loaded locally.
What's the best practic to load the video from a local folder ?
The phone is has a windows 8.1
Thanks.
I'm working in a video galley on windows phone. I can play videos in remote servers, but I can't reproduce the same videos loaded locally.
What's the best practic to load the video from a local folder ?
The phone is has a windows 8.1
Thanks.
- 14 Posts
- 0 Reply Likes
- frustrated
Posted 4 years ago
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
@Marcelo,
Where is the video stored? Is it in the app bundle? Is it in the file system?
Jesse
Where is the video stored? Is it in the app bundle? Is it in the file system?
Jesse
- 14 Posts
- 0 Reply Likes
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
@Marcelo,
You should know by now that Phonegap is not a webbrowser.
What are your target platforms?
Which plugins have you installed to support the video? Audio?
Do you have Javascript or CSS in you index.html?
Jesse
You should know by now that Phonegap is not a webbrowser.
What are your target platforms?
Which plugins have you installed to support the video? Audio?
Do you have Javascript or CSS in you index.html?
Jesse
- 14 Posts
- 0 Reply Likes
@Jesse
I have a html5 video source like this:
That code working perfect but the video is loaded from a amazon. I need load the video from my app like this code:
Do you know some solution to this ? I'm really need a workaround to this. This code work perfect in Android and iOs.
Thanks a lot.
I have a html5 video source like this:
<source src="https://s3-sa-east-1.amazonaws.com/example/video.mp4" type="video/mp4" />
That code working perfect but the video is loaded from a amazon. I need load the video from my app like this code:
<source src="videos/video.mp4" type="video/mp4" />
Do you know some solution to this ? I'm really need a workaround to this. This code work perfect in Android and iOs.
Thanks a lot.
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
@Marcelo,
okay. We will start over again.
1) Phonegap is not a webserver or a webbrowser. Read the FAQ.
2) Which plugins are you using to play the video.
AGAIN, PHONEGAP IS NOT A WEBBROWSER. You can test your code in a webbrowser, but phonegap is not a webbrowser.
Let me know which parts are confusing.
Jesse
okay. We will start over again.
1) Phonegap is not a webserver or a webbrowser. Read the FAQ.
2) Which plugins are you using to play the video.
AGAIN, PHONEGAP IS NOT A WEBBROWSER. You can test your code in a webbrowser, but phonegap is not a webbrowser.
Let me know which parts are confusing.
Jesse
- 14 Posts
- 0 Reply Likes
@jesse
1) All my test was in a WINDOWS PHONE application. All the code, all tests was in windows phone. The video is showing perfect when I load it from a external server. But I can't load a simple video in the same folder where have my code.
2) I'm not using any plugin for play videos. Is only a
Let me know which parts are confusing.
Marcelo.
1) All my test was in a WINDOWS PHONE application. All the code, all tests was in windows phone. The video is showing perfect when I load it from a external server. But I can't load a simple video in the same folder where have my code.
2) I'm not using any plugin for play videos. Is only a
<video></video> element, it working perfect when load external videos, but not local.
Let me know which parts are confusing.
Marcelo.
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
@Marcelo,
We will start over.
1) Phonegap is not a webserver or a webbrowser. Read the FAQ.
2 ) What plugins are you using?
There is a solution to your issue. Please answer the question.
Thanks
Jesse
We will start over.
1) Phonegap is not a webserver or a webbrowser. Read the FAQ.
2 ) What plugins are you using?
There is a solution to your issue. Please answer the question.
Thanks
Jesse
- 14 Posts
- 0 Reply Likes
@Jesse
What's your problem ? I need help to reproduce a simple video in app for windows phone. Please if you can't help, please stop repeat the same answer.
What's your problem ? I need help to reproduce a simple video in app for windows phone. Please if you can't help, please stop repeat the same answer.
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
Sorry. The forum server did not see my first posts, then the posts showed up. I'm reading your reply now.
Jesse
Jesse
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
@Marcelo,
sorry for the message confusion. Some was wrong with the forum server, I did not see your message until now.
In response to your server, your issues could be caused by one several issues.
1) Phonegap links to the local "webview" library (on the device) when it builds your app. If the library does not support video, then the video will not work.
2) Your issue could be that you need to use local file URL ms-appdata://, but I don't know for sure.
2) Your issue is likely a whitelist issue, however, I cannot tell you if this will work because your are not answering the question:
AGAIN: What plugins are you using? If you are using none, then say so. Otherwise, list the plugins.
Jesse
sorry for the message confusion. Some was wrong with the forum server, I did not see your message until now.
In response to your server, your issues could be caused by one several issues.
1) Phonegap links to the local "webview" library (on the device) when it builds your app. If the library does not support video, then the video will not work.
2) Your issue could be that you need to use local file URL ms-appdata://, but I don't know for sure.
2) Your issue is likely a whitelist issue, however, I cannot tell you if this will work because your are not answering the question:
AGAIN: What plugins are you using? If you are using none, then say so. Otherwise, list the plugins.
Jesse
- 14 Posts
- 0 Reply Likes
@jesse
Thanks for your answer.
1. The video is working when load a external url. Is not a "webview" problem.
2. I try use ms-appdata:// but the video player is return a "aborted" error.
3. Yes, maybe is a whitelist issue. What's the correct way to set the config file to load local files ? I never have this problem in iOs or Android. I'm using phonegap build.
I'm not using a plugin because:
1. This videos are working fine with external links.
2. I don't found any video plugin for window phone.
Phonegap don't have any standard plugin for windows phone ?
Thanks a lot!
Thanks for your answer.
1. The video is working when load a external url. Is not a "webview" problem.
2. I try use ms-appdata:// but the video player is return a "aborted" error.
3. Yes, maybe is a whitelist issue. What's the correct way to set the config file to load local files ? I never have this problem in iOs or Android. I'm using phonegap build.
I'm not using a plugin because:
1. This videos are working fine with external links.
2. I don't found any video plugin for window phone.
Phonegap don't have any standard plugin for windows phone ?
Thanks a lot!
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
@Marcelo,
it appears you are having a challenge with English. I've asked you three times to please list your plugins. I have also stated if you are using no plugins, please you are using none. Your only response has been "I use no video plugin"
Please post your config.xml. Or put the file somewhere on the web where it is publicly viewable. Most issues when using Phonegap are related to improper configuration. Please post your config.xml some place public so I can look at it.
Jesse
it appears you are having a challenge with English. I've asked you three times to please list your plugins. I have also stated if you are using no plugins, please you are using none. Your only response has been "I use no video plugin"
Please post your config.xml. Or put the file somewhere on the web where it is publicly viewable. Most issues when using Phonegap are related to improper configuration. Please post your config.xml some place public so I can look at it.
Jesse
- 14 Posts
- 0 Reply Likes
These are my plugins.
Thanks
<plugin name="cordova-plugin-screen-orientation" spec="1.4.0" source="pgb" />
<plugin name="cordova-plugin-battery-status" source="npm" spec="~1.1.1" />
<plugin name="cordova-plugin-camera" source="npm" spec="~2.1.1" />
<plugin name="cordova-plugin-media-capture" source="npm" spec="~1.2.0" />
<plugin name="cordova-plugin-console" source="npm" spec="~1.0.2" />
<plugin name="cordova-plugin-contacts" source="npm" spec="~2.0.1" />
<plugin name="cordova-plugin-device" source="npm" spec="~1.1.1" />
<plugin name="cordova-plugin-device-motion" source="npm" spec="~1.2.0" />
<plugin name="cordova-plugin-device-orientation" source="npm" spec="~1.0.2" />
<plugin name="cordova-plugin-dialogs" source="npm" spec="~1.2.0" />
<plugin name="cordova-plugin-file" source="npm" spec="~4.1.1" />
<plugin name="cordova-plugin-file-transfer" source="npm" spec="~1.5.0" />
<plugin name="cordova-plugin-geolocation" source="npm" spec="~2.1.0" />
<plugin name="cordova-plugin-globalization" source="npm" spec="~1.0.3" /><plugin name="cordova-plugin-inappbrowser" source="npm" spec="~1.3.0" />
<plugin name="cordova-plugin-media" source="npm" spec="~2.2.0" />
<plugin name="cordova-plugin-network-information" source="npm" spec="~1.2.0" />
<plugin name="cordova-plugin-splashscreen" source="npm" spec="~3.2.1" />
<plugin name="cordova-plugin-statusbar" source="npm" spec="~2.1.2" />
<plugin name="cordova-plugin-vibration" source="npm" spec="~2.1.0" />
<plugin name="cordova-plugin-whitelist" source="npm" spec="~1.2.1" />
Thanks
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
@Marcelo,
I asked you to post the config.xml. So either your English is bad _or_ you think this is some type of game.
I am no longer going to help you. Someone else will answer your questions.
Best of Luck
Jesse
I asked you to post the config.xml. So either your English is bad _or_ you think this is some type of game.
I am no longer going to help you. Someone else will answer your questions.
Best of Luck
Jesse
Related Categories
-
PhoneGap Build
- 15111 Conversations
- 275 Followers

