mwEmbedFrame error on Preview

Hello,

I have recently installed Kaltura Open source using Docker. Everything is working fine except the Preview window which enables Editor is throwing the following error:

The requested URL /html5/html5lib/v2.83/mwEmbedFrame.php/p/99/uiconf_id/23448169/entry_id/0_e3sn9xw5 was not found on this server.

Have I misconfigured anything while setting up. I am running on HTTP “http://ec2-3-0-146-60.ap-southeast-1.compute.amazonaws.com/

Hello @akash-accedo,

From the above, I can see you’ve logged into the template partner in KMC. That should be done only for editing the template content (what is cloned to each partner by default, upon calling partner->register()). You’re not meant to play videos from it. Please create a regular (non-system) partner via the Admin Console.
Regardless, at present time, Kaltura CE doesn’t not including the media editing app (what is launched when you click on Editor).
KEA (Kaltura Editor Application) is not FOSS and can only be used in SaaS/OnPrem context at the moment.
However, you can implement your own editor using the API.

Cheers,

Hi @jess

Thank you for your response, I tried to create a new publisher and still facing same problem, instead of using Template one. Is that what you were referring or i misunderstood.

Sorry, I am a bit new to Kaltura world!

Hello @akash-accedo,

Please explain exactly what you’re seeing and check for erroneous requests under Dev tools->Network, as well as errors/warnings in the Console tab.

Based on your findings, I’ll be able to assist you further.

Hi Jess,

Steps I followed after your last comment:

  • Created a new Published using Admin console
  • Service edition of this new user is Kaltura Free

On opening any Entry details inside KMC-ng, in the preview window i observe below problem:

I have also attached screenshot of console error for your reference.

Under network tab, i can see one failed requests related to this:

Hope this helps! Thank you again for your help :slight_smile:

Hello,

Clearly, the player cannot be loaded as you’re getting a HTTP 404 when requesting mwEmbedFrame.php.
What’s the output for:

# rpm -q kaltura-html5lib
# rpm -ql kaltura-html5lib|grep mwEmbedFrame.php
# grep html5_version /opt/kaltura/app/configurations/local.ini
# cat /opt/kaltura/apps/studio/v*/studio.ini

?

[root@99b7a9cb4281 /]# rpm -q kaltura-html5lib
kaltura-html5lib-v2.73.2-2.noarch
[root@99b7a9cb4281 /]# rpm -ql kaltura-html5lib|grep mwEmbedFrame.php
/opt/kaltura/apps/html5/html5lib/v2.14/mwEmbedFrame.php
/opt/kaltura/apps/html5/html5lib/v2.37.1/mwEmbedFrame.php
/opt/kaltura/apps/html5/html5lib/v2.37/mwEmbedFrame.php
/opt/kaltura/apps/html5/html5lib/v2.38.3/mwEmbedFrame.php
/opt/kaltura/apps/html5/html5lib/v2.42/mwEmbedFrame.php
/opt/kaltura/apps/html5/html5lib/v2.44/mwEmbedFrame.php
/opt/kaltura/apps/html5/html5lib/v2.45.1/mwEmbedFrame.php
/opt/kaltura/apps/html5/html5lib/v2.45/mwEmbedFrame.php
/opt/kaltura/apps/html5/html5lib/v2.46/mwEmbedFrame.php
/opt/kaltura/apps/html5/html5lib/v2.73.2/mwEmbedFrame.php
[root@99b7a9cb4281 /]# grep html5_version /opt/kaltura/app/configurations/local.ini
html5_version = v2.83
[root@99b7a9cb4281 /]# cat /opt/kaltura/apps/studio/v*/studio.ini
[general]
component.name = HTML5Studio ;the application Name
component.version = v2.2.1 ;similar to folder name

[defaultKdp]
widgets.studio.version = v2.2.1
widgets.studio.name = Video Studio V2
widgets.studio.usage = html5studio
widgets.studio.config = ‘{“version”:“v2.2.1”, “name”:“Video Studio V2”, “tags”:“studio_v2”, “html5_version”:“v2.83”, “html5lib”:"//ec2-3-0-146-60.ap-southeast-1.compute.amazonaws.com/html5/html5lib/v2.83/mwEmbedLoader.php", “default_entryID”:"@DEF_ENTRY@", “defaultLocale”:“en_US”, “defaultPlayerConfig”:[]}’

Hi @akash-accedo,

So, the problem is rather obvious. You have a version of kaltura-base that expects the kaltura-html5lib package to be of version v2.83, and yet, you have v2.73.2-2.
What are the contents of /etc/yum.repos.d/kaltura.repo?
And what is the output of:

# yum info kaltura-html5lib

?

Hi @jess,

Installed Packages
Name : kaltura-html5lib
Arch : noarch
Version : v2.73.2
Release : 2
Size : 199 M
Repo : installed
From repo : Kaltura-noarch
Summary : Kaltura Open Source Video Platform
URL : https://github.com/kaltura/mwEmbed
License : AGPLv3+
Description : Kaltura is the world’s first Open Source Online Video Platform,
: transforming the way people work, learn, and entertain using
: online video. The Kaltura platform empowers media applications
: with advanced video management, publishing, and monetization tools
: that increase their reach and monetization and simplify their
: video operations. Kaltura improves productivity and interaction
: among millions of employees by providing enterprises powerful
: online video tools for boosting internal knowledge sharing,
: training, and collaboration, and for more effective marketing.
: Kaltura offers next generation learning for millions of students
: and teachers by providing educational institutions disruptive
: online video solutions for improved teaching, learning, and
: increased engagement across campuses and beyond. For more
: information visit: http://corp.kaltura.com, http://www.kaltura.org
: and http://www.html5video.org.
:
: This package installs the Kaltura HTML5 library.

Available Packages
Name : kaltura-html5lib
Arch : noarch
Version : v2.83
Release : 1
Size : 87 M
Repo : Kaltura-noarch
Summary : Kaltura Open Source Video Platform
URL : https://github.com/kaltura/mwEmbed
License : AGPLv3+
Description : Kaltura is the world’s first Open Source Online Video Platform,
: transforming the way people work, learn, and entertain using
: online video. The Kaltura platform empowers media applications
: with advanced video management, publishing, and monetization tools
: that increase their reach and monetization and simplify their
: video operations. Kaltura improves productivity and interaction
: among millions of employees by providing enterprises powerful
: online video tools for boosting internal knowledge sharing,
: training, and collaboration, and for more effective marketing.
: Kaltura offers next generation learning for millions of students
: and teachers by providing educational institutions disruptive
: online video solutions for improved teaching, learning, and
: increased engagement across campuses and beyond. For more
: information visit: http://corp.kaltura.com, http://www.kaltura.org
: and http://www.html5video.org.
:
: This package installs the Kaltura HTML5 library.

Hello,

As you can see from the output you attached, your last upgrade was incomplete. Please follow the upgrade instructions and verify all packages were successfully upgraded to the latest versions available in the Kaltura repo of your selected CE version.

I used Docker installation, might need to update that part. Will try and update you :slight_smile:

Hi @jess

I manage to update the package to v2.83 and player starts appearing after that. Thank you for your guidance.

Unfortunately i am still not able to playback as request to manifest gets cancelled.


What is the response to that request?
Is Nginx running? Have you checked its error logs?

Debugging, will keep you posted!

Latest update:

No Response to the request.

NGINX running - Yes inside docker

Error Logs - Nothing found