cinera_player_pre.js: Allow DOCTYPE html
This commit is contained in:
parent
e77d208645
commit
d420513e20
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue