Commit 253e2735 authored by Laura Kalbag's avatar Laura Kalbag

Comment out JS that makes return from fullscreen return to weird size, not responsive size

parent 1e8215c4
......@@ -138,11 +138,11 @@ function InitPxVideo(options) {
obj.movie.setAttribute('height', '100%');
} else {
obj.fullScreenBtn.checked = false;
// revert back to default styles
obj.container.setAttribute("style", "width:" + obj.movieWidth + "px");
// revert back to default styles
// obj.container.setAttribute("style", "width:" + obj.movieWidth + "px");
obj.controls.className = "px-video-controls";
obj.captionsContainer.className = "px-video-captions";
obj.movie.setAttribute('width', obj.movieWidth);
obj.movie.setAttribute('width', obj.movieWidth);
obj.movie.setAttribute('height', obj.movieHeight);
}
}
......
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