Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Web Design

Reply
 
LinkBack Thread Tools Display Modes
Old 01-27-2012, 11:09 AM   #1
New Member
 
Join Date: Jan 2012
Posts: 22
Default HTML5 video problem

Hello guys.

As you adviced me I am working on learning HTML5. Everything went pretty well until I started to work with 'video'.
I use the latest chrome. I also tried to update the codec, but everything was already up to date.

The problem has to be in the src?

<video src="video/SAMPLE_01.mp4" controls></video>

When I execute in Chrome all I get to see is a black screen, and the controls.
I downloaded a sample video from a download site, its a sample of the movie Sherlock Holmes. I downloaded an MP4 because thats what the author of the tuturial used.
Skyn2 is offline   Reply With Quote


Old 01-27-2012, 11:25 AM   #2
New Member
 
Join Date: Jan 2012
Posts: 22
Default

Fixed it.
Not sure if I fixed it tho.

I just deletes the video/ part. and now I have the video online.

In the tutorial he did use the directory. Did I fix my problem? Or did I just put a band-aid on it while its still bleeding?
Skyn2 is offline   Reply With Quote
Old 01-27-2012, 02:34 PM   #3
New Member
 
Join Date: Jan 2012
Posts: 22
Default

Hmm

now I have the same issue with "poster"

<video src="sample.mp4" poster="images.jpg" controls ></video>

I tried it with the directory, without the directory, checked it if it was a jpg, which it is?
does it only work with PNG?
Skyn2 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 12:03 PM.


Camera Forum - Computer Forum - Web Design Forum

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.