Hi Don,
I'm glad the fix works for you.
I just wanted to clear a few things with the way this widget works so that there is some clarity to the issue and the fix implemented.
Youtube API's used to handle this widget has a clear restriction on maintaining a 4:3 aspect ratio for the SWF that loads the videos. As the video player maintains a 4:3 ratio a 16:9 video automatically gets skewed to fit in that window causing it to load with black borders. This restriction is only for SWF objects and does not apply to the HTML5 version of the widget.
You can ask:
I have resized the widget onstage to a 16:9 ratio. Shouldn't this take care of the size and load video's with the aspect ratio that i have set on stage?
Ans: Well, there are 2 points that are importatnt here:
- For the SWF ouput you are merely stretching the widget when you resize it on stage. You are not changing the aspect ratio of the widget. It still maintains a 4:3 ratio.
- The HTML5 Version will take the resize as the aspect ratio that you intended. Which is why it works the way it does.
The fix implemented is made only for SWF as the HTML5 output sorts itself out if you maintain a 16:9 ratio while sizing your widget on stage.
Hope this helps.
Thanks and regards,
Marcellus