roVideoScreen msg.isPlaybackPosition() not working anymore

msg.isPlaybackPosition() does not seem to be a valid event name for roVideoScreen anymore.

My index value is being populated as it was before but the following call returns an empty msg name as seen below.

print "roVideoScreen | msg = "; msg.getMessage() " | index = "; msg.GetIndex()

roVideoScreen | msg = | index = 75
roVideoScreen | msg = | index = 80

My code saves this value to the registry for Resume functionality

else if msg.isPlaybackPosition()
reg.Write(“position”, strI(msg.GetIndex()))
reg.Flush()

Are you saying the code after “else if msg.isPlaybackPosition()” never gets executed, or just that the msg.getMessage() returns an empty string for the playback position event? I haven’t seen a problem with the isPlaybackPosition() function, but I don’t bother printing out the getMessage() string.

-JT

msg.getMessage() returns an empty string therefore else if msg.isPlaybackPosition() never gets called.

The index value does however contain the user position int.

Well I added your print after my “if type(msg) = “roVideoScreenEvent”” and sure enough msg.getMessage() returns an empty string, but the msg.isPlaybackPostion() still works properly. Maybe the problem is in your reg. functions? Did you try to add a print after the “if msg.isPlaybackPostion()” statement?

-JT

isPlaybackPosition() continues to work properly in the current release. We have many channels that use this mechanism to successfully implement “resume” functionality.

–Kevin

Hi,

I’m using code based on the simplevideoplayer example and I"m not getting any isplaybackposition events. The only difference is I’m feeding in mp4’s from Ooyala in an array of various framerates.

Anyone else seen this?

  • Joel

“jbrave” wrote:
I’m using code based on the simplevideoplayer example and I"m not getting any isplaybackposition events. The only difference is I’m feeding in mp4’s from Ooyala in an array of various framerates.

Are you calling SetPositionNotificationPeriod() on your video screen when you set it up? I notice the simplevideoplayer sample does not have that call, which would cause the isPlaybackPosition() event to never be raised.