Embedded videos will not load/play

15 replies [Last post]
Joined: 07/16/2009
Points: 8

Outside of the screen where I can edit an entry for a video, I cannot play any videos.

After clicking the preview and embed link, all I am presented with is a blank black video screen with the embed code below it. I copied the embed code to create another html page, still nothing. I can however copy the link to the video directly, paste it in my browser, and play the video.

If it helps, here is what I am using:

ubuntu server 9.04
Apache 2.2.11
php 5.2.6
mysql 5.0.75
Firefox 3.0.11

If necessary, I can get any more version information that would help anyone out in troubleshooting.

Joined: 04/05/2009
Points: 354

Just to confirm - are you using Kaltura CE? Is the problem happening in the KMC?

If you could post a screenshot that would be fantastic.

Joined: 07/16/2009
Points: 8

Here are 2 screen shots that should illustrate better what I am referring to. I am using KalturaCE. When I go to preview a video (either one of the demo videos or a video I have uploaded) the video does not load and I am unable to reach a point where I can play/preview the video.

If I proceed to edit the entry, I can see the video load and preview the video there.

I have also copied the embed code from the preview portion and created a new HTML page with that embed code. The video does not load, but I can copy the direct link to the video itself and it plays in my browser (Firefox 3)

[edit]

It would appear that I lack the knowledge and proficiency to work the Image Picker, so here are direct links to the screen shots.

http://img219.imageshack.us/img219/5105/blankload.png
http://img141.imageshack.us/img141/355/editentry.png

Joined: 05/18/2009
Points: 45

post a screen shot of the investigate screens for this entry.

But, I will bet that your ffmpeg is not right. (i struggled with this for sometime)

unlink the ffmpeg symbolic link, kaltura/bin/i386/ffmpeg - you dont say what version -so i am assuming pre newest version 386linux.

Install ffmpeg - /usr/local/share/ffmpeg

Create new symbolic link (or your location of /usr/local/share.ffmpeg) ln -s /usr/local/share/ffmpeg ffmpeg in i386

Also check your curl, bet its the same way, do a new sym link to your curl.
curl is used to get remote videos , files.

Good luck.

Joined: 07/16/2009
Points: 8

here is the screen for investigate:

http://img441.imageshack.us/img441/9637/investigatess.png

You are correct in your assumption, I am using the i386 version, sorry for not posting that detail earlier.

I have ffmpeg and curl installed out of /usr/bin. I changed the symlinks to reflect those locations. They were previously linked to run/ffmpeg-run.sh and curl-run.sh.

It seems odd to me that one (or both) ffmpeg and curl would effect this on one page (preview and embed) but not on the edit page.

Joined: 05/18/2009
Points: 45

Working now?

Looks like it.

Joined: 07/16/2009
Points: 8

No, it is still not working.

All the videos show the same as you see in the screenshot here. There are no apparent errors that I can see.

If I click Preview & Embed I still see just the blank black box for the video, nothing loads. If I click the name of the movie to Edit Entry, the video (along with all the other editable details) show up. I can preview and play the video from here, but not under Preview & Embed.

Joined: 04/05/2009
Points: 354

Try updating to the latest release of Kaltura CE and see how that goes...

Joined: 07/16/2009
Points: 8

Worse off than before.

I tried to install the new CE version, after the install (where I enter user/email) I get the message that the server install failed.

http://img263.imageshack.us/img263/7726/failedinstall.png

Nothing on the server changed, and the only thing I need to change were the permissions on certain folders.

Joined: 07/24/2009
Points: 5

I had the same error.
my problem was a missing .htaccess file. I unpacked the tar to a temporary directory and copied the files to my website folder.
this didn't copy the .htaccess file because it's hidden. after manually copy this file the setup worked!

Joined: 01/05/2009
Points: 1697

Hi Joseph,

Is this problem still happening to you ?
Can you please copy and paste here the embed code generated on the preview & embed window ?
And also inspect the page of the preview&embed window and copy here the embed code showing the player ?

Are you using an ip or named host as the kaltura server host url ?
Have you read and done all the pre-installation steps ?

Joined: 07/16/2009
Points: 8

@doomi, I copied everything manually to my /var/www directory. The .htaccess file is present.

@kalturian, Yes, the problem is still happening.

Here is the Preview & Embed code:

<object name="kaltura_player" id="kaltura_player" type="application/x-shockwave-flash" allowScriptAccess="always" allowNetworking="all" allowFullScreen="true" height="332" width="400" data="http://10.1.2.171/kalturaCE/index.php/kwidget/wid/_1/uiconf_id/48110/entry_id/6jbfifx7ga"><param name="allowScriptAccess" value="always" /><param name="allowNetworking" value="all" /><param name="allowFullScreen" value="true" /><param name="bgcolor" value="#000000" /><param name="movie" value="http://10.1.2.171/kalturaCE/index.php/kwidget/wid/_1/uiconf_id/48110/entry_id/6jbfifx7ga"/><param name="flashVars" value=""/><param name="wmode" value="opaque"/><a href="http://corp.kaltura.com">video platform</a><a href="http://corp.kaltura.com/technology/video_management">video management</a><a href="http://corp.kaltura.com/solutions/overview">video solutions</a><a href="http://corp.kaltura.com/technology/video_player">free video player</a></object>

Here is the source of the page from Firefox: http://pastebin.com/f74555007

I am using an IP (internal/private) for the server which I installed kalturaCE on.

Yes, I followed the pre-requisites on the page listed.

Joined: 02/22/2009
Points: 97

Hi Joseph,

Can you use some HTTP sniffer to understand what breaks ? (on windows you can use fiddler, on ubuntu you can use wireshark or paros proxy)

In the KMC the player is loaded in a different way than in the preview/embed code.
It seems something is not coming back from the server - I would start by looking for 404/500 errors.
If you find any, please paste them here and we'll be able to figure out what went wrong and what should be done to fix it.

Gonen

Joined: 01/05/2009
Points: 1697

Joseph,

Please try the following embed code as well and let us know if it works -or not

<object name="kaltura_player" id="kaltura_player" type="application/x-shockwave-flash" allowScriptAccess="always" allowNetworking="all" allowFullScreen="true" height="332" width="400" data="http://10.1.2.171/kalturaCE/index.php/kwidget/wid/_1/uiconf_id/48110/entry_id/6jbfifx7ga"><param name="allowScriptAccess" value="always" /><param name="allowNetworking" value="all" /><param name="allowFullScreen" value="true" /><param name="bgcolor" value="#000000" /><param name="movie" value="http://10.1.2.171/kalturaCE/index.php/kwidget/wid/_1/uiconf_id/48110/entry_id/6jbfifx7ga"/><param name="flashVars" value="host=10.1.2.171&cdnHost=10.1.2.171"/><param name="wmode" value="opaque"/><a href="http://corp.kaltura.com">video platform</a><a href="http://corp.kaltura.com/technology/video_management">video management</a><a href="http://corp.kaltura.com/solutions/overview">video solutions</a><a href="http://corp.kaltura.com/technology/video_player">free video player</a></object>

*The difference is in the flashVars.

Thanks

Joined: 07/16/2009
Points: 8

Gonen: I loaded fiddler2 and accessed the KMC and viewed the Preview & Embed page. I see no 404 or 500 results in fiddler. All I see are 200 results and 1 304 result.

Kalturian: I copied that embed code into an HTML page on the server and I am still not seeing a video load.

At this point would it be easier to put this server online publicly and let you guys take a peek?

Joined: 02/24/2011
Points: 1

Hi
I am using the webcam to create a video. I can record and playback the same. However when I go to mange->click on video name and do a preview and embed I see it blank. The sample avi files i uploaded all are working fine. The one via webcam is what is causing issue
http://vidyakal.com/index.php/kmc/kmc3#content|Manage(site not live)

:/opt/kaltura/content/webcam# ls -lrt
total 388
-rwxrwxrwx 1 root root 186687 2011-02-25 19:02 31B9B6AD-2030-03EE-7E17-5D0571C1F71F.flv
-rwxrwxrwx 1 root root 1534 2011-02-25 19:02 31B9B6AD-2030-03EE-7E17-5D0571C1F71F.flv.meta
-rwxrwxrwx 1 www-data www-data 186687 2011-02-25 19:03 31B9B6AD-2030-03EE-7E17-5D0571C1F71F_fixed.flv
-rwxrwxrwx 1 www-data www-data 650 2011-02-25 19:03 31B9B6AD-2030-03EE-7E17-5D0571C1F71F_fixed.flv.vmetadata
-rwxrwxrwx 1 www-data www-data 2192 2011-02-25 19:03 31B9B6AD-2030-03EE-7E17-5D0571C1F71F_fixed.flv.vinfo
-rwxrwxrwx 1 www-data www-data 254 2011-02-25 19:03 31B9B6AD-2030-03EE-7E17-5D0571C1F71F_fixed.flv.ametadata
-rwxrwxrwx 1 www-data www-data 2832 2011-02-25 19:03 31B9B6AD-2030-03EE-7E17-5D0571C1F71F_fixed.flv.ainfo

:/red5/red5-read-only/dist/webapps/oflaDemo# ls -lrt
total 16
drwxr-xr-x 4 root root 4096 2010-12-14 19:38 WEB-INF
drwxr-xr-x 2 root root 4096 2010-12-14 19:38 META-INF
-rw-r--r-- 1 root root 771 2010-12-14 19:38 loggertest.jsp
drwxrwxrwx 2 root root 4096 2010-12-14 19:38 streams_x
lrwxrwxrwx 1 root root 28 2011-02-25 19:00 streams -> /opt/kaltura/content/webcam/

/opt/kaltura/bin# ls -lrt
total 3820
drwxrwxr-x 2 root root 4096 2011-02-25 10:25 run
drwxrwxr-x 3 root root 4096 2011-02-25 10:25 mencoder-dir
drwxrwxr-x 3 root root 4096 2011-02-25 10:25 ffmpeg-aux-dir
-rwxrwxr-x 1 root root 10840 2011-02-25 10:25 qt-faststart
-rwxrwxr-x 1 root root 3880168 2011-02-25 10:25 mediainfo
drwxrwxr-x 3 root root 4096 2011-02-25 10:25 ffmpeg-dir
lrwxrwxrwx 1 root root 36 2011-02-25 10:25 mencoder -> /opt/kaltura/bin/run/run-mencoder.sh
lrwxrwxrwx 1 root root 38 2011-02-25 10:25 ffmpeg-aux -> /opt/kaltura/bin/run/run-ffmpeg-aux.sh
lrwxrwxrwx 1 root root 21 2011-02-25 19:38 ffmpeg -> /usr/local/bin/ffmpeg

mysql entry

mysql> select * from entry where id='0_jg3mr8g4';
+------------+------------+----------+-----------+------+------------+------------+-----------+-------+-------+----------+-----------+------------+------+------+-----------+--------+--------+-----------+-------------+--------------+--------+-----------------+---------------------+---------------------+------------+-------------------+---------+-------------+------------------------------------------------+-------------+----------+-------------+----------+-------+--------------+---------+-----------------------+-------------+------------+------------+-------------------+------------------+---------------------+-----------+-------------------+-----------------------+------------+----------------+----------------------------------+-------------------+------------+----------+---------------------+
| id | kshow_id | kuser_id | name | type | media_type | data | thumbnail | views | votes | comments | favorites | total_rank | rank | tags | anonymous | status | source | source_id | source_link | license_type | credit | length_in_msecs | created_at | updated_at | partner_id | display_in_search | subp_id | custom_data | search_text | screen_name | site_url | permissions | group_id | plays | partner_data | int_id | indexed_custom_data_1 | description | media_date | admin_tags | moderation_status | moderation_count | modified_at | puser_id | access_control_id | conversion_profile_id | categories | categories_ids | search_text_discrete | flavor_params_ids | start_date | end_date | available_from |
+------------+------------+----------+-----------+------+------------+------------+-----------+-------+-------+----------+-----------+------------+------+------+-----------+--------+--------+-----------+-------------+--------------+--------+-----------------+---------------------+---------------------+------------+-------------------+---------+-------------+------------------------------------------------+-------------+----------+-------------+----------+-------+--------------+---------+-----------------------+-------------+------------+------------+-------------------+------------------+---------------------+-----------+-------------------+-----------------------+------------+----------------+----------------------------------+-------------------+------------+----------+---------------------+
| 0_jg3mr8g4 | 0_gwauorxi | 102 | vidyagod2 | 1 | 1 | 100000.flv | NULL | 0 | 0 | 0 | 0 | 0 | 0 | sjj | NULL | 2 | 2 | NULL | NULL | -1 | NULL | 5613 | 2011-02-25 19:03:13 | 2011-02-25 19:03:13 | 100 | 2 | 10000 | NULL | _KAL_NET_ _100_ _MEDIA_TYPE_1| vidyagod2 sjj | NULL | NULL | NULL | NULL | 0 | NULL | 4267747 | NULL | NULL | NULL | NULL | 6 | 0 | 2011-02-25 19:03:13 | __ADMIN__ | 2 | 2 | fish | 1 | _CAT_1 _DURATION_short _FLAVOR_0 | 0 | NULL | NULL | 2011-02-25 19:03:13 |
+------------+------------+----------+-----------+------+------------+------------+-----------+-------+-------+----------+-----------+------------+------+------+-----------+--------+--------+-----------+-------------+--------------+--------+-----------------+---------------------+---------------------+------------+-------------------+---------+-------------+------------------------------------------------+-------------+----------+-------------+----------+-------+--------------+---------+-----------------------+-------------+------------+------------+-------------------+------------------+---------------------+-----------+-------------------+-----------------------+------------+----------------+----------------------------------+-------------------+------------+----------+---------------------+

/opt/kaltura/package/web/content/uiconf/kaltura/samplekit/kcw_2.6.4# vi kcw_samplekit.xml

rtmp://vidyakal.com/oflaDemo

Please help me on what the issue is and anyway to se debug logs.I have not able to see any specific errors

AttachmentSize
testdata.png38.67 KB