iPhone and JavaScript Events

9 replies [Last post]
Joined: 08/30/2012
Points: 12

I need to track the "Play" event for different videos. I implemented the following JS function:

function jsCallbackReady(objectId)
{
window.kdp = document.getElementById(objectId);
window.kdp.addJsListener("playerPlayed", "trackNowWhilePlaying");
}

function trackNowWhilePlaying() {
// post data via ajax ...
}

Video embedding with object-Tag:

<object id="kaltura_player_xxx"
      name="kaltura_player_xxx"
      type="application/x-shockwave-flash"
      wmode="transparent"
      allowFullScreen="true"
      allowNetworking="all"
      allowScriptAccess="always" ....
<param name="externalInterfaceDisabled" value="false" /> ...

Problem:
The function "jsCallbackReady" is called in all major Browser (IE, FF, Opera, Safaria ...) but if I open the video on an iPhone, the function will not be called. Why?

Maybe I need some extra configuration?

Thanks for reply.

Joined: 02/22/2009
Points: 76

does your page include the html5 library?
http://html5video.org/wiki/Kaltura_HTML5_Configuration#HTML5_Library_Ver...

if you include that, it should fire on iOS ... if not please pass along a demo page where you see the issue, and I can take a look.

Joined: 08/30/2012
Points: 12

Thank you for your reply.

The HTML5 Library File is included in the page. But my client is hosting the whole server platform themselves. It is possible to check, if the provided JS HTML5 code is valid? Maybe the provided JS Code is not compatible with a HTML5 platform.

Thanks.

Joined: 02/22/2009
Points: 76

yea we will need a url to check out.. you can private message me .. or send it to my email ... michael.dale( the shift 2 key )kaltura.com

Joined: 12/19/2013
Points: 65

A reliable blog always comes-up with new and exciting information and while reading I have experience that this blog is really have all those quality that qualify a blog to be a good one
guest post

Joined: 12/19/2013
Points: 65

i also need this information.michale dale you solved my problem . i found kaltura one off the best community.kredito.info

Joined: 12/25/2013
Points: 66

A good point Ralph, but I believe people are going to have a hard time defending prejudice when the possibility of answering certain kinds of questions with much greater precision increases. eon contact

Joined: 02/13/2014
Points: 3

JavaScript has also done well in the server room, now that we Node.js (basically server-side JavaScript) defending his ability to handle the procedures for implementing event-based server, for all the benefits. Apple Certification

Joined: 02/21/2014
Points: 30

Wonderful site. A lot of helpful information here. I'm sending it to several pals ans also sharing in delicious. And of course, thank you to your effort! http://www.youtube.com/watch?v=SnMgW61ncM8

Joined: 02/21/2014
Points: 30

I think the way you write feels like having so much passion and you have put it in a way that everyone can understand. Must appreciate the great posts you have written here http://bboxing.tumblr.com/