HTML5 Video not autoplaying -
mime type accepted, i've checked.
here how looking like: https://trello-attachments.s3.amazonaws.com/5441bde46b6fcb86daf55d73/594x351/122b8cad9f5824c44fa25fb242569312/upload_5_14_2015_at_5_10_18_pm.png
here website in question (go animation in menu): www.ivocunha.com
here code i'm using:
<video width="100%" height="100%" controls autoplay loop class="bl-box fancybox-effects-d" title="walk"> <source src="img/animation/walk.mp4" type="video/mp4"> browser not support video tag. </video> why doesn't autoplay?
firstly using section tags wrap video in should not use sections content not have heading. not wrapper.
as video remove auto play because auto playing looks of using auto play within video tag triggers auto play page entry , playing @ same time.
you want use jquery , create on hover play video , pause on exit. code doesnt seem doing @ on site instead trigering points.
i give read on can see how use api properly.
https://developer.mozilla.org/en-us/docs/web/guide/html/using_html5_audio_and_video
Comments
Post a Comment