Reputation: 814
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
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