HTML5 Mp4 Video With Firefox Resizing Video May 06, 2023 Post a Comment I'm using html5 video for a site and have both mp4 and ogg formats supported. The height of the video is set to 350px via CSS. Code here: Solution 1: Wrap the embedding in a div and set height and with to the div .instead of setting height and with to the embedding <Div width="700" height="350"> <embed src="assets/videos/vid.mp4" mode="null" autoplay="true" loop="true" pluginspage="http://go.divx.com/plugin/download/" type="video/divx"></embed> </Div> Copy or just try this <Div width="700" height="350"> <video autoplay loop> <source src="assets/videos/vid.ogv" type="video/ogg"> <source src="assets/videos/vid.mp4" type="video/mp4"> Your browser does not support the video tag. Copy Share Post a Comment for "HTML5 Mp4 Video With Firefox Resizing Video"
Post a Comment for "HTML5 Mp4 Video With Firefox Resizing Video"