Videos cannot be previewed in KMC and also embed code fails to play

I’m trying to integrate a video on a web page using iframe, by copying the embed code provided inside KMC, here is the code:

<iframe id="kaltura_player_1621337976" src="" width="400" height="333" allowfullscreen webkitallowfullscreen mozAllowFullScreen allow="autoplay *; fullscreen *; encrypted-media *" frameborder="0" itemprop="video" itemscope itemtype=""> <span itemprop="name" content="Personal Capture Walkthrough "></span> <span itemprop="description" content="Learn how to use Kaltura's Personal Capture."></span> <span itemprop="duration" content="218"></span> <span itemprop="thumbnailUrl" content=""></span> <span itemprop="uploadDate" content="2021-05-14T06:16:10.000Z"></span> <span itemprop="width" content="400"></span> <span itemprop="height" content="333"></span> </iframe>

and I got the following error:

Cannot read property 'capabilities' of null

It looks like something about permissions, but on the KMC I have configured everything as “open” and publicly available in the Access control Menu.

I’ve noticed that also trying the standalone preview of KMC, I get the same identical error:

How can I solve it? Which is the issue?

I also see an error in the flavors of the video:

“The property “KalturaFlavorAssetFilter::entryIdEqual/KalturaFlavorAssetFilter::entryIdIn” cannot be null”

Is the video encoded correctly?

Hi Angober,
Many thanks for your reply.
I solved the issue, as the video was “private” even if with full access permission


1 Like