removed duplicate css

This commit is contained in:
Andreas Preikschat 2013-07-05 20:35:27 +02:00
parent a18129995e
commit 6bba69bf88

View File

@ -59,22 +59,8 @@ ADDITIONAL_EXT = {
u'video/x-wmv': [u'.wmv'],
u'video/x-mpg': [u'.mpg'],
u'video/mpeg': [u'.mp4', u'.mts', u'.mov'],
u'video/x-ms-wmv': [u'.wmv']}
VIDEO_CSS = u"""
#videobackboard {
z-index:3;
background-color: %(bgcolor)s;
u'video/x-ms-wmv': [u'.wmv']
}
#video1 {
background-color: %(bgcolor)s;
z-index:4;
}
#video2 {
background-color: %(bgcolor)s;
z-index:4;
}
"""
class PhononPlayer(MediaPlayer):
@ -268,8 +254,7 @@ class PhononPlayer(MediaPlayer):
"""
Add css style sheets to htmlbuilder
"""
background = QtGui.QColor(Settings().value(u'players/background color')).name()
return VIDEO_CSS % {u'bgcolor': background}
return u''
def get_info(self):
"""