Angela Fowler created CB-7755:
---------------------------------

             Summary: media.spec.5 failing on MediaProxy create split
                 Key: CB-7755
                 URL: https://issues.apache.org/jira/browse/CB-7755
             Project: Apache Cordova
          Issue Type: Bug
          Components: mobile-spec, Windows 8
    Affects Versions: 3.6.3
         Environment: Visual Studio Express Emulator
            Reporter: Angela Fowler
            Assignee: Jesse MacFadyen
            Priority: Minor


Running media.spec.5 etc fails creating a Media object with no arguments.
             var media1 = new Media();
The exception is "Unable to get property 'split' of undefined or null 
reference".

Here is the create function from MediaProxy.js :
    // Initiates the audio file
    create:function(win, lose, args) {
        var id = args[0];
        var src = args[1];
        ...
        var fn = src.split('.').pop(); // gets the file extension




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to