Posts Tagged ‘clippping’

YouTube JavaScript Iframe API, fixing random black borders

Recently I was checking out the YouTube API docs, specifically the public iframe JavaScript API. Sometimes the generic iframe embed codes aren’t enough and hence we have lovely API’s that developers can go to town on. While I was experimenting with the YouTube API I came across an interesting visual issue that kept occurring when defining width and height sizes. Random black borders, was this letter-boxing or something else?
(more…)