[generic] Run TED detection before JW Player detection

Otherwise it overwrittes the `mobj` variable.