Social forum

Cannot Seem to Play Flash Videos

 
Picture of Jason Burrows
Cannot Seem to Play Flash Videos
by Jason Burrows - Thursday, 20 August 2009, 4:09 PM
 
I have the module installed and it looks fine, I can add slides no problem at all. However, I cannot seem to get it to play FLV files. I am not sure if this is an issue with Flash 10 or the mod. Anyone run into this?

Thanks,

Jason
Picture of Tim Williams
Re: Cannot Seem to Play Flash Videos
by Tim Williams - Thursday, 20 August 2009, 4:48 PM
 
Flash 10 should work fine, I'm using it constantly myself.

Do you get any error messages that would be of use ?
Picture of Jason Burrows
Re: Cannot Seem to Play Flash Videos
by Jason Burrows - Thursday, 20 August 2009, 5:19 PM
 
Unfortunately I get no errors at all. I just get the black box with the controls that acts like it is trying to load. The bar at the bottom is moving. But nothing ever plays/loads. Slides load fine. Not sure what is going on here. I can get wmv etc. to play without issues. I have tried several different FLV's with the same result. Bit frustrating. Thanks for any input you may have.

Edit:

I am not sure if this is by design or not but the URl path changes http to /ttp and removes the .flv from my file. Is is suppose to do this? I have tried manuall editing the config file but it changes back the instant you refresh the page.


Picture of Tim Williams
Re: Cannot Seem to Play Flash Videos
by Tim Williams - Thursday, 20 August 2009, 6:28 PM
 
Are you using an FLV located within Moodle or trying to link to an external FLV file ? An FLV hosted within Moodle shouldn't have http:// at the start of the URL, the path stored is relative to the config file. If the file is external and you can post the URL here, i'll give it a test and see if I can work out what is happening.

Depending on the URL, the flowplayer flash video player doesn't accept the URL 'as a whole' it has to be split up, though this happens on-the-fly at the point the plugin tag is generated and shouldn't change what's in the config file.

There is some code which will re-write a flash URL and remove the .flv when the video source is first added if you have a flash server integrated with AutoView. However, we haven't released anything that works with this yet (though we have it working internally), so unless you've tried to configure a third party flash system (i'm not aware of one) to work with AutoView in the Module setup pages this code shouldn't be active. Even if the code is active, you should be getting a popup choice box when you first add a video source asking if you want to use the flash server to improve video performance.

If you want to re-write the underlying config file, make sure the editing mode is switched off, otherwise the changes will be overwritten. If editing mode is off, then the changes can't be overwritten.
Picture of Jason Burrows
Re: Cannot Seem to Play Flash Videos
by Jason Burrows - Thursday, 20 August 2009, 7:10 PM
 
My files are internal to the Moodle site I am working on. I have tried using relative/absolute URL's. it doesn't appear to work either way.

i.e. my current URL looks like this: /aserSafety/lsafety

my file is: LaserSafety/lsafety.flv

The types etc. all look good. I don't have an integrated flash server. I am just using a standard Moodle 1.9.5 setup with a few mods/blocks. I am not sure why this isn't working.

Thanks for the help
Picture of Jason Burrows
Re: Cannot Seem to Play Flash Videos
by Jason Burrows - Thursday, 20 August 2009, 8:22 PM
 
Tim,
After turning Editing off, and manually editing my config.avx to reflect the video as LaserSafety/lsaftey.flv it works. Not sure why it truncates it to :
/aserSafety/lsafety but that appears to have been the problem. There somehow I can make it not do that?


Picture of Jason Burrows
Re: Cannot Seem to Play Flash Videos
by Jason Burrows - Friday, 21 August 2009, 7:10 PM
 
Tim,
Is there a way to setup the slides so that users cannot click to advance them? I could really use a feature like that. I have video working nicely after editing the file manually.

Jason
Picture of Tim Williams
Re: Cannot Seem to Play Flash Videos
by Tim Williams - Monday, 24 August 2009, 10:31 AM
 
You can hide the slide controls from the options page, but that doesn't stop people changing the video time with the flow player slider which would have the same effect. Not sure how you would go about hiding this, it's not something i've tried to do before. If the flowplayer API dosn't allow for it you would probably need to re-write it.
Picture of Tim Williams
Re: Cannot Seem to Play Flash Videos
by Tim Williams - Wednesday, 26 August 2009, 10:47 AM
 
Just had a try with a similarly named file on my test system and I can't replicate the problem.

Which AutoView release are you using ?
Picture of Jason Burrows
Re: Cannot Seem to Play Flash Videos
by Jason Burrows - Wednesday, 26 August 2009, 2:56 PM
 
The file name is autoview-2009040101.zip. I believe its the one that is the stable on your site that moodle mods redirects to. On our system it seems to cut the first letter of the directory off but only on video. I can work around it.
Picture of Tim Williams
Re: Cannot Seem to Play Flash Videos
by Tim Williams - Wednesday, 26 August 2009, 5:55 PM
 
OK, i've been meaning to push out a new release for a while now, so you should now find a new version available for download. Give it a go and see if the problem persists.