Nourdine Alouane
Nourdine Alouane

Reputation: 814

Issue with Ionic and Clappr video player

I'm trying to run a simple ionic app with a video player (clappr) inside, I get this event error:

ionic.bundle.js:62904 Uncaught TypeError: Cannot read property 'srcEvent' of undefined

The problem goes off once I remove this line:

<script type="text/javascript" src="http://cdn.clappr.io/latest/clappr.js"></script>

Any help?

Upvotes: 0

Views: 508

Answers (1)

Dahico
Dahico

Reputation: 66

I think you are using:

$('#SomeItem').srcEvent() ... or something like that (I'm not familiar with the clappr).

But the error says that (SomeItem) is undefined. Try to use console.log(SomeItem) to check item status.

Upvotes: 0

Related Questions