If I find a defect on our website, I first look for other similar defects and then create a test that runs regularly to catch future occurrences. I recently noticed a video thumbnail was not the correct aspect ratio: it was 4:3 instead of 16:9, like the middle one in this list of three:
So here I write a script to find any video thumbnails on our website that are the wrong aspect ratio. Features covered in this code-along style video include:
Follow me (@stuartmcgarrity) if you want to be notified via Twitter when I post.
Play the video in full screen mode for a better viewing experience.
要发表评论，请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。