Skip to content

Flash not loading? #1

@gustavoca

Description

@gustavoca

Hey ive follow your instructions, but when i call f.login(user, password, username)
i got

Uncaught TypeError: this.flashObject.login is not a function

here is my code

index.html

<body>
  <div id="phone"/>
</body>

index.js

    var f = new flashPhone('0.0.0.0:1935', 'phone',  {
    pathToFreeswitchSwf: '/public/javascripts/',
    onInit:function(){
      console.log('flashPhone Initialized');
      f.login('1001@0.0.0.0', '1234', 'local');
    },
    onConnected:function(evt){ console.log('flashPhone connected'); }
    });

Is there something im missing here??
thanks alot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions