For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 12 replies, 3 voices, and was last updated 12 years, 5 months ago by
support-michael.
-
AuthorPosts
-
MuhammadMemberI have error like this after upgrade to mobione 2.5.0.m3
See attachment Image 7.png
Attachments:
You must be logged in to view attached files.October 18, 2013 at 12:23 pm #343516
MuhammadMemberIt had the same problem when I made the simple project.
I tried a simple sound widget and mp3 file, and get the same error.See attachment Image 8.png
Attachments:
You must be logged in to view attached files.October 18, 2013 at 1:35 pm #343519
support-octavioMemberHi Muhammad,
Thanks for reporting the issue, I have replicated the issue and reported to dev team. Noted that it is on Test Center, in the meantime we find the problem you can use the Web Simulator to test your project.
October 21, 2013 at 12:21 pm #343574
MuhammadMemberDo you have any update for this issue?
Thank youOctober 21, 2013 at 3:39 pm #343580
support-michaelKeymaster>Do you have any update for this issue?
The issue is with the Test Center in 2.5m3 and the newly implementation for the audio widget. We completely overhauled of the audio player widget implementation in 2.5m3 and the Test Center is not yet compatible with these changes. We will have a fix in the mobione 2.5 production version planned for next week. If you are blocked please switch to using the Mobile Web Simulator (see Window>Settings>).
Also please be aware that the Test Center is being phased out and that the new Mobile Web Simulator will have higher maintenance priority starting with mobione 2.5. You can read about it here http://www.genuitec.com/mobile/docs/highlights/2.5.0M3/2.5.0M3_highlights.html
October 22, 2013 at 12:08 pm #343631
MuhammadMemberThe problem is not the simple audio widget only, but my big project also has the same error.
I can not play sound which has the same error.
So I think the problem is not only test center, but uiphone.js.Did you have any change the sound functions in phoneui.js ?
// compat layer phoneui.activeAudioPlayer = function(widgetId) { var player = widgetId ? AudioPlayerWidget.fromWidget("#" + widgetId) : AudioPlayerWidget.active; return { jPlayer: function(verb, param1, param2) { console.warn("jPlayer API is DEPRECATED and will be removed in future. Please use AudioPlayerWidget and phoneui.createMedia()"); if (verb === "play") { player.play(); } else if (verb === "pause") { player.pause(); } else if (verb === "stop") { player.getMedia().stop(); } else if (verb === "setMedia") { player.setMedia(param1.mp3); } else { throw Error("Illegal command: " + verb); } } }; };October 22, 2013 at 12:24 pm #343633
support-michaelKeymaster>So I think the problem is not only test center
I forgot to mention that the Test Center (obsolete after 2.5) was not updated in 2.5m3 to support the revised audio api. We will fix this in the 2.5 production version planned for next week. Please switch to using the new Mobile Web Simulator asap as it will always get top priority improvement from this point forward – the Test Center is deprecated and will be removed from mobione in a future release.
>Did you have any change the sound functions in phoneui.js ?
Yes, I my previous comment I shared that the audio widget api has changed and referenced the new api in the highlights document. See the following:
/** * return the audioPlayer that is active * * @param nodeId optional String DOM node id of an audio widget to make active */ phoneui.activeAudioPlayer([nodeId]) /** * Examples * phoneui.activeAudioPlayer().jPlayer("play"); * phoneui.activeAudioPlayer().jPlayer("pause"); * phoneui.activeAudioPlayer("audio-container").jPlayer("play"); */If you have an issue updating your code to this new api please share the code and we can make suggestions.
October 22, 2013 at 1:35 pm #343637
MuhammadMemberIts like not need the “#” character also.
As I use like this thread,
http://www.genuitec.com/support-genuitec/viewtopic.php?f=8&t=6183&hilit=bind
Its need to change this code?
phoneui.activeAudioPlayer(“m1-index4-audio3-container”).bind(“ended”, function(){
alert(“test”)
});
October 22, 2013 at 2:00 pm #343640
MuhammadMemberIs it possible to downgrade previous version (2.5.0m2)?
Include removing the # character issue, I need to change a lot project If use new version.Please make consistently in each version for using # character in function.
October 22, 2013 at 2:34 pm #343645
support-michaelKeymasterYou can rollback to 2.5M2 (hot-fix 1) using this installer: downloads1.genuitec.com/downloads/products/mobione/2.5/2.5M2HF1/MobiOne_2.5.0M2HF1a_Installer.exe
You should uninstall MobiOne 2.5M3 before running this installer. When 2.5M2 starts up it will give you the option to upgrade to 2.5 milestone-3, just cancel the upgrade dialog and continue your use of 2.5M2.
Note: MobiOne 2.5M2 will expire on Nov 1. We plan to ship the 2.5 production version before that time.
October 24, 2013 at 4:05 pm #343800
MuhammadMemberThank you for your support.
Now, I use the old version, and audio play is running well.October 31, 2013 at 6:55 pm #343983
MuhammadMemberIs this version not able to work anymore?
downloads1.genuitec.com/downloads/products/mobione/2.5/2.5M2HF1/MobiOne_2.5.0M2HF1a_Installer.exe
October 31, 2013 at 7:08 pm #343986
support-michaelKeymasterCorrect 2.5m2 expired today and you must update to 2.5 milestone-3 or rollback to 2.3. Or wait for MobiOne 2.5. We are very close to releasing 2.5 production. Found a late bug yesterday that delayed the release. We are planning to roll it out tomorrow (friday) once it finishes a final pass in QA.
-
AuthorPosts
