Viewing HTML 5 video

HTML 5 video



User: eugenejazzy 12 years ago
HTML 5 video is working fine in EW but when a user clicks to start the video the video shrinks (width by approx 10 px) is this a bug or is it normal for it to change size?

code:
<video controls style="height:480px;width:900px" preload="none" poster="{!-ASSETSPATH-!}Images/Screen%20Shot%202013-09-26%20at%205.38.59%20PM.png">
<source src="{!-ASSETSPATH-!}External%20Files/soundattraction.mp4" type="video/mp4">
<source src="{!-ASSETSPATH-!}External%20Files/soundattraction.webm" type="video/webm">
<source src="{!-ASSETSPATH-!}External%20Files/soundattraction.ogv" type="video/ogg">
Your browser doesn't support HTML5 video.
<!-- You can embed a Flash player here, to play your mp4 video in older browsers such as IE V6,7,8 -->
</video>

Site Page:

http://eugenelambweb.com/easyweb/html5/video-.html

BTW: Thank you Roddy for your help in HTML 5 Video tag implementation.......
User: Roddy 12 years ago
Make sure the poster image is the same size as the video.

Also you should tidy up the image file name. At the moment it is - Screen Shot 2013-09-26 at 5.38.59 PM.png. Change it to something like - soundattraction.png

All file names should be lower case and have no spaces or special characters - that applies to any file inserted into your website like image, audio, video, pdf, html...

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: eugenejazzy 12 years ago
Thank you very much, will do!


Post Reply
You must login or signup to post.