Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-26-2012, 12:14 AM   PM User | #1
Faimos
New Coder

 
Join Date: Jan 2012
Location: Seattle, WA
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Faimos is an unknown quantity at this point
VideoJS: audio but no video

So I have been converting videos to mp4 and it is working fine (I can download the file and play it in wmp without a hitch) but when I try to use the html5 video tag by itself or with video js (videojs.com) enabled, the video only plays audio. It doesn't play any video.

What could I possibly be doing wrong?

Video: http://www.xonicgames.com/user/uploads/videos/6360.mp4
JS: http://xonicgames.com/video/?i=6

Thanks
Faimos is offline   Reply With Quote
Old 01-26-2012, 07:05 AM   PM User | #2
devnull69
Senior Coder

 
Join Date: Dec 2010
Posts: 2,245
Thanks: 10
Thanked 530 Times in 524 Posts
devnull69 will become famous soon enough
Not all of the browsers support all of the video/audio codecs ... it depends on the browser and its version and has been subject to rapid changes. For example, last time I checked Firefox did not support the H.264 in MP4 container.

So throughout the internet it is recommended to serve the video in different codec formats and let the browser decide which one to choose.
devnull69 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 08:29 AM.


Advertisement
Log in to turn off these ads.