HTML5 & video? - Post ID 132042

User 603315 Photo


Registered User
938 posts

Good morning everyone,
I've been playing around a little with HTML5 and video. I just can't get it to work on any browser (main browser being Chrome).
The code for a test I've done is this "<video width="320" height="240" controls="controls">
<source src="Lake.mp4" type="video/mp4" /></video>" (without quotes). Can anyone tell me why this wouldn't work?
Thanks for any replies.
NB
User 103173 Photo


VP of Software Development
0 posts

From what I have read on that tag, there is a lot more to do then just putting a link to the video source. You also need to have player controls as well.

http://camendesign.com/code/video_for_everybody has quite a bit of information on the subject with a full walk-through.

I took the information from there and created my own video and it works. It seems to only work in Chrome and Safari right now, so I need to look into that.

http://hotsync.net/video.html
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 603315 Photo


Registered User
938 posts

Thanx for that Scott, I'll take a look at all that when I have 10 mins. Cool video you put up there :P
NB

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.