Flash animations converted to HTML5 do not fit in div

0

I converted a series of flash animations to HTML5, but after the conversion the animations (now in html5) are not set inside the DIV.

Before the conversion it was like this:

<video src="caminho/animacao.swf" autoplay controls ></video>

After the conversion I -intuitively- changed to:

<object class="myObject" type="text/html" data="caminho/animacao.html"></object>

where:

.myObject {
              height:450px;
              width:650px;
        }

I'm sure the problem is my inexperience with css and html, as I have more back-end experience

edit: html5 animation

    
asked by anonymous 08.12.2017 / 12:13

0 answers