Embeded video using video tag for mobile Applications , Phonegap

Hey.
I am trying to get an embeded movie to play when I convert the mobile app to an .apk file.
I can play the video using the dreamweaver "Live" option , and I can watch a video if it has a http:// URL . however the video wont play when I use a rellitive path such as videos/video.mp4
The actual html block looks like this :
<!--Working on mobile device -->
</video>
<video poster="http://upload.wikimedia.org/wikipedia/commons/thumb/0/0d/Teddy_bear_27.jpg/250px-Teddy_bear_27.jpg" controls>
<source src="http://www.w3schools.com/html/movie.mp4" type="video/mp4">
</video>
<!-- Not working on mobile device -->
<video width="560" height="340" id="videoToPlay" poster="images/thickGuy.png" controls >
  <source src="videos/broken_compas.mp4" type="video/mp4" />
When I load onto the mobile device , I get the spinning option, but it never actually loads the video.
Could this be a file path issue ?
Has anyone else tried to embed a video for phonegap dreamweverCC ?. I would be very intrested to know if they got it working.
Cheers

Thanks John Fritz.
I was actually trying to use the <code> tag for the entire code block on this form, but it got very messy. I may have deleted / re arranged  some code accidently.
In the end I used a hacky way , that I know won’t work in other phones, but you may understand my problem a bit more here :
<video width="560" height="340" poster="images/thickGuy.png" controls id="videoCompass">
<source src="file:///storage/sdcard0/Movies/broken_compas.mp4 type="video/mp4">
</video>
The video dose actually work and play now, but the path is absolute, rather than relative. The question is, where would “broken_compas.mp4”  actually install to on an android , if I hadn’t manually placed the video on a specific folder on the phone? . The only reason this is working is because I had to manually place the video in a folder on the phone.
     Madness me thinks :-)

