We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0f56fbe + 2a49774 commit 52289e8Copy full SHA for 52289e8
1 file changed
video-tagging.html
@@ -178,7 +178,7 @@
178
self.optionalTags.createTagControls(self.inputtagsarray);
179
//Take the raw video aspect ratio
180
self.aspect = self.video.offsetWidth / self.video.offsetHeight;
181
- self.snapToAspectRatio();
+ // self.snapToAspectRatio();
182
//Init sliders
183
self.volumeSlider.value = 0.5;
184
self.seekBar.max = self.video.duration;
@@ -189,7 +189,7 @@
189
//fix resize bug
190
$(window).resize( function(){
191
if (self.video.offsetWidth !== undefined){
192
193
//get transform ratio
194
var transformWidth = self.video.offsetWidth/self.overlay.width;
195
var transformHeight = self.video.offsetHeight/self.overlay.height;
0 commit comments