boxee :: forums  

Go Back   boxee :: forums > boxee developers > boxee applications

Reply
 
Thread Tools Display Modes
  #1  
Old May 15th, 2009, 09:58 AM
atomic22 atomic22 is offline
Junior Member
 
Join Date: Apr 2009
Posts: 11
Default Brightcove Issues

So I'm still working on my app. And I've gotten to the point where I know the url for the video's within the brightcove viewer. I can get the video to play in firefox and I know where to get the video id's.
The problem is when I try and run it through Boxee it won't load. It starts to load, but it won't complete. I'm assuming Bc is doing some sort of check to see if it's an actual browser, but somewhere I'm missing the connection.
I think this must be similar to the way Hulu is operating.
Does anyone have any suggestions on what may be happening?

Here is a working (in firefox) brightcove link:

Working BC link

But I can't get it to work in Boxee.

Thanks in advance
Reply With Quote
  #2  
Old May 15th, 2009, 06:03 PM
ameno ameno is offline
Senior Member
 
Join Date: Jan 2009
Location: Los Angeles, CA
Posts: 111
Default

Brightcove has a very well-conceived system for delivering media, and it is very secure. Unless you are willing to decompile their swf and dig through the actionscript to reverse engineer their security (doable if you have the skill), you will not be able to get the controls to work in Boxee. You can however get it to play. And then you can use the cropping to crop the controls out of the frame.

in your <media:content> tag, your src should look like

Code:
flash://yourdomain.com/src=http%3A%2F%2Fadmin.brightcove.com%2Fviewer%2Ffederated_f8.swf%3FvideoId%3D23292494001%26playerId%3D626910340%26viewerSecureGatewayURL%3Dhttps%3A%2%2Fconsole.brightcove.com%2Fservices%2Famfgateway%26servicesURL%3Dhttp%3A%2F%2Fservices.brightcove.com%2Fservices%26cdnURL%3Dhttp%3A%2%2Fadmin.brightcove.com%26domain%3Dembed%26autoStart%3Dtrue&width=480&height=360&ourl=http%3A%2F%2Fjoost.com%2F13600fs
I haven't tried it but I see no reason why that shouldn't play. your browser isn't playing the flash swf anyway, your flash player is.
Reply With Quote
  #3  
Old June 20th, 2009, 11:34 AM
riegersn's Avatar
riegersn riegersn is offline
team boxee
 
Join Date: Sep 2008
Location: Marlton NJ
Posts: 370
Send a message via AIM to riegersn
Default

@atomic22 not sure if you are still having this issue but i noticed the flash autoplays, you should try pointing the player to the actual http:// link the video is contained on, boxee should be able to find the video and crop it out.

let me know what you come up with and if you have any questions...
__________________

shawn rieger
boxee ny
r&d / api

twitter @boxee_api @shawnrieger
links +dev wiki +xbmc skin ref
faq ?debug logs ?formats
Reply With Quote
  #4  
Old June 20th, 2009, 12:09 PM
DPK DPK is offline
Super Moderator
 
Join Date: Feb 2009
Posts: 1,606
Default

Quote:
Originally Posted by ameno View Post
you will not be able to get the controls to work in Boxee. You can however get it to play.
Not true if you use a player.js file. I've managed to use it to fullscreen the brightcove player within boxee and track the progress of the media so I know when to kill the video window to return to the main app window.

Brightcove links are hairy and will go ballistic sometimes if they don't have exactly what they need. Sometimes the video will load in boxee but in black and white, other times it won't load at all. If you want to avoid some trials, just take a look at the weather feed I generate for media in The Weather Channel app (New York City for this example):

http://dir.unboxeed.com/apps/weather...hp?ac=USNY0996

Code:
<item>
  <title>Video:  New York Local Forecast</title>
  <description>Video provided courtesy of The Weather Channel (http://www.weather.com).</description>
  <media:content url="flash://www.weather.com/src=http%3A%2F%2Fadmin.brightcove.com%2Fviewer%2Ffederated_f8.swf%3FcdnURL%3Dhttp%3A%2F%2Fadmin.brightcove.com%26autoStart%3Dtrue%26continuousPlay%3Dfalse%26playerId%3D824514779%26videoRef%3D647%26sendReports%3Dfalse&width%3D998&height%3D550&bx-jsactions%3Dhttp%3A%2F%2Fdir.unboxeed.com%2Fapps%2Fweather%2Fplayer.js" type="application/x-shockwave-flash"/>
  <media:thumbnail url="http://i.imwx.com/web/multimedia/images/tv/newwxcenter_214.jpg"/>
  <media:credit name="author">The Weather Channel</media:credit>
</item>
Feel free to adapt it however you want. Here's a copy of my player.js for the weather app:

http://dir.unboxeed.com/apps/weather/player.js

GetTWCLocation() is not utilized right now for anything. I was using it to track the progress bar, but boxee wasn't being that forgiving about it so I axed it until I have more time to deal with some timing issues. This player.js will basically maximize the video window as soon as the maximize icon is available for the brightcove player and then will kill the player window when the video ends. This will only work however if you don't have your videos set to replay/loop/queue continuously. There'd have to be some slight modifications otherwise.

DO NOT link to my copy of player.js within your own app urls. I will not be responsible for changes in my app's player.js affecting other peoples applications. Put a copy on your own server. I monitor my server logs regularly so won't hesitate to blacklist bandwidth leechers.

__________________
Common issues w/ Boxee:
Beta Important Info | FAQ & Support Requests | Hulu Mature Content | Search

UnBoxeed app development:
Comics.com | ESPN360 | Weather

For more info, follow app development on Twitter!

Last edited by DPK; June 20th, 2009 at 12:28 PM.
Reply With Quote
  #5  
Old December 22nd, 2010, 04:38 PM
tdhz77 tdhz77 is offline
Member
 
Join Date: Nov 2008
Location: Missouri
Posts: 60
Default

your jsplayer.js is offline. Was wondering if anybody had a copy? Bright cove is giving your so many problems that I can't seem to iron out. I'm in a paradox, or limbo if you will...
__________________
How to stream Live TV to Boxee with Eye TV
http://forum.boxee.tv/showthread.php?p=14919#post14919
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 08:02 AM.


skin based on greenzero from vBSkins.com

 
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2011, vBulletin Solutions, Inc.