Skip to content

Commit

Permalink
added suppport for doReplay command
Browse files Browse the repository at this point in the history
  • Loading branch information
ranyefet committed Dec 6, 2012
1 parent b00ff38 commit e1d4d9f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/KalturaSupport/resources/mw.KDPMapping.js
Expand Up @@ -911,6 +911,10 @@
case 'doStop':
embedPlayer.stop();
break;
case 'doReplay':
embedPlayer.stop();
embedPlayer.play();
break;
case 'doSeek':
// Kaltura doSeek is in seconds rather than percentage:
var percent = parseFloat( notificationData ) / embedPlayer.getDuration();
Expand Down

3 comments on commit e1d4d9f

@mdale
Copy link

@mdale mdale commented on e1d4d9f Dec 6, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a good test file we could add this to?

@ranyefet
Copy link
Contributor Author

@ranyefet ranyefet commented on e1d4d9f Dec 7, 2012 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mdale
Copy link

@mdale mdale commented on e1d4d9f Dec 8, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok .. having it somewhere is good.. would be nice to clean up or rewrite that api file so that we could include it in the player-feature hub.

Please sign in to comment.