Skip to content

TypeError: Cannot read property 'streamingMedia' of undefined #7

@vkhazin

Description

@vkhazin

After installing the plugin using command:

cordova plugin add com.hutchind.cordova.plugins.streamingmedia

and then calling it from AngularJs app from
ng-click="playBack(movie.MovieID)"

    $scope.playBack = function (movieId) {
        //console.log(movieId);
        var url = 'http://<someurl>';
        window.plugins.streamingMedia.playVideo(url); //error
    }

Am I missing something? And also would it play m3u8 live stream as well?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions