forked from openlp/openlp
added css to remove white space arround background video
adjusted spacing, added escapes to double quotes and moved the > on the body tag to its proper place!
This commit is contained in:
parent
70de6d8e9c
commit
fda7412f75
@ -43,16 +43,24 @@ HTMLIMAGE = """<html>
|
||||
|
||||
#http://www.steveheffernan.com/html5-video-player/demo-video-player.html
|
||||
HTMLVIDEO = u"""<html>
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
<head>
|
||||
<style>
|
||||
*{
|
||||
margin: 0;
|
||||
padding:0
|
||||
}
|
||||
</style>
|
||||
<script type=\"text/javascript\" charset=\"utf-8\">
|
||||
var video;
|
||||
var bodyLoaded = function(){
|
||||
video = document.getElementById("video");
|
||||
video = document.getElementById(\"video\");
|
||||
video.volume = 0;
|
||||
}
|
||||
</script>
|
||||
<body id=\"body\" onload=\"bodyLoaded();>\"
|
||||
<body id=\"body\" onload=\"bodyLoaded();\">
|
||||
<video id=\"video\" src=\"%s\"
|
||||
autoplay loop width=%s height=%s autobuffer=\"autobuffer\" preload >
|
||||
autoplay loop width=\"%s\" height=\"%s\"
|
||||
autobuffer=\"autobuffer\" preload >
|
||||
your browser does not support the video tag
|
||||
</video>
|
||||
</body></html>
|
||||
|
Loading…
Reference in New Issue
Block a user