Jump to content

I'm writing custom CSS, can you help me add a specific part?


Recommended Posts

Posted

HI, are you aware that if you hide those, then users will not be able to select an audio or subtitle track prior to playback.

Posted
35 minutes ago, Luke said:

HI, are you aware that if you hide those, then users will not be able to select an audio or subtitle track prior to playback.

I don't mind, can you tell me how to make it work?

 

them8os235
Posted
div.selectContainer.selectVideoContainer.trackSelectionFieldContainer {
  display: none;
}
div.selectContainer.selectAudioContainer.trackSelectionFieldContainer {
  display: none;
}

This worked for me on the video home screen.  But, I have no idea if this will blank-out the elements in other places, too.  But give it a try and see.

Posted
4 hours ago, them8os235 said:
div.selectContainer.selectVideoContainer.trackSelectionFieldContainer {
  display: none;
}
div.selectContainer.selectAudioContainer.trackSelectionFieldContainer {
  display: none;
}

This worked for me on the video home screen.  But, I have no idea if this will blank-out the elements in other places, too.  But give it a try and see.

It works great, thank you, do you know how to add elements as well?

them8os235
Posted (edited)

I dont think so...  But, I  haven't looked into that.  If I find differently I'll let you know. 

One thing you need to keep in mind is if you upgrade the Emby Server you'll loose manual mods made to things like html templates or Javascript or other.  So if you go that way you need to turn off automatic updates.

Edited by them8os235
them8os235
Posted

I looked into it. I can't help with that.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...