Log in

View Full Version : Brightcove Issues

May 15th, 2009, 09:58 AM
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 (http://admin.brightcove.com/viewer/federated_f8.swf?videoId=23292494001&playerId=626910340&viewerSecureGatewayURL=https://console.brightcove.com/services/amfgateway&servicesURL=http://services.brightcove.com/services&cdnURL=http://admin.brightcove.com&domain=embed&autoStart=true)

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

Thanks in advance

May 15th, 2009, 06:03 PM
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

flash://yourdomain.com/src=http%3A%2F%2Fadmin.brightcove.com%2Fviewer%2Ff ederated_f8.swf%3FvideoId%3D23292494001%26playerId %3D626910340%26viewerSecureGatewayURL%3Dhttps%3A%2 %2Fconsole.brightcove.com%2Fservices%2Famfgateway% 26servicesURL%3Dhttp%3A%2F%2Fservices.brightcove.c om%2Fservices%26cdnURL%3Dhttp%3A%2%2Fadmin.brightc ove.com%26domain%3Dembed%26autoStart%3Dtrue&width= 480&height=360&ourl=http%3A%2F%2Fjoost.com%2F13600 fs

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.

June 20th, 2009, 11:34 AM
@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...

June 20th, 2009, 12:09 PM
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):


<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%2Ff ederated_f8.swf%3FcdnURL%3Dhttp%3A%2F%2Fadmin.brig htcove.com%26autoStart%3Dtrue%26continuousPlay%3Df alse%26playerId%3D824514779%26videoRef%3D647%26sen dReports%3Dfalse&width%3D998&height%3D550&bx-jsactions%3Dhttp%3A%2F%2Fdir.unboxeed.com%2Fapps%2 Fweather%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>

Feel free to adapt it however you want. Here's a copy of my player.js for the weather app:


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.


December 22nd, 2010, 04:38 PM
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...