rdar://problem/21153927 Some of the layout tests test that a video with no audio track should have no volume control. Right now our volume control starts off visible. It should only become visible was audio tracks have been found. This must have regressed at some point seeing as we have a test for it. Maybe a line of code that was accidentally removed.
Created attachment 253891 [details] patch
(In reply to comment #0) > rdar://problem/21153927 > > Some of the layout tests test that a video with no audio track should have > no volume control. > Right now our volume control starts off visible. > It should only become visible was audio tracks have been found. > > This must have regressed at some point seeing as we have a test for it. > Maybe a line of code that was accidentally removed. Correction: we do do this above correctly, it's actually that if the video has an error and doesn't load we used to only show the buttons to the left of the timeline (rewind and play). This decision seems arbitrary though so I'm not actually sure this fix matters at all...