Boxee

Unable to disable player controls in playlist/mc.player callbacks

Details

  • Severity:
    Major
  • Version:
    1.1.1.19092
  • Operating System:
    Boxee Box
  • Number of attachments:
    0

Description

Following up on my forum post:
http://forums.boxee.tv/showthread.php?t=35155&highlight=disable+controls

In the API docs there does appear to be a way to disable controls, but not enough to where an ad can't be skipped/stopped/fastforwarded through.

The 2nd issue(maybe this should be seperate) is getting info from the player as to when it finished playing a video, so in a playlist situation, I could disable controls for the first video, re-enable for the 2nd.


---Forum Post---

I am attempting to integrate video from an ad network to play before our content video, and have run into a few issues. The app in question is a python/skin app.

1. Is it possible to disable FF/RW?. I don't see these in the documentation(http://developer.boxee.tv/Player_Class#LockPlayerAction), but I do see other apps playing pre-roll ads(Crackle for example) that you can't FF through.

2. What would be the best way to accomplish playing these two videos sequentially(the ad, and then our content), while disabling all controls in only the first video. I also have to be able to know when the ad finishing playing so I can do a callback at that point. I was going to throw them together in a playlist, but wasn't sure how to do the callback once the ad was done playing.

Any help or pointers would be appreciated.

Activity

Hide
Rob Spectre [Boxee] added a comment -
This is best accomplished through the JS API - http://developer.boxee.tv/JavaScript_API

Most folks doing this switch between Cursor and Player mode when ad playback is going. Best to add a callback to switch the modes when your video player is switching between the two.
Show
Rob Spectre [Boxee] added a comment - This is best accomplished through the JS API - http://developer.boxee.tv/JavaScript_API Most folks doing this switch between Cursor and Player mode when ad playback is going. Best to add a callback to switch the modes when your video player is switching between the two.
Hide
Josh Burnham added a comment -
So no way to do this in a python app? I'm willing to rewrite if thats what it takes,but it would be nice to be able to use the code I've already written.
Show
Josh Burnham added a comment - So no way to do this in a python app? I'm willing to rewrite if thats what it takes,but it would be nice to be able to use the code I've already written.
Hide
Rob Spectre [Boxee] added a comment -
Neg - the handoff between the Python API and the Player is an oblique one. The app largely cedes control entirely when the player is invoked, leaving the JS interface as the only real method to do this.
Show
Rob Spectre [Boxee] added a comment - Neg - the handoff between the Python API and the Player is an oblique one. The app largely cedes control entirely when the player is invoked, leaving the JS interface as the only real method to do this.
Hide
Shawn Rieger [Boxee] added a comment -
Should have been resolved with Rob's last comment. The only was to do this is with the JS API.
Show
Shawn Rieger [Boxee] added a comment - Should have been resolved with Rob's last comment. The only was to do this is with the JS API.
Hide
Rafael Mizrahi [Boxee] added a comment -
This appears to be fixed in version 1.2.1.20369
If this same issue happens again, please open a new issue.
Show
Rafael Mizrahi [Boxee] added a comment - This appears to be fixed in version 1.2.1.20369 If this same issue happens again, please open a new issue.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: