Posted by reswild on July 2, 2009 at 4:26pm
| Project: | Video |
| Version: | 6.x-4.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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.
Comments
#1
subscribing...
#2
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.
#3
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.
#4
here the same problem
#5
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
videotag. I am using Firefox 3.5 which supports ogv out of the box: https://developer.mozilla.org/En/Using_audio_and_video_in_FirefoxAnd 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.
#6
Still having problems with video upload on this front, I hacked the extension list manually to add .ogv and it works fine.
#7
Adding this extension to 4.x-dev. Postponed till 4.x is out.
#8
Fixed in 4.x-dev.
#9
Automatically closed -- issue fixed for 2 weeks with no activity.
#10
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.
#11