Playing videos from within the application using Phonegap.
I am trying to get videos to play videos from within a PhoneGap app across IOS/Android/WP8 that will play videos contained within the phonegap app. I have accomplished getting videos on Android and IOS but getting it working on WP8 has left me stumped
as I have not been able to find anyone even attempting to getting videos to play from within a phonegap application on WP8. So if anyone knows how to do this, or any suggestions of what direction I should look for a solution (I'm assuming it doesn't
work as because of how IE treats videos on WP8 and will not load off the device)
(Yes I know this is probably not the first place to look for solutions,and its not I've been looking elsewhere as well, but there is very few people supporting phone gap on WP8 elsewhere so this seems like the best place to maybe get some help/ideas)
Hi Mwengil,
You are asking questions about third-party library. It’s out of our support range.
Please refer to check the API documentation.
http://docs.phonegap.com/en/4.0.0/index.html or try to contact library official site.
http://phonegap.com/about/contact/.
Thank you for understanding. If you have any questions about windows phone development, you are always welcome posting here.
Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
the survey.
Similar Messages
-
How to create Default Schema from within the application
Hi friends
I am creating users using the following within my application using this syntax
BEGIN
APEX_UTIL.CREATE_USER
(:P124_USER_ID, :P124_USER_NAME,:P124_USER_FIRST_NAME,:P124_USER_LAST_NAME,' ',:P124_USER_EMAIL_ID,'xxxx');
END;
The default workspace for the user is set as blanks. I would like to set it to be the default workspace as per the current logged in user.
Can you help me with the syntax for this
thank you in advance
LaxmiLaxmi,
The subject of the post is "How to create Default Schema from within the application".
But your question asks how to set the "default workspace" for a newly created user.
Those are different questions and not the ones I think you need answered.
Let me answer this question "How can you set the default schema for an account when creating the account and set it to the same value used for the default schema attribute of the administrator account used to authenticate to the currently running application?".
In the apex_util.create_user call use named parameter notation and fetch the information about the currently logged-in user first, e.g.,declare
l_workspace varchar2(256);
l_user_name varchar2(256);
l_first_name varchar2(256);
l_last_name varchar2(256);
l_web_password varchar2(256);
l_email_address varchar2(256);
l_start_date varchar2(256);
l_end_date varchar2(256);
l_employee_id varchar2(256);
l_allow_access_to_schemas varchar2(256);
l_person_type varchar2(256);
l_default_schema varchar2(256);
l_groups varchar2(256);
l_developer_role varchar2(256);
l_description varchar2(256);
begin
apex_util.fetch_user (
p_user_id => apex_util.get_current_user_id,
p_workspace => l_workspace,
p_user_name => l_user_name,
p_first_name => l_first_name,
p_last_name => l_last_name,
p_web_password => l_web_password,
p_email_address => l_email_address,
p_start_date => l_start_date,
p_end_date => l_end_date,
p_employee_id => l_employee_id,
p_allow_access_to_schemas => l_allow_access_to_schemas,
p_person_type => l_person_type,
p_default_schema => l_default_schema,
p_groups => l_groups,
p_developer_role => l_developer_role,
p_description => l_description);
apex_util.create_user(
p_user_id => :P124_USER_ID,
p_user_name => :P124_USER_NAME,
p_first_name => :P124_USER_FIRST_NAME,
p_last_name => :P124_USER_LAST_NAME,
p_email_address => :P124_USER_EMAIL_ID,
p_web_password => 'xxxx',
p_default_schema => l_default_schema);
end;Scott -
I can not purchase from within the application clash of clans where necessary to answer the security questions that forgot their answers please help thank you
If you have a rescue email address (which is not the same thing as an alternate email address) set up on your account then you can go to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into your account. Then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you should see an option to send security question reset info to your rescue email address.
If you don't have a rescue email address (you won't be able to add one until you can answer 2 of your questions) then see if this user tip helps : https://discussions.apple.com/docs/DOC-4551
e.g. you can try contacting iTunes Support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Account Management , and then try Apple ID Account Security
or try ringing Apple in your country and ask to talk to the Accounts Security Team : http://support.apple.com/kb/HE57
When they've been reset you can then use the steps half-way down this page to add a rescue email address for potential future use : http://support.apple.com/kb/HT5312 -
I didn't receive my purchases from within the application!
May be purchased from within one application yesterday but I did not receive my purchases.
If you didn't receive what you purchased in the application, you will need to contact iTunes store support.
http://www.apple.com/lae/support/itunes/contact/
File a ticket using the link above.
HTH -
I have Outlook 2013 running on Windows 7 Pro 64-Bit with Lync 2013 (Office 365 Pro). We are using a 3rd party TAPI app from FortiVoice. WE would like to be able to place calls directly from
within Outlook either by selecting a telephone number within an email and/or via the PEOPLE (Contacts) area.
What guidelines should we use to enable this feature and not have Lync 2013 intercepting the process i.e. let OUTLOOK handle placing calls?
Thanks in advance for any feedback provided.Hi,
There seems no solution for this issue so far.
Here is a fix for older versions of Outlook, maybe worth a try.
http://support.microsoft.com/kb/959625/en-us
However, if it doesn’t work, please try Malte’s reply as the workaround in the following thread. See:
http://social.technet.microsoft.com/Forums/office/en-US/3946f1bb-cc3d-41b6-ab9c-092d62d024d1/outlook-2013-tapi-calling-with-lync-installed?forum=officesetupdeploy
Thanks.
Steve Fan
TechNet Community Support
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
C# Playing Video From A Memory Stream Using DirectShow (quartz.dll).
I have a C# Visual Studio WinForms app that plays video using the QuartzTypeLib (quartz.dll). With the code I've written, I can play any video file from the hard drive. Here's the code at the top that executes when the app starts:
public const int WS_CHILD = 0x40000000;
public const int WS_CLIPCHILDREN = 0x2000000;
public QuartzTypeLib.IMediaControl mc;
public QuartzTypeLib.IVideoWindow videoWindow = null;
IMediaPosition mp = null;
And here's the code that opens the video file:
private void openMediaToolStripMenuItem_Click(object sender, EventArgs e)
// Open a media file.
OpenFileDialog ofd = new OpenFileDialog();
ofd.Filter = "Video Files|*.mpg;*.avi;*;*.wmv;*.mov";
ofd.FilterIndex = 1;
if (DialogResult.OK == ofd.ShowDialog())
// Stop the playback for the current movie if a video is currently playing.
if (mc != null)
mc.Stop();
if (pbVideoDisplay.Image != null)
pbVideoDisplay.Image = null;
// Load the movie file.
FilgraphManager graphManager = new FilgraphManager();
graphManager.RenderFile(ofd.FileName);
mp = graphManager as IMediaPosition;
mc = (IMediaControl)graphManager;
tsbtnPlay.Enabled = tsbtnPause.Enabled = tsbtnStop.Enabled = true;
// Attach the view to the picture box (pbVideoDisplay) on frmMain.
try
videoWindow = (IVideoWindow)graphManager;
videoWindow.Owner = (int)pbVideoDisplay.Handle;
videoWindow.WindowStyle = WS_CHILD | WS_CLIPCHILDREN;
videoWindow.SetWindowPosition(
pbVideoDisplay.ClientRectangle.Left,
pbVideoDisplay.ClientRectangle.Top,
pbVideoDisplay.ClientRectangle.Width,
pbVideoDisplay.ClientRectangle.Height);
catch //(Exception Ex)
// I'll write code for this when I have a need to.
// Now we convert the video to a byte array.
FileStream fs = new FileStream(ofd.FileName, FileMode.Open, FileAccess.Read);
try
// Here we convert the video to Base 64.
VideoInBytes = new byte[fs.Length];
VideoInBytes = System.Text.Encoding.UTF8.GetBytes(ofd.FileName);
VideoInBase64 = Convert.ToBase64String(VideoInBytes);
catch //(Exception Ex)
//throw new Exception("Error in base64Encode" + Ex.Message); Worry about this later.
Notice that I have code that converts the video to a Base64 string. I'd like to add code that will allow me to play a video from a memory stream or any other type of stream that might work better. Is that even possible and if so, what code would I need to add
and where would I put it?You should be able to do it by developing a plug-in for the existing DShow filter. For instance, wmv files are being opened/read with the "WM ASF Reader" filter. You can register your own protocol and implement your own plug-in for that protocol
(e.g. you could name it 'memory', and your URL would look like
memory://something.wmv). You can register your protocol under the [HKEY_CLASSES_ROOT\memory\Extensions] by creating a new string value with the file extension as a name (.wmv). The value is the WM ASF Readers's
GUID ({187463A0-5BB7-11D3-ACBE-0080C75E246E}).
You also need to register your plugin that will be used for a wmv file when used with the 'memory' protocol.
In [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media\WMSDK\sources] create a new string value with the protocol name and the value is a path to you DLL plug-in. Your plug-in must implement the IStream interface. The plugin DLL exports a single function:
HRESULT WMCreateStreamForURL( LPCWSTR pwszURL, BOOL *pfCorrectSource, IStream **ppStream )
MSDN can provide more info on WMCreateStreamForURL() and plugins in general.
Once you do that, what will happen is this: each time you open a file like "memory://myfile.wmv", the WM ASF Reader filter will load your plugin, call WMCreateStreamForURL() and it will use your custom IStream object for all read/write operations. -
Unable to open CS3 Files from within the application
Good Afternoon
I work as IT Support for company looking after 10 ADOBE Creative Suite 3 end-users.
One of my colleagues is unable to open Illustrator or Photoshop files from within their respective applications, but she is able to open them from outside ok.
I have reinstalled ADOBE CS3 and this appeared to resolve the issue, only for it to return again a day later.
She has no other applications or processes running during her attempt to open a file from within CS3.
She will click on Open and the 'Open File' window will flash up for a split second, then the whole application will be frozen. It is as if the 'Open File' window is there, but isnt there because we cant click on it, but the application thinks it is displaying and so she can not click on anything else. The only way to close the application is to end the process under Task Manager.
While I am sitting here tearing what little amount of hair I have on my head, can anyone point me in the right direction?
Is this a Windows problem or an ADOBE problem do you think?
I look forward to any replies.
Thank youHi Bob
Ok...
Opened illustrator but was unable to open the 'Open File' window.
Changed the screen resolution, it suddenly worked!
Changed the screen resolution back to as it was before, it also worked.
What could cause this do you think?
By simply changing the screen resolution and back again, the 'Open File' window displayed itself.
Very bizarre! -
ITunes Won't Upgrade from within the Application
Today I clicked on "Help->Check for Updates" in iTunes(iTunes 10.1.1), after which iTunes displayed the message "iTunes 10.2 is available for download" . I clicked on "download itunes" and mouse pointer turned into an hourglass for about 30 seconds and then went back to an arrow. Nothing else happened. I then tried clicking on "Start->Programs->Apple Updater" .
The updated said it was checking for updates and then displayed "all software is up to date". I clicked on ok and then updater window closed.
I went to "Control Panel->programs and features" and then clicked the "repair" option for the Apple Updater application. That ran but the above symptoms did not change. When I tried updating again.
Any ideas on how to fix this? I can surely go to Apple's Web site, download the latest iTunes, and then install the upgrade, but I'd also like to fix the updater so that it works.
Thanks in advanceHey Jimmy, just wondering how you got on? I've exactly the same problem and don't know what to do either!
-
Using System.err.println() from within the classes of WAS ?
hi,
I am using admin.jar,a jar file which is being used by Web Application Server in my own class.
I am referencing some of the classes from admin.jar from my class.
I tried to print some trace statements,using System.err.println() from within the classes in admin.jar but they did not reflect in defaulttrace0.trc.
I made these changes in the admin.jar being used by WAS.
I restarted the server and even restarted the machine but without success.
I want to know how to print System.out.println() statements from within the classes in admin.jar.
Also, am i looking for these statements in the right file for eg. defaulttrace0.trc. or is it some other file that i need to look into.
I need urgent help on this.
Reward points assured.
thanks a lot.
Sauravthanks craig,
ur answer has helped me a lot.but it didnt quite help me.
nevertheless i am trying to set different levels of severity.
Is there anything else that i can do.
Also,i commented out a line of code today in one of the class DataSourceManagerImpl.java in sapj2eenginedeploy.jar
for eg. temp.delete in it deploy method.Buth that line still executed.
I m totally lost as to wht to do.
I m trying to create a datasource from my application in WAS.For that i m using the WAS APIs.But its not working completely.
I am using the above jar and its method createdatasource.
I am callin it from my application's class.
It creates a datasource and i can see it in JDBC Connector list in Visual Administrator.But it appears with red sign meaning its not started.When i start it from the tool then it starts.
But in defaulttrace.trc file it shows an error "FileNotFindException". This happens,and i am very much sure, in the deploy() of DataSourceManagerImpl.java class of sapj2eenginedeploy.jar.
i want to apply println inside this method so i may know where exactly i ma getting the error and get so more info so i may solve my problem.
pls help me.
its really urgent.
thanks again
saurav -
Using Web Dynpro WDUrlGenerator from within J2EE Application deployed on NW
I have two applications deployed on a NetWeaver Application Server 2004s.
1. A Web Dynpro application.
2. A J2EE Application
What I want to do is to be able to build a url to the Web Dynpro application from within the J2EE application. Obviously the problem is using Web Dynpro classes within the J2EE application.
So I edited the Java Build Path of the J2EE application to include the werbdynproservices.jar file and exception.jar files by extending ECLIPSE_HOME variable in the libraries section. I also checked them in Order and Export. I verified the built .war file and it does contain the two .jar files.
This was sufficient to get my project build and deployed, however the servlet in my J2EE application shows NoClassDefFoundException when I run it. My guess is there's more I need to do to get the WDUrlGenerator to run in my J2EE class.
Is this possible or is there a better way? I am trying to avoid the client having to modify a web.xml for each depployment.
Thanks in Advance.This looks like what I want, but I am unable to test it.
I found the application-j2ee-engine.xml file under the <project-root>/gen_wdp folder. I then attempted to open it with the SAP EARDD editor. It opens with the Source tab selected. If I try to click the General tab I get an error saying:
"The source page has errors. Other pages cannot be used until these erros are corrected."
I see nothing wrong with the XML document. It's source is here:
<?xml version="1.0" encoding="UTF-8"?>
<application-j2ee-engine>
<provider-name>local</provider-name>
<modules-additional>
<module>
<entry-name>EVENTS_WorkflowNotification.wda</entry-name>
<container-type>webdynpro</container-type>
</module>
</modules-additional>
</application-j2ee-engine>
When I deploy the application, everything works fine. I was going to edit the XML document by hand, but of course there is no DTD listed so I don't know what's supposed to go in there without the Editor doing it for me.
Getting closer. Thanks so much. -
Hide an error from the application using a servererror trigger?
We have an application designed for an old oracle version which issues some sql which is no more supported in todays database version.
We want to use the application unchanged with a new database server.
Old Server Version: 7.3.4 (still in production...)
New Server Version: 10.2 or 11.2
The application issues an
ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS ;
which results in ORA-01986 and the application dies.
We would like to hide the error 01986 from the application using a trigger:
create or replace
trigger catch01986
after servererror
on schema
begin
if (ora_is_servererror (1986)) then
null; -- what to do here? we want clear the ora-01986 from the error stack
end if;
end catch01986;How to handle the error, so that the alter session set ... statement is just ignored and no error code is returned to the application?
I asked already some days ago in Database-General Forum, but triggers belong to PL/SQL, so i repost here.
Tnx for help in advance!Hi,
hoek wrote:
A totally weird and untested (and unable to test today) thought:
http://technology.amis.nl/blog/447/how-to-drive-your-colleagues-nuts-dbms_advanced_rewrite-oracle-10g
Very interesting for real dirty solution.
Does not work for my problem, DBMS_ADVANCED_REWRITE works only for select statements.
BEGIN
SYS.DBMS_ADVANCED_REWRITE.DECLARE_REWRITE_EQUIVALENCE (
'alter_session_equivalence',
'ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS',
'ALTER SESSION SET OPTIMIZER_MODE = RULE',
FALSE);
END;
ORA-30389: the source statement is not compatible with the destination statement
ORA-00903: invalid table name
ORA-06512: at "SYS.DBMS_ADVANCED_REWRITE", line 29
ORA-06512: at "SYS.DBMS_ADVANCED_REWRITE", line 185
ORA-06512: at line 2
30389. 00000 - "the source statement is not compatible with the destination statement"
*Cause: The SELECT clause of the source statement is not compatible with
the SELECT clause of the destination statement
*Action: Verify both SELECT clauses are compatible with each other such as
numbers of SELECT list items are the same and the datatype for
each SELECT list item is compatible
hoek wrote:You already had some trigger code, catching the error and sending it to null, why didn't that work?The trigger is fired when the error occurs, but after completion of the trigger, the error code is still delivered to the client.
I dont know how to handle the error within the trigger.
Does the client read the error stack and does it die after reading an error from the stack?The client just checks the error code. On error it terminates.
With the SERVERERROR TRIGGER i did the following tests:
Test 1: trigger does nothing
CREATE OR REPLACE
TRIGGER CATCH01986
AFTER SERVERERROR
ON SCHEMA
BEGIN
IF (ORA_IS_SERVERERROR (1986)) THEN
NULL;
END IF;
END CATCH01986;
ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS;
ORA-01986: OPTIMIZER_GOAL is obsolete
01986. 00000 - "OPTIMIZER_GOAL is obsolete"
*Cause: An obsolete parameter, OPTIMIZER_GOAL, was referenced.
*Action: Use the OPTIMIZER_MODE parameter.
-- Client Application reports errorcode 1986Test 2: Trigger raises NO_DATA_FOUND
CREATE OR REPLACE
TRIGGER CATCH01986
AFTER SERVERERROR
ON SCHEMA
BEGIN
IF (ORA_IS_SERVERERROR (1986)) THEN
RAISE NO_DATA_FOUND;
END IF;
END CATCH01986;
ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS;
ORA-04088: error during execution of trigger 'AH.CATCH01986'
ORA-01403: no data found
ORA-06512: at line 9
ORA-01986: OPTIMIZER_GOAL is obsolete
04088. 00000 - "error during execution of trigger '%s.%s'"
*Cause: A runtime error occurred during execution of a trigger.
*Action: Check the triggers which were involved in the operation.
-- Client Application reports errorcode 4088Test 3: Trigger raising an APPLICATION ERROR
CREATE OR REPLACE
TRIGGER CATCH01986
AFTER SERVERERROR
ON SCHEMA
BEGIN
IF (ORA_IS_SERVERERROR (1986)) THEN
DBMS_STANDARD.RAISE_APPLICATION_ERROR(-20999, 'this makes no sense', true);
END IF;
END CATCH01986;
ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS;
ORA-00604: error occurred at recursive SQL level 1
ORA-20999: this makes no sense
ORA-06512: at line 10
ORA-01986: OPTIMIZER_GOAL is obsolete
00604. 00000 - "error occurred at recursive SQL level %s"
*Cause: An error occurred while processing a recursive SQL statement
(a statement applying to internal dictionary tables).
*Action: If the situation described in the next error on the stack
can be corrected, do so; otherwise contact Oracle Support.
-- Client Application reports errorcode 604Test 4: Adding an EXCEPTION part to the trigger does not help, this will catch only exceptions raised while the trigger executes:
CREATE OR REPLACE
TRIGGER CATCH01986
AFTER SERVERERROR
ON SCHEMA
BEGIN
IF (ORA_IS_SERVERERROR (1986)) THEN
DBMS_STANDARD.RAISE_APPLICATION_ERROR(-20999, 'this makes no sense', true);
END IF;
EXCEPTION
WHEN OTHERS THEN
NULL;
END CATCH01986;
ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS;
ORA-01986: OPTIMIZER_GOAL is obsolete
01986. 00000 - "OPTIMIZER_GOAL is obsolete"
*Cause: An obsolete parameter, OPTIMIZER_GOAL, was referenced.
*Action: Use the OPTIMIZER_MODE parameter.
-- Client Application reports errorcode 1986So i do not know what to do inside the trigger to clean the error stack so that the client will receive no errorcode. -
I want to use my I Pad mini to play videos from my Gopro Hero HD camera and also to use as a monitor if possible? What software would i need to use ? I movie is what i use with my I Mac not sure if this will work on I Pad Mini?
At first I thought that this solved my problem, but alas it didn't. It does appear to add display area for your computer or to suplement it. But it is not a view screen for your Mini. I guess I will just have to live on with my monitor and use my Ipad and the "remote" app to run Itunes.
Once I have the system all set up, I could use the display but I don't know why I would. Thanks for your help. -
Using airplay, with Iphone5 latest os, appletv3, I can play videos from youtube and internet just fine, but when I try to play videos bought from Itunes in my "videos" file, it only plays sound, no video. Please advise,,,
I am also having this issue. Hear but not see. I am using the iTunes video app on my iPad to play a show I bought on iTunes. A little pop up box comes up on the lower left of my tv showing the show , I can hear it but not see it. Rebooted Apple TV and iPad. No help.
-
How do you play videos from the "Videos" app in the background IPod 4G
Hey
I used to have an app which allowed me to play videos from the "Videos" app on my ipod touch 4th gen. But the other day I had to wipe my ipod and can no longer get this app. Is there any other app which imports your videos from the "videos" app or is there a way to play videos in the background using the "videos" app.
Anny help will be greatly appreciated.
Thanks
KarlYou can only play videos in the Videos app when the Video app is on the screen. Video, and any audio with it, do not play when using another app.
You can try changing the Media Kind in Get Info>Option in iTunes on the computer to Music Video and see if that works -
N96 only plays videos from the start
My N96 only plays videos from the start. Whenever I press the 'play from where it stopped' function the sound works okay but the picture isn't there. Also the same problem occurs when I try to fastforward or rewind videos. As you can imagine this is not much use when I'm trying to watch a film in stages.
Check out this site also:
http://portablevideo.blogspot.com/2008/09/my-recommended-settings-for-n96-video.html
640K Should be enough for everybody
El_Loco Nokia Video Blog
Maybe you are looking for
-
I found the K7N2 Delta-L online at www.atacom.com but im looking for the K7N2 Delta-ILSR anyone know where to find it?
-
Trigerring workflows in an ABAP program
Can somebody please tell me the best way to trigger a workflow in an ABAP program. And if possible please send me some sample code how it can be done. I need it urgently so if possible please reply to this ASAP. Thanks in advance, Mohsin
-
Searching Custom Metadata in Bridge
Any assistance with the following would be greatly appreciated. In Bridge, is there a way to search within custom metadata fields that we have defined using the Find option? In the Find menu, under Criteria, I currently only have the option to search
-
How do I move or archive large numbers of old Sent mail messages?
I've created folders for past years Sent mail and tried moving my messages out of my Sent folder (for several accounts). They seem to move, but then I get a very basic error (with no details..): "34 messages could not be moved to the mailbox "2009 Se
-
HELP! ipod mini dead? won't reset or power off...help please!
My ipod is stuck on a song..it looks like it is paused. I tried to toggle the switch about 50 and reset about 50 times but the light stays on and the lines under the name of song and title are like this_________________ ___________ -3 0:16 Any ideas?