|
-
Jul 17th, 2012, 12:58 AM
#1
Thread Starter
Hyperactive Member
-
Jul 17th, 2012, 04:34 AM
#2
Re: <video> in html5
Try replacing video with object and see if that makes a difference.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Jul 17th, 2012, 05:35 AM
#3
Re: <video> in html5
Only MP4, WebM and Ogg are supported formats! See this: http://www.w3schools.com/html5/html5_video.asp (scroll down to "Video Formats and Browser Support")
But in your code, you are trying to play an FLV (flash movie), and you have specified the type as mp4. Insert the link to the mp4 movie there, instead of myvideo.flv.
For example:
HTML Code:
<!DOCTYPE html>
<html>
<body>
<video width="480" height="410" controls="controls">
<source src="http://video-js.zencoder.com/oceans-clip.mp4" type="video/mp4" />
</video>
</body>
</html>
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Jul 17th, 2012, 10:30 AM
#4
Thread Starter
Hyperactive Member
Re: <video> in html5
thankyou both 
I tried this code but video isn't displaying using any browser. 
 Originally Posted by akhileshbc
For example:
HTML Code:
<!DOCTYPE html>
<html>
<body>
<video width="480" height="410" controls="controls">
<source src="http://video-js.zencoder.com/oceans-clip.mp4" type="video/mp4" />
</video>
</body>
</html>

-
Jul 17th, 2012, 10:48 AM
#5
Re: <video> in html5
 Originally Posted by Aash
thankyou both
I tried this code but video isn't displaying using any browser. 
Try it in Google Chrome. In my PC, I have the latest Chrome(20.0.1132.57 m).
If you want to play the same video in Firefox(4+) or Opera(10.6+), you have to include the WebM or Ogg format video as separate <source>.
You could see the browsers supporting the specific video format in the link that I have shown you(w3schools).
So, it would be like this:
Code:
<!DOCTYPE html>
<html>
<body>
<video width="480" height="410" controls="controls">
<source src="http://video-js.zencoder.com/oceans-clip.mp4" type="video/mp4" />
<source src="http://video-js.zencoder.com/oceans-clip.ogg" type="video/ogg" />
</video>
</body>
</html>
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Jul 18th, 2012, 09:45 AM
#6
Thread Starter
Hyperactive Member
Re: <video> in html5
thanks
-
Jul 26th, 2012, 07:27 PM
#7
Re: [RESOLVED] <video> in html5
There's a great tutorial on using the <video> tag in HTML5 over at HTML5 Rocks. It also has some info on using video+js, video+css, video+canvas, and video+svg.
-
Jul 26th, 2012, 10:25 PM
#8
Re: [RESOLVED] <video> in html5
 Originally Posted by tr333
There's a great tutorial on using the <video> tag in HTML5 over at HTML5 Rocks. It also has some info on using video+js, video+css, video+canvas, and video+svg.
That's cool
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|