A group of YouTube video-makers is suing it and parent company Google, claiming both discriminate against LGBT-themed videos and their creators.
The group claims YouTube restricts advertising on LGBT videos and limits their reach and discoverability.
But YouTube said sexual orientation and gender identity played no role in deciding whether videos could earn ad revenue or appear in search results.
A group is hoping a jury will hear its case in California.