Closed michapixel closed 10 years ago
the video seems to be ignored while resizing, in my setup. i have: CSS
html, body { height:100%; margin:0; padding:0; background:#000; overflow:hidden; }
JS
var p = projekktor('video', { ignoreAttributes:true, //* width:$(window).width(), height:$(window ).height(), // controls:true, autoplay:false, volume: 0.7, /* path to the MP4 Flash-player fallback component */ playerFlashMP4:'http://mydomain.com/projekktor/jarisplayer.swf' }); //* $( window ).resize(function() { var w = $(window ).width(); var h = $(window ).height(); p.setSize( { width: w, height: h } ); });
the gui is resized correctly, but the video is not.
i should have mentioned, resizing works before a video is played, but once started, the video itself refuses to adapt to new screensizes ...
the video seems to be ignored while resizing, in my setup. i have: CSS
JS
the gui is resized correctly, but the video is not.