Please visit our new Forums at Kaltura.org, our brand new community website. These Forums have been closed and will remain online as an archive only.

Embedded Video Player Not Visible in HTML

get support for any Kaltura related subject including sourceforge.net Kaltura project pages.

Embedded Video Player Not Visible in HTML

Postby smallhands on Tue May 05, 2009 4:56 pm

Howdy,

Working through the basic set of newbie issues... got media ingestion working. I can see the video through other players using the Kaltura issued video ID. So, I know I've got that right. The partner ID should be correct.

But, using an HTML page on our site:

http://media.becausefoundation.org/kalt ... ltura.html
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  <head>
    <title>Kaltura Test Page</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <script type="text/javascript" src="swfobject.js"></script>
  </head>
  <body>
<h1>Kaltura Test Page</h1>
<div id="kplayer"></div>
<script type="text/javascript">
   var params = {
      allowscriptaccess: "always",
      allownetworking: "all",
      allowfullscreen: "true",
      wmode: "opaque"
   };
   
   var flashVars = {
      entryId: "16ypwkiz2a"
   };
   
   swfobject.embedSWF("http://www.kaltura.com/kwidget/wid/_{26954}", "kplayer", "400", "360", "9.0.0", false, flashVars, params);
</script>
<p>This is a test page for the Kaltura Video Player</p>
  </body>
</html>

I get no visible player.

I can see that the replacement of the div content is happening. If you put content inside the div it will not appear. So, it would appear that the call embedSWF is happening.

I tried both local swfobject and google hosted swfobject. Note, the current HTML shows a local reference to swfobject.

I also tried various browsers just to make sure this wasn't some browser joy.

Thanks,

Smallhands
smallhands
 
Posts: 5
Joined: Tue May 05, 2009 3:17 am

Re: Embedded Video Player Not Visible in HTML

Postby smallhands on Wed May 06, 2009 3:53 am

Howdy,

Still no movement on getting the player to work from our site. But, I do see that when I control click on where the player should be the pop-up menu indicates the movie is not loaded. No indication of the error though....

Is it possible that the player is not loading do to a security / sandbox issue because the player is coming from a different domain than the website?

I have managed to get both Flash and QuickTime interactive projects working on many a web server, but sure would be easier to isolate if I could find an error!

Thanks for any and all pointers....

Smallhands
smallhands
 
Posts: 5
Joined: Tue May 05, 2009 3:17 am

Re: Embedded Video Player Not Visible in HTML

Postby Kalturian on Wed May 06, 2009 8:13 am

Hi Smallhands,

you're doing a great job, the only thing you missed out is to remove the parentheses from the url;
Code: Select all
"http://www.kaltura.com/kwidget/wid/_{26954}"

should be
Code: Select all
"http://www.kaltura.com/kwidget/wid/_26954"
Kalturian
Site Admin
 
Posts: 85
Joined: Sun Jul 06, 2008 11:13 am


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron