When generating an item in the list of related videos, the relatedList code in player.xql looked for
$relatedTitle := $related//tei:title
which I changed to
$relatedTitle := $related//tei:titleStmt/tei:title
so that only the title in the titleStmt would be returned and not all the title elements (e.g. of books, productions etc.) in the utterances