comrat / CordovaVideoPlayerActivity

0 stars 0 forks source link

ClassNotFoundException in ionic project #1

Closed pranavm27 closed 6 years ago

pranavm27 commented 6 years ago

hi

I tried to use this plugin in ionic project its giving class not found an exception when I try to play an mp4 video.

image

declare let CordovaVideoPlayerActivity: any;

CordovaVideoPlayerActivity.play(
    "file:///android_asset/www/movie.mp4",
    function () {
        console.log("video completed");
    },
    function (err) {
        console.log(err);
    }
comrat commented 6 years ago

Hello! Actually I haven't try ionic before. Unfortunately I've not much time now and can check it later. If you have any suggestions please let me know

comrat commented 6 years ago

@pranavm27 finally I've tried to build ionic project by myself and I've reproduce this issue. Now I've fix it da6776d1aa1b3aa4bbc705c1bd81f3ab9d2a51d8. Pull master and check it out