Only .ogg is currently listed as file extension for ogg theora files in video/includes/common.inc. However, the current standard is that ogg video files should have the extension .ogv, while audio files should have .oga. This produces a "File format not supported" error when uploading .ogv files.

CommentFileSizeAuthor
#5 video-natuk.patch4.6 KBnatuk

Comments

translector’s picture

subscribing...

glen201’s picture

Just add:

    case 'ogg':
    case 'ogv':

After the first line above in the file includes/common.inc. This change will be incorporated in the next release.

natuk’s picture

Hm, this did not quite do it for me I still get the:

"Only web-standard videos are supported through the video widget. If needing to upload other types of files, change the widget to use a standard file upload."

when trying to configure the CCK video field.

lupa18’s picture

Version: 6.x-2.x-dev » 6.x-3.4

here the same problem

natuk’s picture

StatusFileSize
new4.6 KB

I have managed to get over the problem of ogv not being accepted - its existence is checked in a couple of more places as well:

1. uploadfield.module
2. uploadfield_widget.inc

see attached patch for specific references.

Having done that however the videos would still not play. It seems that the cortado.jar cannot be found. What I have done about this is not a solution but I wanted to check if it works. In common.inc I removed the use of the java plugin altogether and replaced it with the video tag. I am using Firefox 3.5 which supports ogv out of the box: https://developer.mozilla.org/En/Using_audio_and_video_in_Firefox

And it seems to be working without a problem. Quite nice controls as well. I am not sure it works with IE or other browsers, though. But if the player issue is sorted then ogv should now be accepted.

Bèrto ëd Sèra’s picture

Still having problems with video upload on this front, I hacked the extension list manually to add .ogv and it works fine.

iLLin’s picture

Status: Active » Postponed

Adding this extension to 4.x-dev. Postponed till 4.x is out.

iLLin’s picture

Status: Postponed » Fixed

Fixed in 4.x-dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

asb’s picture

Version: 6.x-3.4 » 6.x-4.0-rc6
Status: Closed (fixed) » Active

Still experiencing this problem in 6.x-4.1-rc6. Error message:

The selected file C:\fakepath\480p.ogv cannot be uploaded. Only files with the following extensions are allowed: mp4, mpeg, avi, mpg, wmv, flv, mov.

Re-opening.

hypertext200’s picture

Version: 6.x-4.0-rc6 » 6.x-4.x-dev
Status: Active » Closed (fixed)