Error when only using mp4 video?

Permalink Browser Info Environment
When I try to load a video I keep getting the following error...

"You must select a Ogg/theora file with a .ogv extension."

Do I have to have the video in both formats for this block to work? If so, why.

Type: Discussion
Status: New
vGibson
View Replies: View Best Answer
12345j replied on at Permalink Best Answer Reply
12345j
you do need to have both kinds or else the compatibility will be only half the modern browsers, but not for the block to work. You can input the same mp4 file in the ogv box(it doesn't check for extension) or do some code switching.
delete
<source src="<?php  echo $relPathOgv;?>" type='video/ogg; codecs="theora, vorbis"'>
from view.php and
if ($args['fOgvID'] < 1) {
            $e->add(t('You must select a Ogg/theora file with a .ogv extension.'));
         }
from controller.php
vGibson replied on at Permalink Reply
vGibson
Ok, I kinda thought it might be a compatibility thing so I went hunting for a converter...

If anyone else runs into this and needs a quick FREE way to convert a video to OGV Theora format check out ffmpeg2theora ->http://v2v.cc/~j/ffmpeg2theora/...
WebStudioEast replied on at Permalink Reply
WebStudioEast
Thanks for the link!
vGibson replied on at Permalink Reply
vGibson
I've ran into another issue it seems... The videos I uploaded do not seem to want to play at all. I've tried IE9 and FF4 both up-to-date... All I get is a "X" in the middle of the playback window...

Any suggestions?
12345j replied on at Permalink Reply
12345j
url?
vGibson replied on at Permalink Reply
vGibson
Sent the url via PM
12345j replied on at Permalink Reply
12345j
have you seen/tried these?
http://stackoverflow.com/questions/4369193/firefox-and-html5-video-...
http://stackoverflow.com/questions/1903779/html5-video-and-degradat...
http://forums.mozillazine.org/viewtopic.php?f=25&t=1865295...
I'd guess that the ogv element isn't being served correctly by the server, which is causing all browsers that use it to fail.
WebStudioEast replied on at Permalink Reply
WebStudioEast
Just change the file extension from "ogv" to "ogg".
obaluba replied on at Permalink Reply
obaluba
Hi all

sorry to dig up an old thread.

Just installed the HTML5 video player and created an OGG and MP4 files. works fine on all browsers except Firefox where I only get sound?

I've added this to my htaccess:

AddType video/mp4 mp4 m4v
AddType audio/mp4 m4a
AddType video/ogg ogv
AddType audio/ogg ogg oga
AddType video/webm webm

but still hasnt sorted it.. any ideas on how to fix this or if anyones ran into it before?

thanks for looking
12345j replied on at Permalink Reply
12345j
it should be .ogv.
obaluba replied on at Permalink Reply
obaluba
thanks for your reply,

I changed the extension in windows explorer to file.ogv

removed the block and re added my mp4 / ogv file

it still works in all browsers but firefox.

Do i need to encode it as an OGV or will renaming suffice?

thanks

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.