Commit d420513e by Matt Mascarenhas

cinera_player_pre.js: Allow DOCTYPE html

parent e77d2086
......@@ -109,11 +109,6 @@ directory. Typical operation will involve setting these flags:
Feel free to play with templates to your heart's content. If you do anything
invalid, _Cinera_ will tell you what's wrong.
Note: There is currently an issue sizing the annotation marker container if your
HTML document contains `<!DOCTYPE html>`. To work around this for now, please do
not declare a DOCTYPE and instead let the page be displayed in [quirks
mode](https://www.w3.org/International/articles/serving-xhtml/#quirks).
#### Arguments
Usage: ./cinera [option(s)] filename(s)
......
......@@ -16,7 +16,7 @@ typedef struct
version CINERA_APP_VERSION = {
.Major = 0,
.Minor = 5,
.Patch = 47
.Patch = 48
};
// TODO(matt): Copy in the DB 3 stuff from cinera_working.c
......
......@@ -115,7 +115,7 @@ Player.prototype.jumpToPrevMarker = function() {
Player.prototype.updateSize = function() {
var width = this.videoContainer.offsetWidth;
var height = width / 16 * 9;
this.markersContainer.style.height = height;
this.markersContainer.style.height = height + "px";
if (this.youtubePlayerReady) {
this.youtubePlayer.setSize(Math.floor(width), Math.floor(height));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment