Here's what's new in Brightcove Knowledge:
- Free online training classes available next week -- go to the Training Class Schedule to sign up:
- Brightcove Essentials (Tuesday and Thursday)
New Support Document: Delivering Live Video with DVR
New Video Tutorial on Video Analytics
Tip of the week: Do you have video of mixed sizes and aspect ratios? Using the Brightcove Player API, you can dynamically resize your video player to match the size of the rendition when a new video is loaded into the player. You just need to get the frameHeight and frameWidth properties of the current rendition, which you can obtain using the getCurrentRendition() method of the video player module. Then you can either reset the height and width of the player to match exactly, or adjust one or the other to match the aspect ratio and avoid letterboxing. Remember that if the player uses the VideoPlayer component rather than ChromelessVideoPlayer, the height will include 45 pixels for the media controls. You can see a sample page where I hold the width of the player constant and adjust the height to match the aspect ratio of the current video (view source to see the code).