forked from openlp/openlp
removed duplicate css
This commit is contained in:
parent
a18129995e
commit
6bba69bf88
@ -59,22 +59,8 @@ ADDITIONAL_EXT = {
|
|||||||
u'video/x-wmv': [u'.wmv'],
|
u'video/x-wmv': [u'.wmv'],
|
||||||
u'video/x-mpg': [u'.mpg'],
|
u'video/x-mpg': [u'.mpg'],
|
||||||
u'video/mpeg': [u'.mp4', u'.mts', u'.mov'],
|
u'video/mpeg': [u'.mp4', u'.mts', u'.mov'],
|
||||||
u'video/x-ms-wmv': [u'.wmv']}
|
u'video/x-ms-wmv': [u'.wmv']
|
||||||
|
|
||||||
VIDEO_CSS = u"""
|
|
||||||
#videobackboard {
|
|
||||||
z-index:3;
|
|
||||||
background-color: %(bgcolor)s;
|
|
||||||
}
|
}
|
||||||
#video1 {
|
|
||||||
background-color: %(bgcolor)s;
|
|
||||||
z-index:4;
|
|
||||||
}
|
|
||||||
#video2 {
|
|
||||||
background-color: %(bgcolor)s;
|
|
||||||
z-index:4;
|
|
||||||
}
|
|
||||||
"""
|
|
||||||
|
|
||||||
|
|
||||||
class PhononPlayer(MediaPlayer):
|
class PhononPlayer(MediaPlayer):
|
||||||
@ -268,8 +254,7 @@ class PhononPlayer(MediaPlayer):
|
|||||||
"""
|
"""
|
||||||
Add css style sheets to htmlbuilder
|
Add css style sheets to htmlbuilder
|
||||||
"""
|
"""
|
||||||
background = QtGui.QColor(Settings().value(u'players/background color')).name()
|
return u''
|
||||||
return VIDEO_CSS % {u'bgcolor': background}
|
|
||||||
|
|
||||||
def get_info(self):
|
def get_info(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user