Similar Messages

  • Java ME embedded database used in BlackBerry for mobile CRM

    Interested in business applications of Java ME mobile technology, or in embedded database systems available for Java ME?
    If so, take a look at the news posted on McObject's 'Perst Blog'. Maximizer, a British Columbia company, has adopted the Perst Lite open source, object-oriented database for Java ME to integrate with its customer relationship management (CRM) software on BlackBerry devices.
    What Maximizer gets from Perst Lite -- in addition to efficient data management and 'transparent persistence' for developers -- is support for the JSR 75
    specification, which enables database files to be saved to SD cards within the BlackBerry smartphones.
    The post is at at [http://www.jroller.com/perst/entry/perst_lite_chosen_to_improve]{size}{font}

    Spam blocked. As this user has only ever logged in here to post spam, the user account is blocked for a year.
    db

  • There is any Scripting languages is used for mobile application development

    Is there is any Scripting languages is used for mobile application development?
    For example java script,vb script is used for web development.Like that is there is any scripting language is used for mobile application development along with J2me.
    Thanks & Regards, Sivakumar.J

    806437 wrote:
    .. is there is any scripting language is used for mobile application development along with J2me.If you are talking about javax.script,
    google ( [url http://www.google.com/search?q=java+me+javax.script]java me javax.script ) gave me http://sourceforge.net/projects/rhinoj2mecldc/

  • Iphone application shows number as underlined, when used in native app, even after using meta tag for removing telephone no. formatting.

    I have developed an app, which shows some numbers which are 10 digit long. I used meta tag for removing the formatting for telephone, so that the phone doesnt take those numbers as phone numbers.
    It works fine when that page is launched through safari in iphone, but when i add an icon for that app to my iphone desktop and then launch it, the numbers are underlined.
    I am using iPhone 4, Can anyone help, to remove those underlines?

    I have developed an app, which shows some numbers which are 10 digit long. I used meta tag for removing the formatting for telephone, so that the phone doesnt take those numbers as phone numbers.
    It works fine when that page is launched through safari in iphone, but when i add an icon for that app to my iphone desktop and then launch it, the numbers are underlined.
    I am using iPhone 4, Can anyone help, to remove those underlines?

  • Designing for Mobile Applications

    I have a basic 6 page web site for our organization.  Since many of our members now use their smart phones for web browsing I am thinking of adjusting my site to accomodate them.  Since I have never designed for mobile applications I just wanted to get some professional feedback so I know the proper path to take. The site is a simple three-column layout with header and footer, primarily text with scattered graphics.
    My first thought is to just redesign the site with a smaller overall size so it would be viewable in smaller devices, such as smart phones and IPods.  Although it would require a total re-design change as far as layout and reduced use of graphics, it wouldn't take me long to create since the site is small to begin with.
    My second option is to use a mobile template via jQuery.  However, I have never used jQuery and am wondering if re-designing my site using jQuery would be the preferred route to go, or overkill due to the small size of my site.
    I guess my question is this:  At what point does it become preferable to use jQuery to design mobile web sites, as opposed to just re- creating a smaller physical version of  my current web site?  Or does using jQuery for mobile design the accepted common practice?
    I'd appreciate anyone's professional opinion on the subject.  Thanks.

    Your application's main module structure can contain different sub-modules like common/base, BCC/versioning and other sub-modules. As you mentioned all of your common piece of server-side functionality, common components and repository definitions can go in the common/base sub-module within your main module structure. There can be one common-ui kind of a sub-module also which can hold common front-end stuff like JS, common CSS, images etc. Then there can be one sub-module for the actual customer facing application. These sub-modules can declare dependency on the common/base sub-module.
    I would also go with having a single EAR for the customer facing app sub-module. Now within that EAR you can have different web-apps (WARs) with different context-roots as per your requirements. Having different web-apps will also allow you to bring in device specific changes to the application e.g. adding a device specific filters in case required.

  • How to add selection event, change event and click event for dropdownlist for mobile applications

    Please someone help me in writng selection , click and change events for dropdownlist in flex for mobile applications . i have tried but i wasn't able to select the items in dropdown using my mouse or touch in my mobile . Please help me I am struck at this point and i am unable to get solution gfor this. Please................
    Some code for which i neederd help:
    <s:DropDownList id="ddlBranch" x="257" y="475" width="63%" height="80%"
                                    creationComplete="ddlBranch_creationCompleteHandler(event)"
                                    fontFamily="Calibri" fontSize="24"
                                    labelField="BranchName"
                                    prompt="{ddlBranch.selectedItem}"
                                    requireSelection="true"
                                    selectionColor="#7ab342">
                        <s:AsyncListView list="{getBranchResult.lastResult}"/>
                    </s:DropDownList>
    <s:DropDownList id="ddlZone" x="257" y="546" width="63%" height="80%"
                                    creationComplete="ddlZone_creationCompleteHandler(event)"
                                    fontFamily="Calibri" fontSize="24"
                                    labelField="ZoneName"
                                    prompt="{ddlZone.selectedItem}"
                                    requireSelection="true"
                                    selectionColor="#7ab342">
                        <s:AsyncListView list="{getZoneResult.lastResult}"/>
                    </s:DropDownList>
    I will get the list of Branches(first DDL) and Zones(Second DDL) from a webservice written in DOT(.)NET,  what i needded is touch events and selection events for both the dropdown lists and the data in the second DropDown List should bind based on the First Dropdown list item selected.
    Service call for binding data to DDL:
    protected function ddlBranch_creationCompleteHandler(event:FlexEvent):void
                    getBranchResult.token = loginService.getBranch();
                protected function ddlZone_creationCompleteHandler(event:FlexEvent):void
                    getZoneResult.token = loginService.getZone();
    Please help...
    Thank you.

    Therer are two ways you can assign an action to the "OnEnter"-event of your input field:
    1. in method cl_wd_input_field=>new_input_field you have the parameter:
    ON_ENTER
    You just have to assign your action name to this field and it will be called on the OnEnter-event of your InputField.
    e.g:
         lr_input_field = cl_wd_input_field=>new_input_field(
                                                 id = 'INP_MY_INPUT_FIELD'
                                                 on_enter = 'MYACTION'
    2. You can use the method SET_ON_ENTER.
    like:
         lr_input_field->set_on_enter( 'MYACTION' ).
    Just make sure, you have created and implemented this action and its handler.

  • Can i use Custom Tags for Database retrieval (as per MVC pattern)?

    In our project we are dealing with database, and i've used the Cutom Tags for database retrieval (as per the Article from Mr Faisal Khan) and it is working fine. But i have a doubt if it affects the performance in any way . I wanted to know if its recommendable to use Custom Tags for the DB retrieval as per MVC Pattern or shall i create a intermediate bean and then call the bean in custom tag.
    Thanks
    Prakash

    Putting database code in your JSPs certainly couples your view to the database. That's usually not good.
    If it's a simple app, it might be justified.
    When you start having lots of pages and complex business logic it becomes less attractive. - MOD

  • Does Apple provide any certification for Mobile Application testing (iOS)

    Does Apple provide any certification for Mobile Application testing (iOS)
    Kindly share the details of any Mobile Application testing certification provided by Apple.

    I'm not aware of any testing done by Apple except as part of the app approval process:
    https://developer.apple.com/appstore/resources/approval/index.html
    If you have questions about the review process, though, you can contact Apple via the contact links on that page.
    Regards.

  • Opensource database for Mobile application development

    hi.
    1. SQL CE is a database for mobile applications. Is there a similar opensource implementation available , i.e a database that i can port on my mobile application.
    2.If this is not the forum in which i must post such question ..pls let me know the link where in i should make such posts..
    Ur suggestions will be valuable..
    regards
    KARTIK

    hi.
    1. SQL CE is a database for mobile applications. Is
    there a similar opensource implementation available ,
    i.e a database that i can port on my mobile
    application.
    2.If this is not the forum in which i must post such
    question ..pls let me know the link where in i should
    make such posts..
    Ur suggestions will be valuable..
    regards
    KARTIKhttp://hsqldb.sourceforge.net/

  • How to agree the term and condition for mobile application

    i would like to click agree with iphone new term and condition for mobile application, but couldn fint the button to click agree....

    Hi
    You need it because it's possible to have a complex pricing procedure, and you can't do it with a simple select on a table. Think that you can have pricing requirements, formulas (ie: VOFM) and so on in your pricing procedure (tcode V/08).
    I hope this helps you
    Regards
    Eduardo

  • Interesting video about how to create mobile applications with a XML parser

    I would like to make a parser like this, what do i need?
    Video: http://www.youtube.com/watch?v=J-VMqg_vU30
    Edited by: movilman on Jun 4, 2008 5:48 AM

    Still misspeaking. Further use reveals that while the users iTunes use the shared file, when the phones add new apps their iTunes recreates its iTunes Media directory in the users home folder. This time I can exit iTunes, move the apps to the shared Mobile Applications, delete and empty trash the original apps/ and folder, then the users iTunes will find the app in the shared folder when it restarts. Clearly not very tidy...

  • Need to know if there is UI designer for Mobile application on NWDS

    Hello Experts....
    I am planning to create a mobile application using NWDs.
    Can I know if we can design a Mobile Application on the MWDs-> MI Application using UI tools?
    can I use Web dynpro to develop mobile appliction for both HandHeld as well as Laptops.
    If we can, can someone please send any supporting documents for the same.
    I would also like to know what is the best way to design our own screens (for new functionality not existing in SAP) for a mobile device (PDAs and Laptops)
    thanks in advance.
    Raju

    Take a look at this link, https://discussions.apple.com/thread/2401746?start=0&tstart=0

  • How can i use this color for my Application Background ?? Screen Shot Attached

    Hi ,
    I can find only plain colors on to Color Picker , but this is line mixed color
    How can use this attached Color for my Applications Background Color .
    Please find the Screen Shot attached .
    please see the background  color

    Are you trying to apply a gradient background?
    In Flex 3 in Application tag:
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
      backgroundColor="#666666"
      backgroundGradientColors="[#333333, #666666]">
    </mx:Application>
    In Flex 4 you need to set the backgroundColor and apply a skin for the gradient:
    -------------- mySkins/MyAppSkin.mxml -------------
    <?xml version="1.0" encoding="utf-8"?>
    <!-- containers\application\mySkins\MyAppSkin.mxml -->
    <s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009"
            xmlns:mx="library://ns.adobe.com/flex/mx"
            xmlns:s="library://ns.adobe.com/flex/spark">
      <fx:Metadata>
        [HostComponent("spark.components.Application")]
      </fx:Metadata>
      <s:states>
        <s:State name="normal" />
        <s:State name="disabled" />
      </s:states>
      <!-- fill -->
      <s:Rect id="backgroundRect" left="0" right="0" top="0" bottom="0">
        <s:fill>
          <s:LinearGradient rotation="90">
            <s:entries>
              <s:GradientEntry color="0x333333" ratio="0" alpha="1"/>
              <s:GradientEntry color="0x666666" ratio=".66" alpha="1"/>
            </s:entries>
          </s:LinearGradient>      
        </s:fill>
      </s:Rect>
      <s:Group id="contentGroup" left="10" right="10" top="10" bottom="10">
        <s:layout>
          <s:VerticalLayout/>
        </s:layout>
      </s:Group> 
    </s:Skin>
    -------------- test.mxml -------------
    <?xml version="1.0"?>
    <!-- controls\button\PopUpButtonMenu.mxml -->
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx"
                   height="100%" width="100%">
      <s:SkinnableContainer skinClass="mySkins.MyAppSkin"
        width="100%" height="100%"/>
    </s:Application>
    If this post answers your question or helps, please mark it as such. Thanks!
    http://www.chikaradev.com
    Adobe Flex Development and Support Services

  • How to run Profiler for Mobile Application on adevice.

    I would like to see Performance issue for my mobile application. This application is using StageVideo object and StageVideo is unavailable in emulator.
    So, I would like to run Profiler in device.
    Could anyone please help me ways to run Profiler on device using FlashBuilder.
    I'm using FlashBuilder4.6.

    Hi Divya,
    I am implementing application given on
    https://www.sdn.sap.com/irj/sdn/mobile link which is
    "Model-driven Design of Mobile Applications New! "
    According to document, I have configured server and frontend, developed model and deployed successfully. But there is no option or documentation available to run the application.
    If I get simulator/emulator to run mobile application.. how can I run?
    Or should I run through browser with some link?
    Please help. Thnaks in advance.
    Mehul

  • Is it possible to share multiple photos from iPhoto to flickr with embedded title, description and tags for each photo?

    I use iPhoto to share my photos to different sites like facebook and flickr ... with facebook it's easy since the pics don't need much details ... however, I have some trouble with Flickr, since I need to add description, titles and tags for each picture ... is there a way to do so ?!

    Titles and descriptions are not embedded into a photo until it is exported out of iPhoto with the following settings:
    So if Facebook can read those values in an image file you'll need to export as shown above and upload to FB from outside of iPhoto or import back into iPhoto and sync the new files to FB.
    OT

Maybe you are looking for

  • Determine profit center during Rebate Agreement Settlement - MEU2

    Hi ,     We are processing vendor rebates settlement using Tcode - MEU2 , the profit center getting assigned to FI document line is  common profit center and not the one specifically assigned to the material being processed in the Setllement document

  • Lightroom suddenly stopped rendering previews

    I've been using Lightroom since v1 and have been using v3 since it was released.  All of a sudden tonight, while working on photos that were already in my catalog, Lightroom has stopped rendering previews and is much slower to operate. I've optimised

  • Cannot Install iTunes Windows 8 after Uninstall

    I have a Windows 8 machine with all the updates, and a couple months ago iTunes stopped updating.  It was running, but it just would not update.  I decided to re-install it, and now I get the error below.  I have used Revo Uninstaller to remove every

  • VB6: division by zero

    When I try to run "One sample" examples in VB6 folder appears the message-box: "Error: 11 division by zero". I followed the suggestion to change decimal separator from "." to ",".

  • IPhone loses edge signal when waking from sleep, E is still present

    For some reason, when I put my phone into sleep mode and then wake it a short time later, I lose my edge signal. Checking email or looking online results in the "cannot find server" error, yet the edge "E" in the top left corner is still there. This