Testing the video.module.

A video file has been already uploaded.

uploaded video informations:
file name: MSFT_5942_55286.flv
file path: content/videos/MSFT_5942_55286.flv
file size: 3.24 MB
file mime: application/octet-stream

If I use ws_ftp and go to the content/videos/ sub directory the file MSFT_5942_55286.flv isn't there. Selecting the Play option from the node in the "moderation queue" I get "Video type not supported".

File Attachments:
http://www.mysite.com/system/files/videos/MSFT_5942_55286.flv

There is no "/system/files/videos/" sub directory.


The uploaded file will be used as video file for this node.
NOTE: The max upload size is 10 MB.

Drupal 4.74, Apache 1.3. php 4, Freebsd 6.0

Any ideas?

Thanks

Comments

gonefishing’s picture

Filename of Flash loader:
FlowPlayer.swf
The name of the Shockwave file that manages loading the FLV movie.

I have uploaded "FlowPlayer.swf" to the main drupal directory and the "content" sub directory.

fax8’s picture

Try to use direct downloads instead of using Drupal download subsystem.

Fabio

gonefishing’s picture

Fabio, I think you ment upload and yes I have tried that but, still get the same error " Video type not supported ". The video.module was unistalled, deleted and then uploaded again. Reinstalling solved the upload problem but, it still won't play the video ( Video type not supported ).

Testing Flowplayer.

If I add the following to the body of the node I can get the video to play:

<object type="application/x-shockwave-flash" data="FlowPlayer.swf" width="500" height="400" id="FlowPlayer">
	<param name="allowScriptAccess" value="sameDomain" />
	<param name="movie" value="FlowPlayer.swf" />
	<param name="quality" value="high" />
	<param name="scale" value="noScale" />
	<param name="wmode" value="transparent" />
	<param name="flashvars" value="config={ loop: false, initialScale: 'scale', playList: [{ url: 'content/videos/MSFT5942.flv', controlEnabled: true }, { url: 'content/videos/MSFT5942.flv', controlEnabled: false, linkUrl: 'http://www.mysite.com/content/videos/MSFT5942.flv' }] }" />
</object> 

admin/settings/video_upload:
Check this if your users must only submit videos through uploading. This disables path insertion.

If I check the above the module can't find and/or play the flash file. When the path to the file is manually entered the "video" plays.

I hope this helps someone in the future.

Helge’s picture

I`ve nearly the same prob.
But with .mpg, .wmv and .avi-files.
UploadLimit is enough and i can download the file, but not playing.

I can`t enter any paths for the file :o(

atrus’s picture

I've got the same problem as Helge. Video Type Not Supported on .avi-files and .mpg-files.
I have tested manually uploading the file via FTP, and then linking to the file instead of uploading via video.module. But it doesnt work I'm afraid.

atrus’s picture

The reason for why "Video type not supported" came for me was because it was a .mpg file. I assumed, which one shall never do, that the video.module supported that file extension. Which it doesnt. I converted the movie to .mov and now it works.
Hopefully someone can figure out a way to add .mpg-files in the future.
Sorry once again for stirring up some dust.

fax8’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)