Fix Bug 1037584 - Changes from #890556 breaks player unit test

https://bugzilla.mozilla.org/show_bug.cgi?id=103758